ZapBox 2.0 and Controller Sliders in ZapWorks Studio ver 5

I’m loving all the updates to Zapbox and ZapWorks but I’m still waiting on the coding to use the slider buttons on the controllers. I thought I saw it was part of the updates.


Hey Steve,

This still hasn’t been released yet, we’ll let you know when it does :slight_smile:


Ok… I’m finished with my entry so started looking at all the new zapbox things and couldn’t find it.

I guess I’ll just have to wait. :disappointed_relieved:


Hi Steve,

Here’s a demo project to show the current input API that we use in ZapBox:
ZapBoxTriggerExample.zpp (41.6 KB)

I’ve commented the code with some important things to bear in mind.

Here’s just the target file that specifies the slider inputs for the controllers so you can add it to your existing scenes. It will also pull in the world map that you have built in ZapBox:
zapbox_trigger_controllers_withworld.zpt (28.8 KB)

Until we finish up the android app update, I’m afraid this will only work on iOS for now. We’ve been making good strides with Samsung device improvements for that release but I don’t want to promise any dates at this stage. Should be “soon” though! :slight_smile:

Studio 6 will expose this in a more user-friendly way. We may also make breaking API changes to the underlying input API as part of that (although that is pretty unlikely at this stage).

Have fun :smiley:


YES!!! Time to play!!

1 Like