Game Development Community

What I am doing wrong

by Raul Martinez · in Game Design and Creative Issues · 10/05/2011 (10:44 am) · 3 replies

Hello

I am developing a side scroller and when I modify the code it doesnt seem to work, I have tried reloading the project but it still does the same as I hadnt modifed the code, for example when my main character hits something an animation is triggered I have changed the animation but it still shows the "old one", what should I do, Im getting frustrated, I use the C# 2008 to write the code outside the TGB editor

Thanks in advance

#1
10/06/2011 (11:12 am)
So are you calling playAnimation to start the new one when the character gets hit? it could be something before the code or it could be that you didn't name the animation exactly how it is in the editor

Thats the first thing I would check.
#2
10/06/2011 (4:47 pm)
I agree with Masaki, I'd try using some echos to find out what exactly is going on with your script. Would probably make troubleshooting it much easier.
#3
10/07/2011 (9:43 am)
Usually and hopefully its something small like that.