Game
ROBBIE'S: Genesis 48
3 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



11 comments

Loading...

Next up

Been working a little, I need to work more.

Jane model

Another Thumbnail change!

The Rat

A little sneak peak

coming for that booty

Max model

New VS Old map

Basement 1 | Teaser Trailer

https://youtu.be/jA5-hZ1yw6o

All my socials: