You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hallucino edited this page Jan 26, 2018
·
23 revisions
Welcome to the Unicorn wiki!
It is fairly easy to create a simple game with Unicorn Console.
You could create directly a UNI empty file with at least the section code ("__python__" or "__lua__" or "__javascript__"), with the 3 functions that will be called by the engine.
_init : Called once on startup, mainly to initialize your variables
_update: Called once per visible frame, mainly to get keyboard input for example
_draw: Called once per visible frame, mainly to draw things on the screen :)