Looking for movement tutorial/example
Im gonna start a new game now with some new stuff. First of all, I wanna add platforms with horizontal and vertical movement, that the player can stand on. The player must also be able to move along with the platform when he stands on it, and not be stuck in the air while the platform moves away.
Second, I would like the player to be able to push boxes horizontaly so they can jump up on it and get access to higher platforms..
Does anyone know about a tutorial or example that explains this?
Re: Looking for movement tutorial/example
http://www.clickteam.com/website/usa/img/uploads/tutorials/download/fastloop_plattutorial.zip
Here's a great platform movement tutorial :)
Re: Looking for movement tutorial/example
Yea, Ive seen this one already, and used about 100 times already :) But I want one that also enables the possibilities for a platform moving vertical, and the player able to move a box.
Re: Looking for movement tutorial/example
There is a part about creating platforms moving horizontally, so changing them to vertical shouldn't be hard.
Re: Looking for movement tutorial/example
I actually added box movement to a game that was based on that tutorial... I'll see if I can dig it up and work out how I did it.
There's a topic here where adding vertical platforms is discussed - http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=97772 - I left them out of the tutorial originally because I had trouble with them myself at that stage, but Random's method seems to work!
Re: Looking for movement tutorial/example
OK - ready? :)
http://www.clickteam.info/davidn/ima...wtobarrels.png
(Right-click and View Image for full size)
Each barrel has an invisible platform detector (the same as I cover in the tutorial) that's overlapping it when the level starts, and checks for horizontal and vertical movement in much the same way as the player (without fastloops, just to simplify things).
Re: Looking for movement tutorial/example
Ah, this gives me a lot to try out ! Im gonna test this in the weekend, and tell how it works! Thanks a lot :)
Re: Looking for movement tutorial/example
Deleting this post, went out to be super messy.. Does this event work if I have more than 1 box?? It turns out this detector only follows one of them.. The other detectors gets stuck in place while the box moves away until its not overlapping anymore..
Re: Looking for movement tutorial/example
Maybe you will have to use the ForEach object for this. :\
Re: Looking for movement tutorial/example
Does that mean Ill have to replace a lot of events?