Adding support for additional cameras in game #715
Replies: 5 comments
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
|
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2020-03-23 14:34:43
User: KvaGram [] (age: 1068 days 🔥; posts: 52)
I figured this deserves it's own thread.
So, I have picked up issue number 71 from the project backlog.
I have spent the day working up a procedure that I hope won't break the existing engine.
And there is a risk.
My plan would result in changes in several classes:
iCamera
GameWorld
RenderComponent
Screen
GameScreen
ScreenManager
ScreenManager would see the biggest changes of all, as it requires a total rewrite to support this.
I took great care to make sure I had plans for any compatibility issue with any old code.
Now, there is a very good chance I missed something preparing this, so I'm putting my notes up here for you to read (if you really are insane enough to go though my 138 lines of rambling and psudocode).
I will start implementing it soon. For now, my brain needs a rest.
https://pastebin.com/w5gWeTbJ
But hey, here is a bonus. This change, if it works, accidentally also lays the groundwork for a graphical overlay panel. Well, maybe not all that accidentally.
Beta Was this translation helpful? Give feedback.
All reactions