Share your repls and programming experiences

← Back to all posts
Side scroller experiment... kind of....
Ov3R10rd (139)

This is an experiment to make a game that is "free roam", where the camera follows the player around. This is in no way a game, just a test, maybe a teaser? The blue block is also for testing. Use WASD to move the player around and left and right arrows to look around. Give me ideas to work with this please! Thank you guys!

Comments
hotnewtop
InvisibleOne (3206)

This is really cool, how did you get the camera to follow the player like that?

InvisibleOne (3206)

Never mind I looked at the code, great job

Ov3R10rd (139)

@InvisibleOne In case you are still wondering, I basically made the map operate differently from the player, so the "real player" has values that are never used in collision detection. There is also a second player, the "data player". This player is invisible to the eye, but is constantly moving around following the "real player". Hope this helps!

InvisibleOne (3206)

Yeah that's really cool @Ov3R10rd