Hi, my name is Abcight and I'm developer of game called "throw" (Game avaiable only as beta for betatesters).
Game is created using ActionScript 2.0 in Flash 8.
My question is, if someone could help me with throwing code.
What do i mean? i man that if you drag movieclip called "Ball" it just follows your mouse until you drop it.
Pretty simple code:
on(press){
if(_root.ThrowZone.hitTest(this)){
startDrag(this);
}}
on(release){
if(_root.ThrowZone.hitTest(this)){
stopDrag();
}}
I also have simple gravity code set up, but i rather not to show it, since it is not "that" needed.
I want it to throw the "Ball" as you release movieclip, i mean that it will go straight up with different
speed depending on how fast you moved it before you released it, i also want it to get slow in and slow out as it gets up.
I have tried covering my Gravity code a bit, changing it and reversing it, reversing psychics but then it will
go up same way no wonder how you throw it.
If you really need to test the game in order to see how it works, tell me in comment, and i WILL put link to it in thread.