February 5th, 2013 at 9:07 pm

LibGDX has an inbuilt way of creating and skinning on screen TouchPads.

Below is an example on how to create, skin, draw and move a sprite based on TouchPad input.

The code for this can be found on GitHub @ https://github.com/biggz/TouchPadTest

And finally, here are the images to put in your project-android/assets/data folder

 

block

Touch Background

 

Touch Knob *ahem*

 

 

 

February 5th, 2013 at 8:08 pm

Where do I start?

This site is primarily for me to keep a track of thing’s I’ve learnt and a place to host my hobby coding projects.

I mainly create useful tools to use at work (as a Managed Service Provider) or extremely basic mobile games.