June 2018
Beginner to intermediate
298 pages
7h 38m
English
Add Camera2D to the Player scene. This node will keep the game window centered on the player as it moves around the level. You can also use it to zoom in on the player, since the pixel art is relatively small. Remember, since you set filtering off in the import settings, the player's texture will remain pixelated and blocky when zoomed in.
To enable the camera, click the Current property to On, then set the Zoom property to (0.4, 0.4). Values smaller than one zoom the camera in, while larger values zoom it out.
Read now
Unlock full access