Projectile editor with IMGUI!
In order to visualize the frame stretching projectiles, I needed to create a projectile editor. This required UI and Level systems to be in place. So must of the work here is just code under the hood, but not a lot of visuals.
This will be used to determine which grid nodes a projectile is potentially colliding with.
End goal is to stretch projectiles from frame(n-1) location to frame(n) location.
Here demonstrates something I often encountered when doing things mostly from scratch:
you very often find yourself needing to implement supporting systems to implement what you want.
I wanted to just create a debug visualization of of my projectile stretching idea, but needed a separate place to test that.
So, I did some house keeping and created a level system.
This necessitated some UI code, so I would not have to hardcode which level loads every time I wanted to change levels.
Another case of needing supporting system
I went with the IMGUI library as it is really easy to integrate and is set up for GLFW/OpenGL.
Now I have created a "projectile editor" level where I can visually debug the projectile stretching behavior.
But this behavior is not implemented yet, that will be in the next update.
I still donot understand why the reason of creating such applications when we have unity and unreal