Page 1 of 1

create shooting angle when mouse is disabled???

PostPosted: Fri Jul 08, 2005 1:02 pm
by wickedsunny
GUYS NEED HELP

How to determine angle of shooting from a charcter(for example moon defender) without using the mouse to control the angle ??? only keyboard

till now i ahve got one logic

say when we press ctrl key (charcter running on right side) an arc becomes visble from 0 degree angle to 90 degree(parent to the character). and a marker is going up and down on this arc repeatedly with the direction of gun pointing/coinciding with the angle of marker.

by determining the postion of the marker instead of the mouse x and y (as in moon defender ) i believe same result can be achieved when shooting button is pressed. " the shot is fired at the angle of the marker"

but i am not being able to make the marker move in the arc randomly.

i ahve tried using path but thats not working, so how do i make the marker move on the arc ???????????

hey Jazz let me know what you think about the logic will it work ? :?

THERES A CLEAR " NO" TO USE OF MOUSE ,ONLY KEYBOARD.

will be waiitng with finger crossed

regards

sunny

PostPosted: Fri Jul 08, 2005 6:48 pm
by jazz_e_bob
G'day sunny,

Check out this demo:

http://www.artsystems.com.au/game%20editor/shooting%20angle.zip

( The x2 and y2 functions can be found in the global scripts. )

man its not working

PostPosted: Fri Jul 08, 2005 7:41 pm
by wickedsunny
jazz has the new version been released ?

i just bought ge two weeks back its saying i need new version

what do i do ?

PostPosted: Sat Jul 09, 2005 8:32 am
by jazz_e_bob
I don't know. :cry:

Email Makslane?

jazz cant see your other demos too

PostPosted: Sat Jul 09, 2005 9:01 am
by wickedsunny
jazz

i cannot open your matrix and golf demo too :cry:

i will ask him but the problem is i am geting late in my work.

can you just write me the script for it and provide an .exe ? :roll:


regards

sunny

PostPosted: Sat Jul 09, 2005 9:24 am
by jazz_e_bob
Ummmm

:(

Too busy. Got my own projects to catch up on...

PostPosted: Sat Jul 09, 2005 10:03 am
by wickedsunny
hey jazz

if you get time then please do post the script man. :(

anyhow i ahve worked on the tiles which you were having trouble with.

check it out and let me know if its working now. if you need i can edit all the tiles set and post there.

if you ahve any designing problem then just let me know

regards

sunny

PostPosted: Sat Jul 09, 2005 8:04 pm
by wickedsunny
Jazz

Makslane asked me to get the script from you .

he is working on a bug problem which i showed him and cant send me a patch untill he find a solution for the bug.

so whenever you get time just help me out with the script man.

i will be waiting. :|

regards

sunny

PostPosted: Sun Jul 10, 2005 1:04 pm
by willg101
Why don't you just download the newest demo? (or won't that help?)

PostPosted: Sun Jul 10, 2005 4:54 pm
by wickedsunny
yes man it will help

sometimes when you have the plasma gun( proversion) you tend to forget the shotgun (demo) :lol:

that happened with me :P

thanks a lot

regards

sunny

PostPosted: Sun Jul 10, 2005 6:05 pm
by jazz_e_bob
Good call. willg101.

Enjoy the GED!