Presentation / Graphics Devlog
In this Devlog are the changes and improvements made to the 2D top-down racing game developed in Unity. These updates include a revised player movement, adding a speed boost power-up, updating the finish line mechanic, and integrating a countdown timer at the start of the race, along with other changes described in this Devlog!
1. Player Movement
Scripts:
PlayerMovementBase.cs
PlayerOneMovement.cs
PlayerTwoMovement.cs
Changes:
- Implemented a base movement script (
PlayerMovementBase
) to handle common movement logic for both players. - Created separate scripts (
PlayerOneMovement
andPlayerTwoMovement
) inheriting from the base script to define specific controls for each player. - Updated the Braking/Reverse Method to allow the driver to reverse incase of coming to a complete stop due to a rock
- Updated Code to allow use of a Speed Boost Power Up
2. Speed Boost Power-Up
Changes:
- Implemented a power-up that boosts the player's acceleration and top speed by 20% for 10 seconds.
- Ensured the power-up disappears upon collection and respawns after 20 seconds. this time is selected to allow 2 uses in a race and provide a high risk high reward power up, allowing the players to get a better lap time but leaving less time to make a mistake to get the best time
3. Finish Line Mechanic
Changes:
- Implemented a script to track laps for each player.
- Displayed lap count and lap times in the UI.
- Declared a winner when a player completes the required number of laps and displayed the winner's best lap time.
4. Countdown Timer
- Created a countdown timer that prevents players from moving until the timer reaches zero.
- Displayed the countdown in the UI, showing "GO!" when the race starts.
5. Menu
Created a Menu to allow the user to create either a single player best lap time game, a two player competitive race or the close the game
5. Graphics
added/updated the Lap Completed Panel to show the player laps completed, both for single player and two player
Single Player:
Multiplayer:
I've also added a trail effect to the Cars to add a Tron Light Cycle Effect to show how fast the Car is moving
Known Bugs:
- Game does not return to menu when race is completed
- reversing in grass is impossible
Conclusion
These updates have significantly enhanced the gameplay experience of our 2D top-down racing game. Players now have a more dynamic racing experience with movement, speed boosts, lap tracking, and a proper race start sequence. These changes lay the groundwork for future features and improvements.
Stay tuned for more updates as we continue to refine and expand my game. Thank you for following my development journey!
Next Steps
- Add more power-ups with different effects.
- further update the UI
- Bug Fixing
- Integrate sound effects and background music.
End of Devlog.
Files
Redline!
Burn Tyres and bend metal in the ultimate driving playground!
Status | In development |
Author | AVP3Marine |
Genre | Racing |
Tags | sharedscreen, Top-Down |
More posts
- Devlog: Game Updates - New Audio and Scoreboard FeaturesJun 04, 2024
- Devlog: Player Testing and Game UpdatesMay 26, 2024
- Shared Screen Multiplayer UpdateMay 12, 2024
- Devlog Track UpdatesMay 12, 2024
- Player Movement DevlogMay 05, 2024
Leave a comment
Log in with itch.io to leave a comment.