Discuss Scratch
- Discussion Forums
- » New Scratchers
- » How to make shooting in your game
- MinecraftPlayer_2015
- Scratcher
10 posts
How to make shooting in your game
To do shooting, try this:
Forever
If (key SPACE pressed?) then
show
go to (x: 0 y: 0)
—————–
Repeat (60)
move (2) steps
—————
if (touching ?) then
go to (x: 0 y: 0)
hide
Forever
If (key SPACE pressed?) then
show
go to (x: 0 y: 0)
—————–
Repeat (60)
move (2) steps
—————
if (touching ?) then
go to (x: 0 y: 0)
hide
Scratch coder, working on a couple of ideas.
I am getting a new computer soon.
New profile - @TheComplicatedCodes
when green flag clicked
set [Ideas] to [So many that i cant control myself scratch is coool why am i making this so long!!!!]
if <[Ideas that actually get used] > [1]> then
think [I will use these ideas!]
end
- joshuaho
- Scratcher
1000+ posts
How to make shooting in your game
Hi! It's great that you want to offer some useful tips to other users, but the New Scratchers forum is meant for new members to introduce themselves to the Community. I would suggest creating a project and tell others about it in the Show and Tell forum instead. That way, people can see the script(s) you are demonstrating in action and will be able to easily remix your project and incorporate the scripts into theirs if they want to.
Last edited by joshuaho (Nov. 9, 2020 04:06:52)
College student studying Communication and Fire Technology, communication lab tutor, guitar and piano player, perfectionist, and just some guy who regularly eats and trains physically to stay healthy.
- Discussion Forums
- » New Scratchers
- » How to make shooting in your game