Game
ROBBIE'S: Genesis 48
25 days ago

How I made the lever's code for Robbie's


image.png

this is the parallax code and basically

X is how much you want the mouse X to affect the sprite (Same thing with Y)

X slide is how much it divided by (How slippery it feels) (Same thing with Y slide)

Now the extra X and Y makes it so any value I set it as will add it to the overall position

chrome_qsba2n8iyr.png

These are the settings I use but you can change the X and Y values depending on how much you want it to move.

Lever Y will make it so whatever that value is it will add it to the overall position of the sprite

image.png

This is the actual code that makes the lever move.

The wait until and repeat until blocks are self explanatory

so the two if then blocks are how far the lever can go

set lever Y to mouse y * 7 is just setting the lever Y to the mouse's position *7



12 comments

Loading...

Next up

Working

Boz

Bozo! (He's a woman now)

Happy New Year, POPGOES fans!

Here's a summary of some of the best POPGOES things that happened in 2025. What were your favourites?

New video soon...

Nostalgia-Bait Springtrap

Sins.

Go check out puppet theatre by @argon_dev

Into the Water