Game
Vortrus
6 years ago

What I Learned About "Retrying" Vortrus' Levels: The Do's and Dont's of Scene Management


Hello, sorry for the wait between devlogs! I’m going to try to push out one every few days from now on if I can manage it. Without further ado, let’s get into it!

So as you may or may not know, Vortrus is my first real game and as such I’ve made a lot of “rookie” mistakes while developing it. Many of these were simple fixes, and frankly this is no exception. For example, during early development, I was changing the alpha of my UI to 0 in order to “hide” pause menus and such. This was obviously ineffective (very much so! I could just turn the gameobject off…). Even THAT, however, is trumped by my latest mistake: instead of simply using the loading function again on the scene to reset everything, I simply wrote a function to reset EVERY single gameobject.

This is obviously feasible… I simply put a destroy function on every script of every object that destroyed it when a certain static variable was triggered. But obviously, this added a lot of overhead.

The Solution

The solution to this dilemma was simple: I simply reloaded the scene. This cut down significantly on overhead. It is simple, elegant, and I CANNOT believe I overlooked this simple mistake. Oh well, it won’t be sneaking into any future projects, that’s for sure.

Keep posted and make sure to follow Vortrus to get updates! As always, thank you to my followers!



0 comments

Loading...

Next up

New To Vortrus: Volume Sliders!

New Creation Video Dropping Tomorrow Watch as this new concept art comes to life! Check it out on Youtube tomorrow at 1pm Eastern Time! Also keep watching for new updates in the days to come!

Working on a new type of ship! Hello, I am currently working hard on a new ship type called the Tyranis Carrier which will bring lots of new possibilities for the way you eliminate enemies. Stay tuned!

Haven't had much time to work on Vortrus, but I have had time to add pretty post processing! Pretty good looking, huh?

Working on level 6! I’m currently working on level 6 of Vortrus! This level will include combat against ground units among other new situations. It also will include the first actual terrain! :D Note that the screenshot is still very much a WIP.

A New Enemy Type Appears! The Protus Raider will be in Protus Maximum and Minimum!

A new patch just went live... along with this behemoth of a weapon! Why not earn it?

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Just a Pico sprite

I-Buki

Mio-Da!

Ibuki Mioda!