What happens with the option key afterwards?
When I wan to convert my project to Xcode, how is the option "key" for left,right control defined?
Or should I consider to use Accelerate?
Or should I consider to use Accelerate?
Comments
Okay in my case, my Actor is controlled by Key left/right...but how to solve that when building up an Ad-hoc?
Change to touch (how would that work concerning movements?) or what to do when still using key?
Here is just one of the many ways of doing that…
Make you some graphics for control buttons, arrows, round button, whatever you want. Create a text attribute, and call it "controls"
Now go into your buttons individually. For example, lets use right movement. So go into the graphic you made that will control the actors movement to the right. Make a rule that says...
When touch is pressed > change attribute.controls to "right"
Now go into your main actor, and where you have the rule for the keyboard control that makes your character move right, change the rule you already have in there to say …
when attribute.controls contains "right"…(You are changing the drop down menu from saying when "key is pressed" to when "attribute") And leave the rest as you already have it… Now that onscreen button you made should now control your characters right movement.
Then go through each button and do the same thing, changing the rule to make it go up or down, or jump or whatever.
Hope that makes sense.
And also the image of the actor, I added Animate with different pictures, but when the actor goes left/right and then stop, the sidepictures stay and my frontpic is not shown again?"