Home Tutorials Download Store Forum Documentation Wiki Blog
Caching and External Sources
20th November, 2012 in Scripting, Tutorials

Learn how to use the cache and system APIs to stream remote videos, textures, and game content to your ShiVa application!

Elegant Level Changing
21st August, 2012 in Basics, Scripting, Tutorials

Changing a level scene is just one line away with application.setCurrentUserScene. But can you do it the elegant way?

ShiVa Flash: ActionScript 3 Interaction
26th June, 2012 in Export, Scripting, System, Tutorials

Thanks to the UAT 1.4, you can now create project builds. Read this tutorial to learn how to modify ActionScript documents and add a whole new level of interactivity to your ShiVa Flash application!

Introduction To The LUA Metatables: Default values in the declaration
21st September, 2011 in Scripting, Tutorials

This tutorial is a small extension to the previous tutorial about Lua metatables. It show you another way to declare a metatable, how to add default values in your metatable.

Introduction to the LUA metatables: The URL example.
21st September, 2011 in Scripting, Tutorials

This tutorial teach you an easy way to manage your URL parameters in your application by using LUA metatables.

Fake the Editor to make it believe it is a device
13th September, 2011 in Scripting, Tutorials

Sometimes, it is boring to test your script if your game targets several devices, because you have some “if ( android ) then elseif ( iphone )…” in your code for instance.
There is an easy trick to make your script thinking that it is running on a specific device.

Buttons normal/pressed textures managment
7th September, 2011 in HUD, Scripting, Tutorials

Having buttons in your HUD is fine for your application to work, but it’s better when the user can have a feedback of his actions. That’s the goal of this tutorial, changing the texture of a button when the user clic it with his mouse, or tap it with his finger.

Mix mouse and multitouch
16th March, 2011 in Scripting

When creating a game for a mobile device with multitouch capabilities, it’s difficult to test the code inside ShiVa Editor on a computer with no multitouch. This tutorial explains you how to simulate the multitouch using the mouse.

Get path, filename and extension
16th March, 2011 in Scripting

It is often interesting when you have to download an image to put into cache to get the name and the extension of the file in the URL.

Rotate the viewport
16th March, 2011 in Scripting, System

Learn how to rotate the viewport according to the device rotation using the accelerometer

Page 1 of 3123