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

#1 2008-03-16 08:48:10

47fg74
Scratcher
Registered: 2007-10-30
Posts: 100+

how do u make a bullet fire

i need a script to make a bullet fire and come back to u and go to u whenever it's not fired


What emo means....
E is for emontional ruins everbodies day
M is for misrable people
O is for on the dark side... cause we have some fresh cookies

Offline

 

#2 2008-03-16 10:21:09

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: how do u make a bullet fire

when green flag clicked
forever
if: key <whatever fire button is
point in direction<direction of sprite 1>
repeat until touching edge
move <whatever> steps

else
go to sprite 1


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#3 2010-05-17 05:46:18

IshySmishy
Scratcher
Registered: 2010-05-17
Posts: 1

Re: how do u make a bullet fire

thank u
http://scratch.mit.edu/forums/viewtopic.php?id=4209#req_message

Offline

 

#4 2010-05-17 07:23:02

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how do u make a bullet fire

In addition to what FPSFelix said, you might want to look into these projects:
Paddle2See's Trigonometry cannon: http://scratch.mit.edu/projects/Paddle2See/77800
And Archmage's Trig-less cannon: http://scratch.mit.edu/projects/archmage/84286

Offline

 

#5 2010-05-17 12:54:57

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: how do u make a bullet fire

http://scratch.mit.edu/projects/dingdong/70684 Here's a little project that shows you how to do it.


I'm graduating HS this April and going to college in the Fall.

Offline

 

#6 2010-05-23 08:21:23

12three
Scratcher
Registered: 2008-06-12
Posts: 1000+

Re: how do u make a bullet fire

See if this helps.
http://scratch.mit.edu/projects/12three/393354

Offline

 

Board footer