Draw Actor Stops working?

Non-platform specific questions.

Draw Actor Stops working?

Postby Steveman321 » Tue Jul 19, 2005 3:59 pm

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.
Steveman321
 
Posts: 5
Joined: Mon Jul 18, 2005 4:20 pm
Score: 0 Give a positive score

Postby makslane » Tue Jul 19, 2005 5:11 pm

No problem. Send me the ged and data files and I will see what's happen.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby makslane » Tue Jul 19, 2005 8:59 pm

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).
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron