Making a touch control stick for being used in the blenderplayer for android
After a while of being testing the blenderplayer for android, I came up with an improvement for the control stick, the first one has very few steps so the control is kind of limitated and maybe slow, and could be easily done as a “game pad”, not as a directional stick.
This second approach is a bit more complicated but at the same time it has some shortcuts to avoid the extensive use of logic bricks. So I came up with the idea of dividing in four areas (quadrants) then make all the programming to control the positioning of the stick accordingly to the mouse position, and when the mouse is over another quadrant then I rotate the entire map that contain the mouse position used by the stick. Maybe sounds kind of tricky.. and again I know this is not the best way to do it but since I’m not very familiar with python I decided to make it with LB, besides it is faster for prototyping and kinda of funny because (at least for me) is like playing with a puzzle.. any way..
Here is a animated gif showing it basis function:
Sample blend fire will be here soon 🙂