Open illegalinstruction opened 1 year ago
background blur: https://godotshaders.com/shader/simple-blur/
https://godotengine.org/qa/5175/how-to-get-all-the-files-inside-a-folder <-- enumerate all files in a given dir example code
Some bits will need to be thrown out and recoded - I mistakenly thought it was possible to enumerate the files in a .PCK - this is, as far as I can tell, unsupported in 3.5.
The original idea was to try to make it easy to contribute new Discoveries without recompiling. I still think this is a good idea, but it's going to have to wait until after the conference. What's going to happen in the interim is:
Dictionary
somewhere that lists all the Discoveries, along with their flavour texts (and maybe throw together some kind of script to convert a comma-delimited text file to the proper format).bool
somewhere (with the same number of elements as the Dictionary
from step 1) to track whether each discovery has been seen at least once or not, and maybe a second one to handle whether it was photographed or not.Spatial
, and in a collided-with-player signal handler, set the appropriate bool out of table in step 2 to true
.bool
s to disk.
Acceptance criteria:
discovery.tscn
exists on disk and can be loaded into???
instead of a name[enter]
or XBox(A)
, the background blurs, the mesh of the discovery is shown in the foreground, and a scrollable box containing the flavour text is show next to it. (For 1.0, the text may be scrolled in pages if that's easier to implement.)[ESC]
or XBox(B)
should hide the mesh and flavour text and take the user back to the discovery list, ideally with some kind of effect (for 1.0, this may be as simple as we can get away with).[ESC]
or XBox(⬅Back)
should take the player back to the main menu.