This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-03-31 00:53:16

Asimo
Scratcher
Registered: 2009-03-20
Posts: 21

Shooting games

I need help making a shooting game, the hard part is that the main sprite rotates and its really hard for me to make the bullet move in the direction the main sprite is facing.

thanks for your help.


Sdrawkcab Era Seye Rouy Siht Daer Nac Ouy Fi

Offline

 

#2 2009-03-31 06:19:26

Mike_W
Scratcher
Registered: 2009-02-05
Posts: 100+

Re: Shooting games

Set bullet direction = sprite direction
bullet x,y = sprinte x,y
mvoe 20 steps (or however many to make it look like it's starting at the gun)

then move 1 step at a time

Offline

 

#3 2009-03-31 07:13:30

Rolers_sonic_tails
Scratcher
Registered: 2008-07-19
Posts: 87

Re: Shooting games

i dunno


http://planetsmilies.net/cool-smiley-8942.gif
cool! click the color-changing people to go to where i found it!

Offline

 

#4 2009-04-02 01:08:59

Asimo
Scratcher
Registered: 2009-03-20
Posts: 21

Re: Shooting games

Rolers_sonic_tails wrote:

i dunno

gee thanks


Sdrawkcab Era Seye Rouy Siht Daer Nac Ouy Fi

Offline

 

#5 2009-04-02 07:23:23

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Shooting games

under sencing theres a block that starts off by saying the x position of sprite 1. but both the x and sprite one is a drop down menu. using this you can get all the proertys of all the sprites. use the direction of gun

Offline

 

Board footer