Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: sandEboy on October 16, 2020, 09:24:05 AM

Title: Playmaker Virtual Joystick With Axis Vector
Post by: sandEboy on October 16, 2020, 09:24:05 AM
Hi, I have a simple first person shooter game where I have the keyboard getting the axis input and moving in 8 directions accordingly as an animation is played. The mouse simply looks around.

But I'm making it for the mobile platform so I'm trying to have 2 virtual joys where the left one would control the 8 directional axis movement and the right one would look around as the mouse would. There are various virtual joy solutions outside of playmaker but I don't want to use those as I have less control and no idea what I'm doing.

I need one I can easily integrate with playmaker and use to my liking. If there is any such solution out there please help. Specifically I need the movement of the left joy to operate as axis event and initiate a transition to another state based on the input. To also get the axis vector and store the magnitude in a movement variable.
Title: Re: Playmaker Virtual Joystick With Axis Vector
Post by: djaydino on October 17, 2020, 12:52:54 AM
HI.

On the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) there is a sample called 'UI Joystick'
Maybe that can be useful :)