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

#1 2009-11-02 18:49:03

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Help with game script.

I need help with a script that is better explained on this projects notes http://scratch.mit.edu/projects/GodofGuns/743340


♦Check out my Flash Remixes and other games!♦

Offline

 

#2 2009-11-02 19:03:24

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Help with game script.

Hey, If you ever have any questions, ask it in 'All about Scratch'. There you will get more results. Anyway...
[blocks]
If you don't want to hold and shoot:

<forever>
     <if> <mouse down?>
     <wait until> <not> <mouse down?> >>
     <[  put whatever you want... whatever you do to shoot   ]>
     <end>
<end>
OR(I recommend)

<forever>
     <if> <mouse down?>
     <[  put whatever you want... whatever you do to shoot   ]>
     <wait until> <not> <mouse down?> >>
     <end>
<end>
[/blocks]
Do whichever you want. I recommend the second thing.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#3 2009-11-02 19:08:57

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: Help with game script.

That worked! Thanks!


♦Check out my Flash Remixes and other games!♦

Offline

 

#4 2009-11-02 22:19:06

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Help with game script.

Glad to help.  big_smile


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

Board footer