turn back. - Help - Game Design - Forums
Tuesday, 2009-11-24, 11:15 Am
MainRegistrationLogin Welcome Guest | RSS

[New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum moderator: RomsMaster 
Forums » Game Design » Help » turn back. (how?)
turn back.
RomsMasterDate: Sunday, 2009-03-01, 11:11 Pm | Message # 1
Oderint Dum Metuant
Group: Moderators
Messages: 562
Reputation: 10
Status: Offline
How do you make an A.I. turn back after it reaches the edge of a platform.
example:

I'm starting a new games since all my old gm files got erased.

Edit: C'mon you guys! I need this. You need to be more active around here!



 
billyroDate: Monday, 2009-03-02, 11:14 Am | Message # 2
Game Maker
Group: Moderators
Messages: 248
Reputation: 8
Status: Offline
Ok, use image_xscale

Create an object that you put at the edge of the platform where you want enemies to turn around and then make a collision for the enemy with it to reverse the direction.




 
RomsMasterDate: Tuesday, 2009-03-03, 4:58 Am | Message # 3
Oderint Dum Metuant
Group: Moderators
Messages: 562
Reputation: 10
Status: Offline
This was the first thing I tried. It didn't work for some reason. Can you make an example maybe I did it wrong.


 
billyroDate: Tuesday, 2009-03-03, 10:44 Am | Message # 4
Game Maker
Group: Moderators
Messages: 248
Reputation: 8
Status: Offline
There you go!
Attachments: imagexscaleexam.gmk(19Kb)




 
RomsMasterDate: Thursday, 2009-03-05, 3:32 Am | Message # 5
Oderint Dum Metuant
Group: Moderators
Messages: 562
Reputation: 10
Status: Offline
Thanks Buddy!


 
Forums » Game Design » Help » turn back. (how?)
Page 1 of 11
Search:

Copyright MyCorp © 2009
Site managed by uCoz system