Discord
Login
Community
DARK THEME

How can i make a simple camera?

Hi, i'm new here, and i'm a begginer in make games, i'm making a simple platformer game and i really wanna know how can i make a simple camera. This is my project https://microstudio.dev/i/glupsmogloids/dicasdalora/ really thanks for the help.

You need to create a camera object that will track the player.

You need to include the camera position in the main >> draw() function when drawing and convert the position in the game world to the position on the screen.

See how it is done in the Quick engine.

https://microstudio.dev/i/gilles/quickengine/

@Loginus, i'm really sorry, but is really hard to me understand it, i really tried to understand and do but it really doesn't work, HELP

look this code

https://microstudio.io/i/Loginus/dicasdalora/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community