Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Trippy and surreal, but neat ๐Ÿ‘

How in the heck does that auto-scrolling section with the llama work!? ๐Ÿ˜ต Tutorial plz!

(+1)

well its not to complicated basically you make an if player x > camera x - screen size then that way when you go to far back you die 

then an if player x > camera x + screen size if you go to far forward 

Okay, it's late and my head's fuzzy, but I think I understood that... ๐Ÿ‘๐Ÿฅด

Hi there, I'm going to need to ask you about this thing again ๐Ÿฅด

I've been working on other stuff since, but I want to give this a proper go. Can you share any screenshots of the project? Or the project itself maybe? ๐Ÿค”

(+1)

Well I'm not too sure on what things this code will work on but you basically make something like this

CamX =+ 1

Move camera to (CamX, 0)

If CamX <= Px - 4

        Kill the player

If CamX >= 105 (105 is the safe part at the end, change it as needed)


Px is the players X location

(1 edit) (+1)

Hope this helps, good luck. and I want to see what you make after its done.

Thanks ๐Ÿ‘ I'll give that a go