Skip to content

Clarify camera and player setup steps#92

Open
teod-sh wants to merge 1 commit intofyrox-book:mainfrom
teod-sh:improve-platform-tutorial-texts-pt2
Open

Clarify camera and player setup steps#92
teod-sh wants to merge 1 commit intofyrox-book:mainfrom
teod-sh:improve-platform-tutorial-texts-pt2

Conversation

@teod-sh
Copy link
Copy Markdown
Contributor

@teod-sh teod-sh commented Apr 1, 2026

This PR aims to clarify a few steps:

1 - When adding the first imports
2 - When defining the camera
3 - When Setting up player movement

Now for the player. As always, let's start by creating a new rigid body, adding a 2D collider to it, and setting its shape to capsule with the following
parameters - `Begin = 0.0, 0.0` and `End = 0.0, 0.3`. Add a 2D sprite (rectangle) to the rigid body and set its texture to
`data/characters/adventurer/adventurer-Sheet.png`. Select the sprite on `World Viewer`, and go to `Inspector` Set its uv rect to `(0.0, 0.0)` for position and `(0.143, 0.091)` for size to see only one frame.
`data/characters/adventurer/adventurer-Sheet.png`, also make sure the camera has the `Project` property set as `Orthographic`. Select the
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Projection maybe, not Project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants