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

#1 2007-05-27 21:00:58

squirr3lattack
Scratcher
Registered: 2007-05-27
Posts: 11

How do I represent bullets?

Hey, everyone on Stratch! I'm trying to make a simple shooter game and I have no idea how to represent bullets in the game. How do I represent them? Would it be wise to make them moving sprites, or something else? Help would be very appreciated.

Offline

 

#2 2007-05-27 21:09:14

jay
Scratch Team
Registered: 2007-03-11
Posts: 59

Re: How do I represent bullets?

Hey squir3lattack. I think the best way to represent a bullet is to use a sprite. There's a good example in this project
http://scratch.mit.edu/projects/reedfe/2513
if you look at the "missle" sprite.

Here's an example of a game that is like a "shooter" game, but instead of using missiles or bullets, it uses spider webs -- cool
http://scratch.mit.edu/projects/piezilla0322/3124

Offline

 

#3 2007-05-28 08:09:23

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: How do I represent bullets?

Here's another really simple example.

http://scratch.mit.edu/projects/Mayhem/7672

Look at the scripts for the arrow sprite.
When not being fired, the arrow "go to"s the bow, so even if the bow (or spacecraft, or tank etc etc) was moving, this script should still work.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

Board footer