Tutorials – ShiVa Engine

Category Archives: Tutorials

Android Plugins part 2: JNI and JAR

Welcome back to part 2 of the Android Plugin tutorial series. This time, our C++ plugin will communicate directly with some Java code that is stored inside a Java Archive (JAR) using the Java Native Interface (JNI).


Android Plugins part 1: Pure C++

Welcome to a new tutorial series for ShiVa where we will be looking at various ways to create and use plugins in your Android applications. Part 1 will cover the general setup, the creation of a test project in ShiVa and Android Studio respectively, and look at potential pitfalls in the coding pipeline.


Using iOS launch storyboards

In this tutorial, you will learn how to adhere to Apple’s recent changes for iOS (SDK 13) by replacing the traditional ShiVa splashscreen with a Launch Storyboard.


New plugin headers for 64bit

As you might know, Lua has only one built-in data type for numbers of any kind called number. This datatype can be used to represent any numeric type from integers to floating point numbers. In order to interface with C/C++, ShiVa offers the functions .Get/SetNumberValue() which, until now, always returned a 32bit float.


Simple Setup Guide to ODE Cars

Cars are among the most complex physics objects you can create in your game. Although you only need 4 joints, the number of variations on suspension, engine power, friction, and so on are nearly endless. Before you can experiment with your car to find the perfect balance, you first need to understand how to set Read the full article …


  • slackBanner