Any Limits of the desktop version of Quest

In the past for some text adventure creators there has been limits to the number of rooms, locations etc that can be created, so I'm wondering if Quest has any limitation. For example can you create an adventure with 500 rooms, you could end out with this many rooms if you were in a maze or explored 20 building with each building containing 25 rooms. Also you could have a lot of objects if some objects were an alternative to the main object (caveman, angry caveman, sleeping caveman, book, partly burnt book, etc.

Brian


I don't think there's an actual limit, but maintaining the object list could theoretically slow a ghame down.

A lot of functions (including those used in the core) work by looping over the list of all objects and checking if they're in the room we're interested in. Even just a command like "north" involves looping over every exit in the game, until one is found that's both in the current room and whose alias matches what the player typed. This could become slow with large numbers of objects (although I would expect to have tens of thousands of objects in a game before this becomes noticeable).

There may also be a limit on the memory available to the Quest interpreter. "Out of memory" errors are less common on a modern computer, but still theoretically possible. I'm not sure if there's some arbitrary limit to the number of objects, or to the memory allocated for them. But if there isn't, there would come a point where your computer starts relying on virtual memory, which given the way Quest is designed would be incredibly slow.

So… there might be a limit, but it's certainly not on a scale of hundreds of objects. I suspect the editor might start running slow sooner than a game being played does, bit I'd still expect it to be thousands of objects, if not tens of thousands.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums