Talk:FAQ:Is it possible to write your own IF engine

From IFWiki
Revision as of 17:27, 18 February 2020 by Zzo38 (Talk | contribs)

Jump to: navigation, search

Something not mentioned here, but probably should be, is VMs. I recommend writing your engine to target a VM such as Glulx or Z-machine; text output and saving/loading will be included, so you need not implement them yourself (you will still need to implement a command in your game to tell it to save, but then the VM will handle saving the game data to files and managing those files). You can do this independently of any standard library. You could write code to compile into the VM code using any programming language that is capable, such as Inform or ZIL, or use an assembler, such as Glasm or ZAP. --Zzo38 (talk) 17:26, 18 February 2020 (UTC)