Discuss Scratch

TheScriptMaster
Scratcher
7 posts

VideoPong High Score repository

VideoPong High Score Repository

Post your high scores from VideoPong here!

Game link | View inside


How it works:

Paddle Scripts

when green flag clicked
hide
turn video off
set rotation style [left-right v]
forever
if <[video motion on sprite] > [8]> then
point in direction (video direction on sprite v)
move (video motion on sprite) steps
end
set y to (-144)
end
when I receive [intro v]
turn video on
show

Ball Scripts

when green flag clicked
hide
when I receive [intro v]
show
point in direction (45 v)
forever
move (10) steps
if on edge, bounce
if <touching [Paddle v] ?> then
turn cw (180) degrees
move (15) steps
change [Score v] by (1)
wait (0.5) secs
end
end

Last edited by TheScriptMaster (Aug. 13, 2022 09:52:04)

TheScriptMaster
Scratcher
7 posts

VideoPong High Score repository

100

Last edited by TheScriptMaster (Aug. 13, 2022 10:12:47)

Powered by DjangoBB