Page 1 of 1
Moving Platforms Without Paths?
Posted:
Mon Oct 08, 2012 1:41 am
by happyjustbecause
Hello gE community, as a follow up to my last question about levers/buttons that activate things like elevator, I want to know how I should do something like a moving platform without the use of paths. I was trying to do it in a good way, but it seems I was just getting sloppy using timers and such. I just want a moving platform that moves up and down without paths. How can I do this in an efficient way?
Re: Moving Platforms Without Paths?
Posted:
Mon Oct 08, 2012 5:38 am
by skydereign
Moving without paths is just normal movement. You have x/y and xvelocity/yvelocity. For a platform that moves up, when activated set its yvelocity to some negative value and create a timer. When the timer triggers, reverse the yvelocity and create the timer again. Similar thing for any other direction or movement. You mentioned you tried something like this and having trouble, but it should work.
Re: Moving Platforms Without Paths?
Posted:
Mon Oct 08, 2012 8:43 pm
by happyjustbecause
Huh, last time I tried to use timers I failed, but this time I did it without difficulty. I guess that's all I have to say about this =D.