You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm getting familiarized with Excalibur and I'm having a little trouble finding how to understand the relationship between different dimensions and how to set them. Bear with me, because I'm at that disconcerting stage of understanding where I'm not even sure how to ask the right question!
An example:
I want to create a platformer with a specific map with the (arbitrary) dimensions 3000 x 3000. Then I want to have a player who moves around and through that map with the camera, let's say it displays at 1920 x 1080, following them and not moving past the map's dimensions.
I've successfully set a camera strategy that follows the player Actor. No big deal. But I'm having a little trouble figuring out how to configure the level's overall dimensions and keep the camera within those bounds.
Thanks in advance for your help and for the fantastic work!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I'm getting familiarized with Excalibur and I'm having a little trouble finding how to understand the relationship between different dimensions and how to set them. Bear with me, because I'm at that disconcerting stage of understanding where I'm not even sure how to ask the right question!
An example:
I want to create a platformer with a specific map with the (arbitrary) dimensions 3000 x 3000. Then I want to have a player who moves around and through that map with the camera, let's say it displays at 1920 x 1080, following them and not moving past the map's dimensions.
I've successfully set a camera strategy that follows the player Actor. No big deal. But I'm having a little trouble figuring out how to configure the level's overall dimensions and keep the camera within those bounds.
Thanks in advance for your help and for the fantastic work!
Beta Was this translation helpful? Give feedback.
All reactions