Docs


Launch another World

These functions allow you embed in your run a pretty 'launch button' to run Worlds, like the launch buttons used on the main Ancient Brain site. The 'button' is a small World image, hover makes it zoom, and click starts a run.

These functions return the HTML code needed to make the 'button'. You then put this HTML code somewhere in the run page.

You can of course do your own launch of another World, including with just a simple hyperlink.

 

AB.launchWorld ( worldid, worldtitle );                          // returns HTML string 
AB.launchWorldMind ( worldid, worldtitle, mindid, mindtitle );   // returns HTML string