Keep shooting character from bouncing

From GMpedia.org Wiki

Jump to: navigation, search

[edit] The question

I have a top down shooter game, and when the guy shoots in some directions, he moves backwards a bit, about 25 pixels, which really ruins the effect, how do I fix that?

[edit] The answer

The problem is most likely in the shooting sprites. Chances are, the sprites for shooting are slightly different sizes, but their origins are all at (0,0) or something similar.

Go into the sprite editor, for the 2 shooting sprites that are causing the issue, and adjust there origin. (remember the origins can be negative as well if needed)

Oh yeah, when you do publically release a demo, when setting the screen's resolution you should also check 'fullscreen', so the rest of the desktop isn't shown. Graphics look really good by the way ^_~


Image:GNU.png

Permission is granted to copy, distribute and/or modify this document under the terms of the Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

Personal tools