Know the type of any variable or convert it into string
Online Demo: http://www.julien-pierron.com/sample?sample=jpdemo
Forum Link: http://www.shiva-engine.com/forum/viewtopic.php?f=82&t=29258
Req. ShiVa Version:
ShiVa 1.9.2 Engines
Plugin Platform Compatibility:
iOS, Android, WinRT ARM/Phone 8, WinRT x86/_64, Windows Legacy, Mac OS X, Linux, Flash, Web Browser, Palm, Marmalade, BlackBerry, Windows Phone 7, Playstation 3, Playstation 4, Xbox 360, Xbox One, Wii, tvOS
Price: FREE $0
Seller information: Julien Pierron
JPType is a small but very useful pack allowing you to know the type of any LUA variable.
Like LUA variables are untyped, they can contain any value, that's sometimes a problem when trying to do operation between 2 incompatible variables or when passing a parameter with a wrong type to a function of the API
Thanks to JPType, you can now know what is the type of a variable, for instance string, boolean, number etc.
JPType is available for free!
General information :
- This product is compatible with both ShiVa 1.9.2 and 2.0.
- ShiVa 1.9.2 or greater
- LUA project (not compatible with full c++ projects, compatible with LUA projects that use c++ plugins)
You can find an introduction to the packs and how to load them in your game here:
API & Instructions
Sample projects that use my packs