Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

Code for the in game function


Hi all,

Where can i find the code for the in game functions?
I was wondering how the getNearest() function is working and if i could see the implementation of the function.

Thanks in advance


The code is all available on their GitHub:


Actually, most of the code for the game engine is inside the level editor itself: – click “Components”, then click on a component to see its code. getNearest is in alliance.Allied, strangely enough.

Archmage @Darredevil has built a Components documentation page that will soon be built into the level editor, and it will even have the Components’ code included as soon as we next deploy.


Thanks for the info.