![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: Nosy question for alex |
passerby |
![]() hi! i have been wondering, don't answer if you don't want to because you might want to keep this to yourself, how Quest works internally, and just how any Adventure game engine works internally. Not so much what functions, but what data structures do you use to represent Locations, Objects, Characters, etc, and what collections you use to store them in? |
Alex |
![]() Variables. |
passerby |
![]() so they're all (Locations,Objects, and Characters) just stored as the strings representing their names? |
Alex |
![]() Strings are used everywhere - all the strings describing a room are kept together in a room data type, etc. Fairly common-sense stuff. |