top of page
Search

shooting game in scratch

since we've covered pretty much the basics of scratch , lets move on to something more advanced. i'd rate this a 3/10 (hardness) , yes seems pretty low but trust me , if your a complete begginer , this'll be very hard.


so first you make 5 sprites


ree

let's start with the zombie.



ree

the left one creates clones. middle one is the movement and death detector. the right one is the code that decreases player hp


after zombie , i made the bullet.


ree

pretty much just the basic that we covered on the last post ( catch the cat) p.s. we'll go through why this doesnt have create clone of myself in a while


code for lifes :


ree

just basics of variable but i'll quickly explain this. so , live decreases by 1 everytime player touches zombie and if live goes under 1aka 0 = death.


after that we got the player.



ree

the middle one (long one) is the movement and the gun changing.

bottom left one is the shooting (which is why the bullet doesnt create a clone in the main sprite itself) the rest is just extra code that im sure we've gone through.


after that we got the reload sprite


ree

pretty much the basics also


finnaly , the backdrop's code

ree

simple.


i know this looks hard , but trust me , it isnt that hard. it may be challenging but it wont be very hard that you'll take like 1 month to make it.


example here shooting game

 
 
 

Comments


  • Facebook
  • Twitter
  • LinkedIn

©2021 by dave-cba. Proudly created with Wix.com

bottom of page