leetvr / hotham

Hotham is a tool for creating incredible standalone VR games.
Apache License 2.0
391 stars 28 forks source link

[Tracking] The dreaded editor - first pass #387

Open kanerogers opened 2 years ago

kanerogers commented 2 years ago

Background

Here we go - the dreaded editor.

What are we trying to achieve?

"Game editor" is a very general term that can mean lots of different things:

Let's call these modes - scene editing mode, and live editing mode.

This issue will focus first on scene editing mode.

What is a scene editor?

The first question to answer here is what is a scene?

For a game with different levels, a scene could just mean a level, whereas an open world game might just have a single scene. Since we're a VR engine, we tend not to have huge (eg. at the scale of something like Elden Ring, or Red Dead Redemption 2) open worlds, but these still could be quite large (eg. around a square kilometre).

So we can then narrow a scene to be "the state of the game at some logical starting point". If we continue along the logic of #378 then we can simply say that the a scene should be identical to the contents of the ECS world at startup.

How will we build this?

This then defines the problem space quite narrowly: we need some program that can:

Okay, let's get started.

TODO

kanerogers commented 1 year ago

References

Fyrox editor: https://github.com/FyroxEngine/Fyrox/tree/master/editor Dioxus: https://dioxuslabs.com/