Hey, everybody!
I'm working on making my character jump. I'm doing okay, studying the demo and all. But my character, when I start to jump, just keeps right on going up like a rocket. I sort of see what I'm doing wrong, and I have no doubt I'll get it. But seeing how the demo does it (and some of the things I've been doing) has prompted a few questions.
1) Am I correct on this: all the events are tied to the actor, not what particular animation the actor is showing at that moment. For example, I don't have to re-enter a "left key means walk left" for when the character is standing still facing left, standing still facing right, and walking right, correct? Just once gets the job done?
2) I tried to make the character jump by drawing a path and making it follow that. But when I hit the jump key, the actor was stuck in an endless loop. Is there a way to either control the actor so that, once the path is finished, it stops? Or should I extend the path a little lower than the platform and just code it so, when the actor collides with the platform, its movement stops?
3) Can an actor be repositioned back where they were after they complete the path?
4) From the looks of the demo, the key to controlling jumps with scripting involves using "Draw Actor". Forgive me for asking, but how is "Draw Actor" different from "Change Animation"?
I think that's all that's been running through my mind today. Any ideas?
Sincerely,
Pete Holland Jr.