Need to figure out a better way to camera...
The general idea is that we will have 2 cameras total, one for 2d and one for 3d. Start with 2d and switch to 3d. Each camera will be marked with it's state, and there will be a system which listens for some event (or resource update) to change the camera.bevy0.12
parent
1d17937b4a
commit
c7692d36c1
@ -0,0 +1,10 @@
|
||||
Camera handling:
|
||||
* Set all new cameras as "is_active = false" automatically.
|
||||
* Set loading camera as "is_active = true" upon entering loading.
|
||||
* Set menu camera as "is_active = true" upon entering menu, etc.
|
||||
* Maybe this has to do with loading entry/de-entry? It goes away after entering main menu...
|
||||
|
||||
OK new idea:
|
||||
* Have one enum with all states (no split states)
|
||||
* Assign a state to each camera.
|
||||
* On state change, assign the camera with that state.
|
||||
Loading…
Reference in New Issue