Discord
Login
Community
DARK THEME

Camera

https://microstudio.dev/i/Heythat/galaxyrush/

I've tried to figure out what the x value and y value is for the player but I can't figure it out. The console says both are 0. I think it has something to do with the translation? Because of this, I couldn't get the camera to work. Thanks for any help :D

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

  1. You are drawing Sprite Player incorrectly on the map - I have corrected it
  2. You probably want the camera to show the Player in the middle of the screen and move the board.
  3. You are not updating the camera. You also need to pass it a parameter that would be updateCamera(game.player) when called from outside the class.

You are making progress !!!

Thanks for the help :) (test account for something I’m trying)

a (another test)

Pretty much it’s just a message I get in a discord server when someone replies to one of my community posts

Post a reply

Progress

Status

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