jpTools

jpTools

Contains tools for other plugins.
Version : 2.0
Price : Free
tvosipadiphone

Downloads

Changelog

v2.0

  • Now compatible with Apple TV
  • Now compatible with ShiVa 2.0.

v1.1

  • Optimized for ShiVa 1.9.2

API

This plugin has no LUA API

Description

This plugin is required by other plugins.

Just reference it in your game, there's nothing else to do.

However you can use the tools it provides for your own plugins or in your xCode projects. Here's how to use it for your iOS plugins/projects:

  • Include the jpiOSTools.h file (provided in the additional files)
  • Use the functions it provides:
    • + (UIViewController*)getMainViewController; //Return the main view controller of the ShiVa iOS application
    • + (UIView*)getMainView; //Return the main view of the ShiVa iOS application (containing the game rendering).