Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » I need help with a game i am trying to make
- SpOOk132
- Scratcher
11 posts
I need help with a game i am trying to make
the zombie clones do not dissapear when the bullet touches them https://scratch.mit.edu/projects/642567052/
- VHS_Eyes
- Scratcher
35 posts
I need help with a game i am trying to make
you're using a glide block, the only way i know how for a zombie to move to the player without using a glide block is
forever
change x by ((([XPos] of [Player]) - (x position)) * (.1))
change y by ((([YPos] of [Player]) - (Y position)) * (.1))
end
AMONG USSTOPPPP
- Eagle138
- Scratcher
500+ posts
I need help with a game i am trying to make
It's because of your
block. The sprite is gliding before it detects the bullet. To fix this, you need to put the glide block and the detection script in separate scripts. Hope this helps
edit - oof got ninjad
glide (2) secs to (player)
block. The sprite is gliding before it detects the bullet. To fix this, you need to put the glide block and the detection script in separate scripts. Hope this helps
edit - oof got ninjad
Last edited by Eagle138 (Feb. 12, 2022 01:50:38)
~ Eagle38
coder/artist/noob animator :: he/they :: unconventional :: comment ‘e’ on my profile if you see this
just call me Eagle
fancy signature banner coming…one day
- dadsboy22
- Scratcher
100+ posts
I need help with a game i am trying to make
when green flag clicked
if <(distance to ) = > then
say for (2) secs
end
bokey is hiding...
- dadsboy22
- Scratcher
100+ posts
I need help with a game i am trying to make
for gun moving do this code
when green flag clicked
forever
point towards [mouse pointer v]
end
bokey is hiding...
- Discussion Forums
- » Help with Scripts
- » I need help with a game i am trying to make