Discuss Scratch

Ari_baddie0206
Scratcher
4 posts

Making a game

hi can you guys help me make a game
just a cute little game just give me a 24 hour response if you can.
I still learning with these blocks:
operations
varibles
and sensing
thinking for reading this.



@Ari_baddie0206
jmb1293634
Scratcher
1000+ posts

Making a game

please give more information like
  • what sort of game?
  • style?
Ari_baddie0206
Scratcher
4 posts

Making a game

umm just a cool game
tidelgl
Scratcher
100+ posts

Making a game

lol, homeworks? these some fun games for ya



// Player Character Code (follows mouse)

when green flag clicked
set [Score v] to (0)
forever
point towards [mouse-pointer v]
move (5) steps
if <touching [Star v]?> then
change [Score v] by (1)
play sound [pop v] until done
end
end


// Star Sprite Code (falling from top)

when green flag clicked
forever
go to x: (pick random (-240) to (240)) y: (180)
show
repeat until <touching [edge v]?>
change y by (-5)
end
hide
wait (1) seconds
end


// Bonus: Obstacle Code

when green flag clicked
forever
go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))
point in direction (pick random (-180) to (180))
forever
move (3) steps
if on edge, bounce
end
end
Ari_baddie0206
Scratcher
4 posts

Making a game

thanks you for the star sprite code

Powered by DjangoBB