Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with complicated scripts (elder scratchers needed)
- dragodude
- Scratcher
21 posts
Help with complicated scripts (elder scratchers needed)
I'm trying to make a computer game on scratch, and I can never get the bullets to do what I need. Can someone please help ? Younger scratchers (like me), can discuss there problems here.
- MinecraftParty77
- Scratcher
100+ posts
Help with complicated scripts (elder scratchers needed)
I may be young, but I know how to make it work. May I see the project?
Zombies: Remastered
A Brand New Survival game, based off the original game ZOMBIES and ZOMBIES II: TNT Apocalypse.
Play it when it's available!
- MinecraftParty77
- Scratcher
100+ posts
Help with complicated scripts (elder scratchers needed)
Easy way -
If <mouse down> then,
If <(ammo) > (0) then
Create clone of
CLONE
When I start as Clone
Point towards
repeat until <touching > or <touching >
move ( ) steps
if touching <edge>
hide
if touching <enemy>
broadcast
If <mouse down> then,
If <(ammo) > (0) then
Create clone of
CLONE
When I start as Clone
Point towards
repeat until <touching > or <touching >
move ( ) steps
if touching <edge>
hide
if touching <enemy>
broadcast
Zombies: Remastered
A Brand New Survival game, based off the original game ZOMBIES and ZOMBIES II: TNT Apocalypse.
Play it when it's available!
- ErnieParke
- Scratcher
1000+ posts
Help with complicated scripts (elder scratchers needed)
I fixed a few things in your script (like ammo never depleting), and a few other things: Easy way -
If <mouse down> then,
If <(ammo) > (0) then
Create clone of
CLONE
When I start as Clone
Point towards
repeat until <touching > or <touching >
move ( ) steps
if touching <edge>
hide
if touching <enemy>
broadcast
When gf clickedBlank LIne
forever
If (mouse down?) then
If <(ammo) > (0)> then
Create clone of [myself v]
change [ammo v] by (-1)
end
wait until <not (mouse down?)>
end
When I start as Clone
point towards [mouse pointer v]
repeat until <(touching [enemy v]?) or (touching [edge v]?)>
move ( Some Amount ) steps
end
hide
if (touching [enemy v]?) then
broadcast [enemy death v]
end
With regards,
ErnieParke
Last edited by ErnieParke (June 29, 2013 19:04:00)
- dragodude
- Scratcher
21 posts
Help with complicated scripts (elder scratchers needed)
Ok if u guys wanna see it then I'll publish it. But it does almost nothing at all. Please remix it and make it better, or just tell me how to work it.
DragoDude.
DragoDude.
- dragodude
- Scratcher
21 posts
Help with complicated scripts (elder scratchers needed)
Here is a link for my work.
cheers,
DragoDude.
P.S how do u get a signature?
cheers,
DragoDude.
P.S how do u get a signature?
- dragodude
- Scratcher
21 posts
Help with complicated scripts (elder scratchers needed)
Do you like it?
- boyerem01
- New to Scratch
1 post
Help with complicated scripts (elder scratchers needed)
I need help Im trying to make an inventory and all the tutorials that are out their are too complicated. I'm not that good with coding so please help
- dragodude
- Scratcher
21 posts
Help with complicated scripts (elder scratchers needed)
Show me a link to the project, then I might be able to work out what's wrong.
- Discussion Forums
- » Help with Scripts
- » Help with complicated scripts (elder scratchers needed)