Posts

Houdini Basics

March 29, 2019 Houdini Basics Interface and Physics Youtube - SideFX Houdini For Absolute Beginners Youtube - PHYSICS For Absolute Beginners - SideFX Houdini Tutorial By: Surfaced Studio As I am on vacation over break, I just wanted to quickly check out some basic Houdini tutorials to go over for my classes next quarter. These ones seemed to cover the absolutely basics as well as getting into some of the simulation aspects I want to check out specifically using Houdini.

Simple Query System

March 25, 2019 Simple Query System Reference Data in Other Scenes Coffee Brain Games - Simple Query System This Query System idea is something I came across as another potential method for passing data between scenes in Unity. This could be very beneficial for my multi-scene setup that I am trying to create.

Unity Multiple Scenes and Controlling Loading

March 25, 2019 Advancing Tower Defense Tutorial Moving Objects and References to New Scenes Catlike Coding - Multiple Scenes and Loading Levels Catlike Coding - Object Management The Catlike Coding information on Multiple Scenes and Loading levels has a lot on how scenes are loaded in Unity and how to control that process better. I also included the link to the overal Object Management tutorial that this Multiple Scene write up is a part of. That seems like another useful overall source, that could also enhance the application of this Multiple Scene tutorial. They start by creating a new scene and moving certain objects into it. After setting this up, they correct an issue they had where recompilation messes up the pool scene. This happens because they are using a scriptable object instead of the default monobehaviour for their script. Unity serializes the private fields of Monobehaviours when compiling, but not for Scriptable Objects. This meant CreatePools would...

Unity Scene Management - Fixing New Scenes to Work

March 21, 2019 Advancing Tower Defense Tutorial Moving Objects and References to New Scenes Myriad Games Studio - HOW TO USE THE UNITY SCENEMANAGER Now that I had the scenes loading properly enough, I actually needed to get all the references fixed finally. I had not altered the references since looking to implement the concept of having an all time Logic Scene, a Base Scene, and a Level Scene, so some of the references were broken when I split them up, especially between the Base Scene and Level Scene. This provided an interesting challenge since I did not want to make objects/scripts in the Base Scene public static, so I wanted to look to a way to have them communicate to each other through the Logic Scene. Currently, I think all of my GameManager functionality does not work being in the Base Scene. I am looking to split some of its functionality so that I can move the GameManager to the Logic Scene, and keep the more level related info in a new LevelManager that wou...

Preserving Data Between Scene Loads in Unity

March 21, 2019 Advancing Tower Defense Tutorial Moving Objects and References to New Scenes Youtube - Unity Tutorial: Preserving Data between Scene Loading/Switching By: quill18creates I came across this video on preserving data between scenes in Unity when trying to find ways to cross-scene reference variables. This did not solve those issues, but it was helpful for understanding static variables and their uses better. Static Variables: These variables become part of the class. This is what allows them to persist between various scenes. A good practice for working with these is to make them protected, so they can not be get or set. Then you just allow other scripts to affect them by calling methods within the script that contain the protected static variable. Using static variables can lead to messy "global" style variables, or nice encapsulation. Static variables can also lead to weird errors in Unity's Editor specifically, just because of the way it ...

Unity Scene Management - Finalizing Scene Loading/Unloading Process

March 19, 2019 Advancing Tower Defense Tutorial Altering Scene Format Myriad Games Studio - HOW TO USE THE UNITY SCENEMANAGER Now we are going to look at fixing our scene loading so that occur with better timing and in the right order. The fading animation timing also needs fixed to work with this new scene loading setup. We want to look at ordering these operations as: complete animation, complete loading next scene(s), unload current scene. Because we are looking to do several methods in order and only want to proceed when the previous is finished, my first thought was to make them all coroutines and have an overall IEnumerator run them with yield return. As far as I've seen, yield return can be used to ensure a coroutine finishing processing before starting the next action, as scene in the SceneLoaderAsync script I am following from Myriad Games in a previous blog post. I started by removing any scene loading from the FadeOut coroutine so it was strictly dealing ...

Callbacks and Event Systems

March 18, 2019 Creating an Event System in Unity Event System with Callbacks Tutorial Youtube - Unity Tutorial: Callbacks and a (Really Awesome!) Event System By: quill18creates Following in my learning of delegates and events, I stumbled across an interesting tutorial on creating Event Systems in Unity. I just wanted to note this as something to follow up on in the future since the general concepts I got from skimming through sounded very promising and good to learn about.