Role: Gameplay Programmer & VFX
Genre: 3D Platformer
Engine: Unity
Team Size: 11
Platform: PC
Time: 4 weeks
Pack Up & Leaf is a 3D Adventure Platformer game inspired by old classics like Spyro and Banjo Kazooie. Being a platformer and having a broad target audience, the game heavily depends on how the player's controls feel and how easy they are to pick up. That's the challenge we took which required extensive testing and tweaking.
Since platformers depend so much on how the movement and camera feels, I took the latter as my main focus for this project. I had to work very closely with the programmer that was working on the player’s movement to make sure that both components fit seamlessly. There’s also a lot of dependencies between camera and movement so we had to plan ahead to make sure the needed properties were easily accessible across components.
The player can move the camera freely around the target in a sphere with radius. The vertical angle is constrained as expected. The euler angles are also looped so that when the angle reaches 360, it starts back at 0.
Property: | Function: |
---|---|
Target | Target's Transform component |
Radius | Orbit sphere radius |
Orbit Angles | Yaw and Pitch |
Angle Constraints | Min. and max. pitch angles |
Using events to invoke different interactions depending on the interacted object. This allowed for a very modular and reusable system.
When interacting with chests, loot will spawn around the object between a range of distance and the instances will never overlap.