Creating an Environment
Hello there!
Last time we created the player movement and so it was time to give the player an environment in which they can roam and play on. Before this, I felt it would be wise to have the camera follow the player as they move through the level to avoid the player running off-screen and into the abyss. This was quickly done with the Cinemachine component in Unity and makes for a smooth play in-game.
As for creating the environment. It is very simple to create a platforming level, as all it takes is a few box colliders for the player to jump on, in future these colliders will have the desired sprite attached to them but for functionality purposes it is much easier to just have a basic rectangle fill the role. After this was done it made a simple environment for the player to navigate.
While I was at it, I also found it a good idea to add the players' sprite into the project since it would be easier to have the character set up so it can be copied into the other two levels. It also provided an opportunity to create the box collider and have it scaled to the players' true size.
And that's all for now folks, thank you very much for reading along, feel free to keep an eye out for later updates. See you next time!
Get Freedom
Freedom
Status | Released |
Author | Starbound Interactive |
Genre | Shooter, Platformer |
Tags | Arcade, Robots, Singleplayer |
More posts
- Reaching The EndJun 20, 2023
- Enemy Health SystemJun 20, 2023
- Health SystemJun 14, 2023
- Attacking FunctionalityJun 13, 2023
- Unity DevelopmentJun 07, 2023
- Welcome BackJun 07, 2023
- Early DaysApr 18, 2023
Leave a comment
Log in with itch.io to leave a comment.