Skip to content

Flipmap toggle#114

Merged
chreden merged 12 commits intomasterfrom
flipmap-toggle
Apr 17, 2018
Merged

Flipmap toggle#114
chreden merged 12 commits intomasterfrom
flipmap-toggle

Conversation

@chreden
Copy link
Copy Markdown
Owner

@chreden chreden commented Apr 17, 2018

Add initial version of the flipmap toggle.
'Flip' checkbox added to the UI.
Now store and use alternate_room from the level file.
Rooms are identified (in code) as 'IsAlternate', 'HasAlternate' or Normal.
Toggling flip when user has a flip room selected will take the user with them to the new room.
Entities are rendered in the original room and the alternate room.
#42

chreden added 12 commits April 15, 2018 17:02
Add whether they HasAlternate, IsAlternate or are None
Actually store the alternate room after reading it from a level
Also regen transparency when the flip happens
This fixes depth mode (mostly)
…ate and flip is toggled

If user is looking at A in depth and clicks flip, A flips to B so the user then focuses on B.
This now only happens when you click on a room. The room navigator now only changes your camera when you are already in Orbit mode. This means that you can toggle flip and it won't refocus the camera if you have a room that is involved in flipmaps selected.
…alternate mode

Stops the user being able to get out of sync
…ip state to match

This stops problems where it tries to render rooms that aren't visible according to the global state.
@chreden chreden added this to the v1.0.5 milestone Apr 17, 2018
@chreden chreden merged commit 97c5d08 into master Apr 17, 2018
@chreden chreden deleted the flipmap-toggle branch April 17, 2018 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant