Gravity and MoveTo problem
Posted: Wed Jul 31, 2013 2:59 am
First in my game i use gravity script in player draw actor event here,
I want to use player to move left and right following mouse click, i add sensor actor to do that an use this script in mouse button down event:
Here the problem, i test game when i left click mouse, player move to the xmouse like teleport, it's move from point A to point B without path.
How to fix that?
Please help me, please post here too if my problem is confused, i will post my problem in youtube and post the link here,,, or try this code yourself,,
sorry i can't speak english well
yvelocity+=0.5;
I want to use player to move left and right following mouse click, i add sensor actor to do that an use this script in mouse button down event:
MoveTo("player",xmouse,player.yscreen,5.000000,"view","");
Here the problem, i test game when i left click mouse, player move to the xmouse like teleport, it's move from point A to point B without path.
How to fix that?
Please help me, please post here too if my problem is confused, i will post my problem in youtube and post the link here,,, or try this code yourself,,
sorry i can't speak english well