Difference between revisions of "Talk:FAQ:Is it possible to write your own IF engine"

From IFWiki
Jump to: navigation, search
 
Line 1: Line 1:
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. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 17:26, 18 February 2020 (UTC)
+
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. In other words: Using a VM avoids the issues of game saving/loading, text output, portability, and (to some degree) reliability. You will still have to write the parser by yourself, though. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 17:26, 18 February 2020 (UTC)

Latest revision as of 17:32, 18 February 2020

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. In other words: Using a VM avoids the issues of game saving/loading, text output, portability, and (to some degree) reliability. You will still have to write the parser by yourself, though. --Zzo38 (talk) 17:26, 18 February 2020 (UTC)