• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Sik_the_hedgehog

Amusing glitch gallery

43 posts in this topic

Though this doesn't beat some bug I caused some time ago while rewriting some climbing enemy, basically I forgot a check and the enemy would literally hump the wall, suitable animation and all o_O I'm not sure I'm allowed to show that here without getting banned though XD

Assuming the enemy is clothed, or some kind of animal clothed by its fur/scales/whatever, I don't think anyone would have a problem with that. wink.png  But when in doubt, you can link to an image instead of pasting it right into the thread and mark the link "possibly NSFW" or otherwise explain why people may not want to click it.

Edited by sunandshadow
0

Share this post


Link to post
Share on other sites

*recreates bug*

 

You all have been warned (NSFW?). Sorry for framerate, I wasn't going to pull off a 60FPS animated GIF. Amusing how the background loop is near perfect (should have waited a few more frames I guess?)

 

Also what the— it seems to have gotten worse since the last time o_O

that's totally safe for work mate...also, very funny.

0

Share this post


Link to post
Share on other sites

I'm a little late, but here's my first 2D animation program:

YbaVUVS.jpg

 

This is the intended result:

 

1Ci0WuY.png

 

If you look at the time (7:44 AM on glitch, 7:40 AM on working), I actually glitched it up after I was finished with it (must've been the pink background, holding everything together like a bro)

Edited by makuto
1

Share this post


Link to post
Share on other sites

I'm a little late, but here's my first 2D animation program:

YbaVUVS.jpg

 

This is the intended result:

 

1Ci0WuY.png

 

If you look at the time (7:44 AM on glitch, 7:40 AM on working), I actually glitched it up after I was finished with it (must've been the pink background, holding everything together like a bro)

i have serious questions on how you achieved such a glitch=-).

0

Share this post


Link to post
Share on other sites

Taking a quick guess, the sprite was moving around without the background being erased properly.

Another guess, considering the origin of the sprite, is that time travel was somehow involved. ohmy.png

2

Share this post


Link to post
Share on other sites

LOL, time travel was definitely involved! Let's see if I can clone the repo at that time and see what was wrong...

 

UPDATE: I couldn't get the code at that period in time, but it was probably unrelated to not erasing the screen due to the way I always start projects. I'm pretty sure all of it was drawn every frame!

 

I tried to reproduce it editing only the settings, but I believe it may have been a bug in the code when I made the settings configurable from file. Here's the original spritesheet if you want to see it. I don't think it's possible to draw this without redrawing the image at least twice per frame, so the screen might not have been updating (although that wouldn't make too much sense because every time I update the window I clear it; it's impossible to not to with my API).

 

If you really want to know, check out the repo  (tester working and animation working code; use history in top right to see older code; the bug happened April 10 at 7:44 AM) and figure it out yourself :)

Edited by makuto
0

Share this post


Link to post
Share on other sites

Taking a quick guess, the sprite was moving around without the background being erased properly.

if that were true, the entire screen would be smeared, unless he teleported to random positions, rather than smoothly scrolling around, that's unlikely the reason.

0

Share this post


Link to post
Share on other sites

Just using scaling as-is would be better and safer =P

 

And yeah, I had the rotation bug once (with integers, which only made it worse), although granted I was just testing if rotation worked at all instead of actually implementing animation (since I always tend to get rotation wrong in the first try). Basically I had a spaceship and rotated it a bit every frame. Except it ended up shrinking horizontally while spinning until it vanished XD Could make for a cool teleport effect I guess!

 

(and no, I don't have that project anymore, so no screenshots ._.)

0

Share this post


Link to post
Share on other sites

My last glitch i had in game i recently made was with the scrolling credits.

 

I put the text position in integers and the math used to update it was in float. So when the delta was calculated it was less then 1. It just sat in the same place until the frame rate dropped enough. (never)

 

Changing the position to float made it silky smooth.

0

Share this post


Link to post
Share on other sites

This one was really cute. Our scene's have a very wide range between the near and far planes, so by

10% from the near plane the default depth buffer under dx9 was burning 99% of the floating point resolution.

 

Had to switch to a linear depth buffer in the vertex shader. First pass I was going clip/w -> clip depth without

transforming back.

 

The Z Fighting stopped, but it totally confused the perspective texturing.

 

It was bad enough that the lines weren't straight, but even worse--the texture moved around inside the meshes as they

moved around the screen!

0

Share this post


Link to post
Share on other sites

What a simple math error can do to your rendering engine ...

Math_Error.jpg

 

.

.

The problem code

xlist.add( (cordX - p.getPlayerX() ) * tile_size );
ylist.add( (cordY - p.getPlayerY() ) * tile_size);

.

.

How is should have been

xlist.add( ((cordX - p.getPlayerX() ) + offsetX ) * tile_size  );
ylist.add( ((cordY - p.getPlayerY() ) + offsetY ) * tile_size );
1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0