Hi,
How to chracter move left to right? when clicked mouse everywhere on stage ?
here attached my projcect... ple make it .....
yolkgames.com/swf/test.zip
In C2 select File-> New-> Example: Move to mouse
Develop games in your browser. Powerful, performant & highly capable.
Hey yolkgames!
I'm not sure I understood what you wanted. You want to move the character only horizontaly, no matter where you click the mouse, right?
If that's the case, here's the capx.
https://www.dropbox.com/s/5px2blkve0h9m ... .capx?dl=0
If I've misunderstood, just let me know and we'll fix it. Hope this helps. Cheers!
You can give the object 8-Dirrection movement, and then you can change it so the sprite will only move left and right.