Direction of my Player
doug_smuppet
Member Posts: 99
I would like know if I can do this:
When I press the arrow Left or Right, my player walk through the white line to the next red point, What attribute use to do this?
When I press the arrow Left or Right, my player walk through the white line to the next red point, What attribute use to do this?
Comments
Hopefully that makes some sort of sense, I might be able to throw together a quick project a little later in the day.
If the right key always moves you in the same direction along the path you will be going right when you press it whilst at the top of the path - and you will be going left when pressing the right key whilst you are in the bottom half, imagine you are on the bottom line one point to the right of he end of the bottom half of the path, which key, left or right, do you press to go to the very end of the bottom half of the path ?
The alternative is to change commands half way, but then the mid point becomes an issue - if you move right from the top to the mid point, then want to go back up to the left which key do you press ? If left takes you back up and to the left then how do you go down and to the left ? If pressing right takes you up and to the left then things start to get weird.
Maybe up and down buttons would make more sense.
https://www.dropbox.com/s/ktaffjqbhfbvs8x/template.zip
Do you remember this game?!?
Excellent, works really well !
thanks a lot.
I tried incorporate, but, only work when all levels are unlocked, if I have 2 or 3 levels unlocked, didn't worked, and I don't know how do this.
anyone can help me?