Comments (3)
This is an interesting problem. We don't really want to just allow people to get into a bad state. So letting you turn off the first page at any time wouldn't be great, it would break the game entirely and probably the app to some extent. And letting you turn on first page on any page, so there are temporarily two pages, seems rife with peril as well. Really we need a special function for changing what the first page is, so that they can be swapped and saved to the database at the same time. We can probably use the page list/pages view to allow you to pick a new first page and then do the swap, might not be a big lift.
A question of data integrity: Should a newly created first page have any decisions leading to it removed? No, games can loop, it shouldn't be assumed that the first page has no pages leading back to it by default. I think when a page is anointed the first page, no changes need to be made to it...
from gamebookengine.
Not sure why it wasn't obvious earlier but... if you're on a page, and you hit "first page" to change it to the first page, it should just prompt you then that this will swap the first page in the game to this page... easy peasy.
from gamebookengine.
Okay, so I got this rigged up, it'll turn off the current first page and then set the new page... but it seems to not play nicely with the page visualization interface, like it's not redrawing the full graph, probably need to do something special there...
from gamebookengine.
Related Issues (20)
- Add encryption plist file
- Editing game metadata does not update game list view
- Introduction Video / Slideshow / Tutorial
- Improve iPad Introductory Screen HOT 1
- Improve App Store screenshots
- Improve Gamebook Card Design HOT 1
- Community Discord HOT 1
- Gamebook Library Cloud Backups HOT 7
- Conditional Text / Page Data Model Changes / Image Support (?)
- Gamebook Analyzer
- Orphaned Page Deletion
- Deleting page from page list does not remove page from the list HOT 2
- Player Rewinding
- Flesh Out Wiki HOT 1
- Game List Empty State
- Mac Client
- Support Older iOS Versions (13 & 14) HOT 4
- Web Player HOT 1
- Telegraph HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamebookengine.