Top sellers


Product Code: jppicker
Availability: In Stock
Built for: Optimized list or picker items management
Product Version: 3.0
Online Demo: http://www.julien-pierron.com/sample?sample=jpdemo&product=jppicker
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: $65.00
Seller information: Julien Pierron
Country: France, Metropolitan
Company: Julien Pierron
Qty:     - OR -   Wish List
A picker is a list of items which can be scrolled and where the item at the middle is the selected one. JPPicker will do all the hard stuff of computing the picker position and will give you the state of the list and the middle item in real time. Then you are free to use the values provided by JPPicker on any kind of elements, for instance HUD components or scene objects.

The JPPicker animation is very pleasant and smooth, there is a bonce effect when the list is out of the start or end position. It is possible to enable an option to make the picker to always end its scrolling on an exact item position.

Its usage is very easy, just tell JPPicker the number of items in the list and you are almost done:

function MyAIModel.onInit ( )

local hObjectDelegate = nil
local nItemCount = 20
JPPicker.addPicker ( hObjectDelegate, nItemCount )


function MyAIModel.onPickerPositionDidChange ( sID, nPosition, nItemIndex )

this.updateItemsPosition ( nPosition )


function MyAIModel.onPickerCenterItemDidChange ( sID, nIndex, bListCurrentlyScrollingToItem )

this.setSelectedItem ( nIndex )


The result is very impressive. Take a look at the JPPicker example in the demo, at the race selection screen.

JPPicker also provides a wonderful function, named JPPicker.helpMeUpdateMyItems, to help you manage your picker in order to have a huge number of items without any performance issues. I have created a tutorial on that subject you should read if you want to learn more about the impact of your Scripting Strategies on your Game Performance: http://www.julien-pierron.com/tutorial.php?v=scripting_strategies

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

Write a review

Your Name:

Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:

ShiVa Store © 2019 - Powered By OpenCart