| This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! (August 2026) |
Getting Started
Begin by creating a new sprite called "Player". This will be the sprite the user controls. Add this code:
when green flag clicked
set [ScrollX v] to (0)
set [ScrollY v] to (0) // You can skip this if you only want left-right scrolling, rather than up-down as well.
forever
go to x: (0) y: (0)
end
This code is what makes the sprite always stay in the center of the screen. To add the controls, this code is used:
when green flag clicked
forever
if <key (w v) pressed> then
change [ScrollY v] by (1)
end
if <key (s v) pressed> then
change [ScrollY v] by (-1)
end
end