i would like to create an character, and then , when i press right button he walks but when he comes on the end of the display it moves, like red ball game thank u
@daadd … thanx for the video of a cute game with great gamePlay!
in your 4 days as a member, have you watched the GS videos? completed the tutorials in the Cookbook?
doing so will answer a lot of questions like the one you post … and will enable you to ask questions that aren't covered in those helpful learning tools.
if you haven't got your feet wet, if you haven't begun the learning curve, any answer to this question wont make sense to you. it very easy to do what you say you are trying to do … and the videos cover the topic well!
go play around with GS … Enjoy your learning experience!
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
edited January 2012
Hi @daaddd, what a terrific use of GS Physics! Excellent work. The game looks great fun to play (and cute as MH says!).
To answer your question, (if I've understood your question correctly): a boolean "switch" should do it, so make an attribute, let's call it Control. In your user moving buttons/controls, add beforehand When Control is false (or 0).
At the end of the game, when you want to take over control of the player actor, set Control to true. And a Rule (perhaps in an actor outside of the screen) which is When Control is true, Move To self.YourActor.Positionx to 500, or whatever.
By the way, don't forget to set Control back to false again at the beginning of all the levels...
ok, thank u guys, i've seen 20 videos about salad, i understood well how the thing works, i already know how to shoot, move, rotate, timer, play sound and etc, but i'll see the other videos in cookbook to see if i can get it done ! hugs
Comments
in your 4 days as a member, have you watched the GS videos?
completed the tutorials in the Cookbook?
doing so will answer a lot of questions like the one you post … and will enable you to ask questions that aren't covered in those helpful learning tools.
if you haven't got your feet wet, if you haven't begun the learning curve, any answer to this question wont make sense to you.
it very easy to do what you say you are trying to do … and the videos cover the topic well!
go play around with GS … Enjoy your learning experience!
@};- MH
To answer your question, (if I've understood your question correctly): a boolean "switch" should do it, so make an attribute, let's call it Control. In your user moving buttons/controls, add beforehand When Control is false (or 0).
At the end of the game, when you want to take over control of the player actor, set Control to true. And a Rule (perhaps in an actor outside of the screen) which is When Control is true, Move To self.YourActor.Positionx to 500, or whatever.
By the way, don't forget to set Control back to false again at the beginning of all the levels...
----------------------------------------------
http://davidgriffinapps.co.uk/
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps