I am busy creating a game that is a cartoon man, I have used this code so that the man will move left and right when you move your mouse
startDrag(“man”, true, 70, 436, 496, 436);
This works, but then I want to have it so that during the time you are moving left and right you can click the mouse at any time and the man will jump upwards and fall down again…
How do I do this? I tried to do it and it worked, but when you hold the mouse button in then it keeps the man up in the air.
Is there any other way of doing this?
I would appreciate any help?:hugegrin::hugegrin::hugegrin:
:kir:
Thanks for the Reply!!!
Unfortunately this doesn’t work…Could it be because of the StartDrag script? It makes the Character bounce constantly. Where exactly should I place your code?
Thanks for the Help. I really appreciate it, but I have decided to scrap that part of my game…i don’t need it anymore…But thanks a million for your help!!! :pleased: :pleased: :pleased: