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)
Defend your island from hordes of invaders!
Status | In development |
Author | forloopcowboy |
Genre | Strategy |
Tags | Alternate History, Automation, Family Friendly, Indie, Pirates, Tower Defense |
Languages | English |
More posts
- Beta 2024.11.9 - Branding! And guidance.10 days ago
- Beta 2024.11.8 - TWO NEW CANNONS! BATTLE REPORT STATS SCREEN!!12 days ago
- Beta 2024.11.5 - Level Rebalance and Magenta Canyon!14 days ago
- Beta 2024.11.4 - UI Overhaul Continued15 days ago
- Beta 2024.11.1 - Complete UI overhaul, time-travel corrections, and other user f...17 days ago
- Alpha v2024.10.4.1 - Addressing player feedback34 days ago
- Alpha v2024.10.4 - Some quality of life features...34 days ago
- Alpha v2024.10.3 - New Cannon!35 days ago
Leave a comment
Log in with itch.io to leave a comment.