Page 1 of 1

Draw Actor Stops working?

PostPosted: Tue Jul 19, 2005 3:59 pm
by Steveman321
I'm working on a game, and I'm trying to add gravity to my enemy. The enemy is on a path going back and forth. I have one path for forward and one path for backwards. Between paths the enemy changes animations to change direction. For the gravity, I put an event, that on draw actor, yvelocity = yvelocity - 3. But when I try it in game mode, the enemy will fall while it's going on the path forward, the first time, :? but after that the gravity seems to stop. I would give you the game file, but I only have the demo version, sorry.

PostPosted: Tue Jul 19, 2005 5:11 pm
by makslane
No problem. Send me the ged and data files and I will see what's happen.

PostPosted: Tue Jul 19, 2005 8:59 pm
by makslane
Nice game!

The problem is Change Path in monster->Path Finish.
You are changing the path in both axis, so the yvelocity don't will work.
Change the path only in the x axis (like in the Create Actor event).