Tutorials – ShiVa Engine

Category Archives: Tutorials

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. The day Read the full article …


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 …


FOV, Aspect Ratio and HUDs

Developing cross platform games confronts you with a large number of operating systems, processor architectures, graphics APIs and input methods. But don’t forget about all the different screen sizes, orientations and aspect ratios, which you need to take into account for FOV and HUD design!


Tables with tables in tables

ShiVa is a C++ engine with a Lua scripting interface. While this works great for calling API functions, it does have its pitfalls when it comes to organizing and storing data. Since tables are the main (in fact, the only) data structuring mechanism in Lua, these pitfalls become especially apparent when trying to combine ShiVa Read the full article …


  • slackBanner