Right and Left Movement
darlene57
Member Posts: 37
Can someone explain to me in the windows version I cannot find when actor receives event mouse is inside.
I am wanting when touch is pressed actor receives event mouse is inside.
I tried mouse postion
Thanks Darlene
I am wanting when touch is pressed actor receives event mouse is inside.
I tried mouse postion
Thanks Darlene
Comments
If it's the former, then When All/Any > mouse position is: over actor should work for Windows Creator.
But you said you already tried that?
when touch is pressed, do as follows.
GSINVENTION FREE TEMPLATES
http://www.jamie-cross.net/?portfolio=gamesalad-macintosh-and-windows-interface-side-by-side-comparison
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
I am watching the video by tshirt booth from the gamesalad cookbook. but nothing works.
My question is when I add the rule (when touch is pressed and (when touch is inside)
In the windows version I cannot find the attribute when touch is inside.
Thanks Darlene
Everything looks right I set up the left move control, and the actor, but the actor just flies across the screen the the left.
Thanks Darlene
Do I use one of these.
So what does Mouse position over actor, and Mouse position under actor mean?
My actor is flying off the sceen still to the left.
Thanks Darlene
Where is this under actor condition?
I am only aware of over actor and not over actor.
The not over actor condition fires the event so long as your Mouse Position (cursor) is not on top of the Actor.
--
With regards to your Actors flying to the left side of the screen, it's a known Bug within the Windows version of Creator. There will hopefully be a fix to this in the upcoming update.
Check the problematic Actor's initial coordinates, and delete all numbers to the right of the decimal point. (e.g. change X=93.23 & Y=1.34 to X=93 & Y=1)
edit: By the way, why are you including both Touch and Mouse Position conditions to do the exact same thing? You also mentioned Key (keyboard) commands. Are you planning on deploying your app to mobile or web?
Normally when using Preview mode, keyboard controls are ok as you are still in the creation or debugging phases. But when you deploy for the iDevices, you take out those keyboard controls and switch them with the touch controls.
If you leave the old Rules in there and publish, those Rules are still there and will be turned into lines of code whose If-Else conditions may or may not fire up on the device, ergo slight (or not so slight) performance loss. Well, that's my thought. Don't quote me on that
http://badgruhiksgames.jimdo.com/gamesalad-tutorials/
GSINVENTION FREE TEMPLATES