Developer

Welcome to ShiVa Developer, the primary resource and tutorial website dedicated to all your ShiVa needs. We want you to find everything you require within a few mouse clicks. Exploit ShiVa’s full potential by learning new functions from the API Reference, discovering new tutorials on specific topics in the Community WIKI, or by sifting through the Official Tutorials.


Five Latest Blog Tutorials

We regularly post new tutorials on our blog. Go to the full tutorial list here.

ShiVa Lua unlocked Pt.4: code injection, garbagecollector, coroutines

Welcome to the probably last entry in this tutorial series. Today, we are going to have a look at the last remaining undocumented RealtimeAPI functions, which allow you to load arbitrary external Lua code, control the garbage collector, and let functions run seemingly in parallel.Read more ...


ShiVa Lua unlocked Pt.3: API dump, Types, Assert, Globals and Unpack

Up until now, we only had a look at the new Lua 5.2.3 features included in ShiVa 2.0 and EditorLua. Today, we will have a look at hidden RuntimeLua functions and look at some handy hacks that could make your coding life easier, but also much more dangerous!Read more ...


ShiVa Lua unlocked Pt.2: Editor DLL modules

Modules for the ShiVa 2.0 Editor are written in Lua (logic) and XML (UI). With far over 2000 Editor API functions and constants, you can write very sophisticated modules with the Editor Lua API alone. Although from time to time, you might run into C/C++ code that does exactly what you need for your ShiVa module. Wouldn't it be nice if you could just integrate that code into the editor without converting everything into Lua?Read more ...


ShiVa Lua unlocked Pt.1: tables, os, io

At its core, ShiVa is a C++ engine which also allows developers to use Lua directly inside the editor for easy coding. ShiVa has an extensive API with over 5000 functions and constants to choose from. Most of them are covered in our documentation. To make the Lua interface possible, ShiVa ships with a complete Lua interpreter, which means a great selection of helpful additional functions are available to you which you were probably not aware of if you only used the ShiVa documentation and not the official Lua documentation.Read more ...


ShiVa Multitouch explained

Ever since the iPhone revolutionized the smartphone world, multitouch has been a staple technology that allows users to interface with their mobile devices through simple taps and swiping gestures. Multitouch support has also been a part of ShiVa ever since version 1.6 many, many years ago. However, the behaviour of the touch handlers might surprise you if you have only ever worked with mouse pointers before.Read more ...