Difference between revisions of "ROOM 0"
Line 4: | Line 4: | ||
− | From the | + | From the [[AGDS |official AGDS - Adventure Game Development System Document]] |
<div class="Quote"> | <div class="Quote"> |
Revision as of 13:25, 26 March 2018
This page is a stub page. Please help if you can provide more information.
From the official AGDS - Adventure Game Development System Document
Adventure Game Development System wrote: ROOM #0 contains the LOGICS that are common to the entire game, low level functions like "SAVE GAME," "HELP," etc. Instead of coding instructions to handle saving the game into every room, put it in room 0. DYNAMIC LOGICS are used for the same reason. They are rooms that have no picture, but process commands that occur in multiple ROOMs. Every ROOM that needs swimming can load a LGC.SWIM which deals with commands like SWIM, and standing ego up when he is no longer in water. It would be a nuisance and a waste of disk space to code this redundantly for each ROOM with water in it. If it were in ROOM #0 it would occupy ram even in ROOMs without water. Memory is valuable; anything that cuts down memory requirements is good!
Description
Logic 0 is special, so a room number of 0 is not valid.
References
See also