Page 1 of 1

Errors...

PostPosted: Thu Jul 21, 2005 3:49 pm
by Chapolin
I detect somewath like a bug when I press KEY_LEFT and KEY_RIGHT or KEY_RIGHT and KEY_LEFT in order and fast (typicaly use in any game). In my platform game (like Ninja Gaiden, for NES 8bits...), when I do this, the animation of the actor don't change to correct direction! And he walks in "stop_left" or "stop_right" movement, like an skatist, and the animation turned to the contrary direction!!! :shock: I try to kill this error with some modifications on the scripts, but no success... But I discover this error occour in "KeyUp event>ChangeAnimation". When I remove this, the error don't ocour (but the character continue walking, and, of course, don't stop...). This error occour with the tutorials of platform too. How to correct this?

PostPosted: Thu Jul 21, 2005 5:54 pm
by ingsan
Hello,
Easy. Put conditions.

See VERY VERY similar post of mine :oops:

8)

PostPosted: Thu Jul 21, 2005 6:18 pm
by Chapolin
Ok! I will try. Thanks! :)

PostPosted: Thu Jul 21, 2005 6:32 pm
by ingsan
When starting platform games, these stuffs are essential !
Glad I could help you :)

By the way, I LOVE YOUR Beetle Man :wink:

PostPosted: Tue Jul 26, 2005 2:06 pm
by Chapolin
Hi! ...Heh heh! Sorry for the delay. Well, this is a Mexican Super Hero very popular in my country (Note: I'm brazilian, ok?! :wink:), from 80's. His name is Chapolin Colorado, and he is a locust (!). He uses a big yellow+red bionic hammer to fight the evil! Sometimes, he uses "nanicolina's" pills to reduces your size (for a short time) and infiltrate enemy's hiding-places. This is a TV serie for twenty years in my country, and now is on the point of finish (NOOOOOO!!!...)... But a big movement of fans is going to make a petition to the channel SBT, to mantain the serie... And I wait the serie continues! :D

Oh, well... YES! This is a Game Editor Forum! Ok, sorry, Makslane, people! :oops: ...

Ok, I have tested conditions and still not work... A simply demo is all I need... :(

If I'm not abuse of your patience, can you put here a example of script for the actor jump to the same direction (with an "jump_left" or "jump_right" animation, depending of the side the actor is turn on the platform)? The "if (getLast Key);{something happens}" scripts are difficult for me actually without the knowledge of the correct syntax. If exist any demo more complex in this forum, forgive me, and where is it? I do not desire anybody make my home's lesson, just need a little more detailed demo to study and contribute with a new demo much more detailed.

Thanks!

PostPosted: Tue Jul 26, 2005 9:19 pm
by Chapolin
Duh!:shock: ...Sorry, I whant to say: if "I" study a demo, I will contribute with a new demo much more detailed. :oops: ...English is dificult to aprentice for me...

But I still waiting for a demo, if somebody either to show me! I'm able to show my game too, if necessary (maybe is better to correct my game).