create shooting angle when mouse is disabled???

Talk about making games.

create shooting angle when mouse is disabled???

Postby wickedsunny » Fri Jul 08, 2005 1:02 pm

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
game creation thrives on chaos & unpredictable imagination- hence i lure on the edge of chaos.
wickedsunny
 
Posts: 18
Joined: Wed Jul 06, 2005 2:57 am
Score: 0 Give a positive score

Postby jazz_e_bob » Fri Jul 08, 2005 6:48 pm

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. )
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

man its not working

Postby wickedsunny » Fri Jul 08, 2005 7:41 pm

jazz has the new version been released ?

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

what do i do ?
game creation thrives on chaos & unpredictable imagination- hence i lure on the edge of chaos.
wickedsunny
 
Posts: 18
Joined: Wed Jul 06, 2005 2:57 am
Score: 0 Give a positive score

Postby jazz_e_bob » Sat Jul 09, 2005 8:32 am

I don't know. :cry:

Email Makslane?
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

jazz cant see your other demos too

Postby wickedsunny » Sat Jul 09, 2005 9:01 am

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
game creation thrives on chaos & unpredictable imagination- hence i lure on the edge of chaos.
wickedsunny
 
Posts: 18
Joined: Wed Jul 06, 2005 2:57 am
Score: 0 Give a positive score

Postby jazz_e_bob » Sat Jul 09, 2005 9:24 am

Ummmm

:(

Too busy. Got my own projects to catch up on...
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby wickedsunny » Sat Jul 09, 2005 10:03 am

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
game creation thrives on chaos & unpredictable imagination- hence i lure on the edge of chaos.
wickedsunny
 
Posts: 18
Joined: Wed Jul 06, 2005 2:57 am
Score: 0 Give a positive score

Postby wickedsunny » Sat Jul 09, 2005 8:04 pm

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
game creation thrives on chaos & unpredictable imagination- hence i lure on the edge of chaos.
wickedsunny
 
Posts: 18
Joined: Wed Jul 06, 2005 2:57 am
Score: 0 Give a positive score

Postby willg101 » Sun Jul 10, 2005 1:04 pm

Why don't you just download the newest demo? (or won't that help?)
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby wickedsunny » Sun Jul 10, 2005 4:54 pm

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
game creation thrives on chaos & unpredictable imagination- hence i lure on the edge of chaos.
wickedsunny
 
Posts: 18
Joined: Wed Jul 06, 2005 2:57 am
Score: 0 Give a positive score

Postby jazz_e_bob » Sun Jul 10, 2005 6:05 pm

Good call. willg101.

Enjoy the GED!
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest