Page 1 of 1
Vritual Joystick
Posted: Sat Oct 04, 2014 09:48
by sabotage3d
Hello ,
I am looking into making a virtual joystick for use on mobile devices what is the best starting point in terms of CEGUI. Is there support for animated button that can be adjusted for the task.
Thanks in advance,
Alex
Re: Vritual Joystick
Posted: Sat Oct 04, 2014 16:42
by Ident
Can you be more specific about what you want, for example by giving screenshots from similar applications?
Re: Vritual Joystick
Posted: Sat Oct 04, 2014 19:47
by sabotage3d
This is a video of the desired behavior:
https://www.youtube.com/watch?v=6rwED_Xq4MsSimilar controls are used in many games on mobile for example: shadowgun and world of tanks mobile.
Re: Vritual Joystick
Posted: Sat Oct 04, 2014 21:29
by Ident
I am not aware of any code lying around that does this and this is definitely not a built-in CEGUI feature at this point. However it should be easy to develop that using two Generic/Image windows for example. The one would be parent of the other. Some drag and drop feature could be implemented using the event handlers. Should definitely be doable. Unfortunately I have no example.
Re: Vritual Joystick
Posted: Sat Oct 04, 2014 23:33
by sabotage3d
Thank you I will follow your advice