Page 1 of 1

Shooting help

PostPosted: Sun Aug 07, 2005 12:53 am
by Game A Gogo
I need to know how to change the shooting direction by the position hes pointing (Jump and run game) Please

PostPosted: Sun Aug 07, 2005 3:14 am
by ntware
helow my friend! Hmm, if you are trying to make a game similar do abuse (where the actor can look to any direction and fire to the direction that he's looking), try to understand the demo of this game on the site. I nice trick that u can do is put two actors, and link them by the "pattern" function. one actor will be the "body" of the hero, wich will move to right/left/jump. The other actor will be his head, wich can look to anyu direction. To make the head looking, try to understand the asteroids demo on the site to see how u can rotate your actor and change the fire direction (you will use some angle functions. If you don't understand how to use that on the demo, ask me again). With these two actors linked and programmed, you will be able to walk left/right/jump and look to all directions and fire to that direction.


See you latter my friend! :wink:


Thiago R. Alves

PostPosted: Sun Aug 07, 2005 9:41 pm
by Game A Gogo
Tanks but thats not it, it can only shoot two ways: left, Right.

Like is facing right and you press alt, he shoot to the right
and if hes facing left and you press alt, he shoots to the left

Get it :?

PostPosted: Mon Aug 08, 2005 12:26 am
by willg101
Is this what you want?
http://wish-products.95mb.com/data.zip

Left-Look Left
Right-Look right
Space-Shoot

Sorry that this demo is soo bad--I just threw it together quick.

PostPosted: Wed Aug 10, 2005 10:04 pm
by brutalDeluxe
Good demo.

PostPosted: Thu Aug 11, 2005 3:27 pm
by willg101
Thanks :!: