My Game Keeps Glitching
Koda89
Member Posts: 275
I'm using the Tap Tap Runner template to make a ninja game and in addition to the jump button, I added a button to throw shurikens. However, every now and then the button doesn't work and the ninja doesn't shoot any shurikens. In addition to that, I changed to jump animation to a flipping jump like the 2D Ninja Gaiden and Metroid games, however, every now and then the animation freezes mid jump, so instead of landing on his feet, the ninja lands on his back or head, for example.
Anyone have any ideas?
Anyone have any ideas?
Comments
I'm not gonna publish the game until I get these glitches figured out....
It'll be easier to figure out if we know how your thing works. xD
(Side Note: I don't have that template so...)
1. Jump Animation.
a. Ensure the [Animation] is not set to loop.
b. Check the [Restore Actor Attribute].
c. Ensure the FPS fit in with the timing of the jump.
2. Shoot Weapon.
a. Create a NEW actor to follow the Characters X,Y positions
b. Create a Boolean attribute to see if SHOOT button is pressed.
c. Have the NEW Actor spawn the shoot object when flag set to TRUE.
d. Try not to overload the rules within the main Character Actor -
ie jumping, animation, shooting, spawning etc...
I've created a revised [GS TapTap Runner V2] Template, which includes the above to demonstrate (Space to Jump, Return to Shoot) - also smoothed out the platforms appearing and disappearing.
[GS TapTap Runner V2]
http://gamesalad.com/game/play/64951
If you're feeling less violent, i've upload a basic music product template (for a change of pace) [GS Instant Trax] - you don't have to worry about Ninjas or getting killed... :-)
[GS Instant Trax]
http://gamesalad.com/game/play/64885
Wayne
And the spin jump still glitches now and then. But, it is getting there.