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

#1 2009-03-07 21:49:37

Nintencow1
Scratcher
Registered: 2009-03-07
Posts: 1

I am making a shooting game, HELP!!!!

i dont know how to make a bullet appear by a guy w/ a gun and shoot straight across, realisically.
the guy stands on the left and can move and can move up,down,left, and right. when space is hit the bullet(sprite3) goes to sprite2.
also, how do i restrict how far my sprites can move up,down.left, and right.

Offline

 

#2 2009-03-07 22:13:35

abeair
Scratcher
Registered: 2008-07-19
Posts: 100+

Re: I am making a shooting game, HELP!!!!

go to http://scratch.mit.edu/projects/tutorial_maker/190024 and replace touching edge with touching sprite2


http://dragcave.net/image/NPtA.gif
http://www.danasoft.com/sig/ObamaLovesMacs.jpg

Offline

 

#3 2009-03-08 01:28:37

Z0rakid
Scratcher
Registered: 2009-03-08
Posts: 1

Re: I am making a shooting game, HELP!!!!

I want to help!

Offline

 

#4 2009-03-08 05:19:59

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: I am making a shooting game, HELP!!!!

Nintencow1 wrote:

i dont know how to make a bullet appear by a guy w/ a gun and shoot straight across, realisically.
the guy stands on the left and can move and can move up,down,left, and right. when space is hit the bullet(sprite3) goes to sprite2.
also, how do i restrict how far my sprites can move up,down.left, and right.

There are lots of shooting tutorials around...here's one that might help

http://scratch.mit.edu/projects/Helping_You/306445

As for restricting motion on a sprite - Use the "If" block to test and see where the sprite is (use the X position and Y position) sensors under the Motion tab and move it back if it has moved too far.  Hope that helps!


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer