m3data / Ministry-of-Futility-Game

The Ministry of Futility is a text-based adventure game that immerses players in a world of inefficiency and pointless bureaucracy.
Other
0 stars 0 forks source link

Background images per scene #2

Open m3data opened 1 month ago

m3data commented 1 month ago

At the moment the atmosphere of the game is left up to the scene description and the imagination of the player. We could create some images that represent locations or evoke the imagination to align to the scene feels. Then add another parameter to the Plot.md that links to the image in a static/img folder. The plot-updates.py script would then need to be modified to parse this as well and add it to the generates scene JavaScript files.

For separation of concerns and maintaining modularity we'd prob want to create a sceneLoader.js which would handle the display of these images relevant to the scene. That file could handle future scene relative styles and dynamic content such as audio etc.