Games are organized into "locations" (scenes), making it easy to visualize and manage the flow of a story.
class Puzzle: def __init__(self, name, description, solution): self.name = name self.description = description self.solution = solution qsp game editor
*pl 'This adds a new line of text.' *nl 'This adds a new line, but separates it from previous text.' Games are organized into "locations" (scenes), making it
As QSP is an older open-source project, setup requires a few specific steps. Games are organized into "locations" (scenes)
(Note: jump is used for internal location jumps, while loops can also be done with while in newer QSP versions).
def main(): editor = QSPGameEditor()
! Inside a location called 'Fight' gs 'CombatLogic', 10, 'Goblin' if dead = 1: goto 'Game Over' end