Examples

Here, you can play around with the examples that come with iffinity.

Name Description Code Demo
An Example Story The standard simple example that comes with iffinity's ifc init command. Code Demo
Three Snippets A more complex example, with multiple snippets, tags, scripts and styles. Code Demo
multfiles An example demonstrating how to use multiple scripts in your project, including a convoluted utilization of the tag system. Code Demo
Lifecycle Demonstrates the snippet lifecycle events and story.onLeave(). A snippet starts a timer, hands the engine its cleanup, and the next snippet checks at runtime that the timer actually stopped. Code Demo
linebreak An example used to test the linebreaks that may be introduced (e.g. by your editor) in the snippet links. Code Demo