Alpha v2024.10.5 - Visual effects and performance improvements
There is not much to talk about for this release, but there was a lot of work involved in it. In summary, I looked at the core elements of the cannons and decided to implement some visual effects to highlight them. They are:
- Cannon fire: The cannonball was too small and it was hard to see when cannons opened fire. Now there's a flashy particle effect inspired from this video.
- Projectile trajectory: Same issue as above. I added a smoke trail to show that, and in my opinion it looks pretty decent.
- Missed target: Added a water splash effect when projectiles make contact with the water.
As for performance improvements, I will inform you: Behind the scenes the situation was very crude. Lots of `Instantiate` and not enough `Destroy`s or kill planes. This resulted in the scene being littered with active Rigidbodies falling eternally or rolling around the bottom of the ocean. Not to mention the unnecessary amount of duplicate visual effects. So I build around Unity's ObjectPool and reduced the amount of active "expensive game objects" from 200-300 at any given time (mind you, before any effects were being instantiated...) to a absolute total of 170 game objects instantiated throughout an entire level, and only 30-50 active during the peak of activity.
I am pretty happy with the resulting game architecture. It will allow me to continue adding content in the form of cannons and levels without having performance concerns brewing in the back of my head.
Let me know if you enjoy the upgraded visuals! And if you notice performance improvements, don't hesitate to let me know as well.
Thank you for trying Recolonizer!
Files
Get Recolonizer – Tower Defense
Recolonizer – Tower Defense
Prepare the cannons! Defend your island against pirates and imperials, managing your resources to defend your land.
Status | In development |
Author | forloopcowboy |
Genre | Strategy |
Tags | Alternate History, Automation, Family Friendly, Indie, Pirates, Tower Defense |
Languages | English |
More posts
- Beta 2025.02.2 – Another UI overhaul and other improvements...13 hours ago
- Beta 2025.02.1 - New maps, new ships!1 day ago
- Beta 2024.11.9 - Branding! And guidance.Nov 12, 2024
- Beta 2024.11.8 - TWO NEW CANNONS! BATTLE REPORT STATS SCREEN!!Nov 10, 2024
- Beta 2024.11.5 - Level Rebalance and Magenta Canyon!Nov 08, 2024
- Beta 2024.11.4 - UI Overhaul ContinuedNov 07, 2024
- Beta 2024.11.1 - Complete UI overhaul, time-travel corrections, and other user f...Nov 04, 2024
- Alpha v2024.10.4.1 - Addressing player feedbackOct 18, 2024
- Alpha v2024.10.4 - Some quality of life features...Oct 18, 2024
Leave a comment
Log in with itch.io to leave a comment.