Vritual Joystick

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

sabotage3d
Just popping in
Just popping in
Posts: 17
Joined: Tue Sep 23, 2014 19:32

Vritual Joystick

Postby sabotage3d » Sat Oct 04, 2014 09:48

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

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Vritual Joystick

Postby Ident » Sat Oct 04, 2014 16:42

Can you be more specific about what you want, for example by giving screenshots from similar applications?
CrazyEddie: "I don't like GUIs"

sabotage3d
Just popping in
Just popping in
Posts: 17
Joined: Tue Sep 23, 2014 19:32

Re: Vritual Joystick

Postby sabotage3d » Sat Oct 04, 2014 19:47

This is a video of the desired behavior: https://www.youtube.com/watch?v=6rwED_Xq4Ms
Similar controls are used in many games on mobile for example: shadowgun and world of tanks mobile.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Vritual Joystick

Postby Ident » Sat Oct 04, 2014 21:29

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.
CrazyEddie: "I don't like GUIs"

sabotage3d
Just popping in
Just popping in
Posts: 17
Joined: Tue Sep 23, 2014 19:32

Re: Vritual Joystick

Postby sabotage3d » Sat Oct 04, 2014 23:33

Thank you I will follow your advice


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests