Overview
Free Sweetcorn is a mobile platformer project developed in Unity for Android that has undergone several iterations. Its initial concept was born during my college days, and since then, it has been developed and re-developed multiple times. This journey reflects my evolving skill set and serves as a playful outlet for my creativity. Despite its whimsical premise, Free Sweetcorn remains a favorite of mine for its light-hearted charm and the joy it brings.
Creating a Visually Dynamic Environment
To enhance the visual appeal of Free Sweetcorn, I
focused on creating a dynamic and immersive
environment. One key aspect of this was animating the
environment lighting to bring the game world to life.
I made the lamps and torches pulse, creating a sense
of movement and vitality. This subtle yet effective
technique added depth and dynamism to the game, making
the environments more engaging and visually
interesting for players.
I achieved this effect by animating the lamps' flames
and combining it with a script that randomly changed
the point lights' range between two values. This
approach created a natural flickering effect,
enhancing the realism and atmosphere of the game.
Developing Accessible Control Schemes
For Free Sweetcorn, I implemented a sophisticated
character animation system using a character
controller. To ensure fluid and realistic movement, I
utilized a state machine for the character's legs,
defining distinct states for idle, running, and
jumping. This state machine enabled smooth transitions
between these states, providing responsive and natural
leg animations.
To maintain the consistency of other parts of the
character, such as the flag, I animated the body
separately. By isolating the body animation, I ensured
that the flag's waving motion remained constant,
regardless of the character's actions. This approach
allowed for a more dynamic and visually appealing
character animation, enhancing the overall gameplay
experience.
By combining the state machine for the legs with
separate animations for the body, I achieved a
cohesive and well-coordinated character animation
system. This meticulous attention to detail ensured
that the character's movements felt intuitive and
engaging for players.