Virtual Joysticks Extension [3.1]

johantri

  • Posts: 64
@joeldom have you try to search your game folder on this button? it's called "View Games Folder" and then it will pop up the windows explorer and you can search for your game name folder and paste the "extras" there.

Abliblablobla

  • *
  • Posts: 524
alright i'm  stuck on how to properly install this....not sure where to stick the extras folder I keep getting errors when I try to import the resources

Install this extension as you would install a normal extension. Click here to learn how to install an engine extension.

About the "extras" folder
1) Inside Stencyl, go to the “Welcome Center”.
2) Click the “View Games Folder” button in the bottom left corner.
3) Open the “games” folder.
4) Open the “name-of-your-game” folder
5) Download the "extras" folder at the end of the first post.
6) Unzip it.
7) Move it inside your "name-of-your-game" folder.
8) Done!
.: BuruBuru :.

Abliblablobla

  • *
  • Posts: 524
I try this extension in Ubuntu 14.04, it doesn't even recognize the zip file and Stencyl is searching for image file instead. Help..

Are you able to install other extensions on Linux? Make sure you didn't unzip "myjoystick.zip".

It works on windows though, however when i try to switch the animation (when i change the direction of the joystock), it only shows the first frame of animation. How come?

Could you post a screenshot of your behavior?
.: BuruBuru :.

joeldom

  • Posts: 35
alright so I got it installed....how do I set up behaviors so it makes my actor move?

Abliblablobla

  • *
  • Posts: 524
alright so I got it installed....how do I set up behaviors so it makes my actor move?

If you want to move an actor using a joystick, you have to use the "get distance/direction" block. Read the documentation provided at the end of the first post to learn more about this block. If you still need help, please write a more detailed question.
.: BuruBuru :.

djngam

  • Posts: 63
it works fine on PC for me but not when I test it on my android device. thats really weird. is anyone else having this issue?

zawrot13

  • Posts: 783
I think I found the bug.  When I try to use the boolean where the joystick is pressed,  the attribute gives me sometimes false.  Could You check this one?

zawrot13

  • Posts: 783
I.ve tested this problem more.  If I touch the joystick and not move the finger, the boolean gives me TRUE, but if I move the finger a little bit, the boolean changes to FALSE.   It creates some promlems like If You try to use some attributies just after You touched the joystick and move it to some posstion. You will not be able to do it because the boolean give You the False result.  Maybe I'm wrong but it is for me big problem in many logical situations.

zawrot13

  • Posts: 783
The last problematic issue is that the same boolean is changed for one joystic even If You touch the next one. SO the id for one joystic is not recognised by the next one if You use the joystick detect block using both joystick.

Northfield82

  • Posts: 649
Whenever I use the Static joystick, as soon as you touch the centre of it, it shoots off to the left.  I have tried using the 'centre static joystick block' but it has no effect.  If I try using the relative joystick it works fine.


elimoraless

  • Posts: 39
I dont understand anything about this. I want a joystick that moves 8 ways up, down, left, right and the diagonals at speed 24 show where pressed. if not pressed 0 speed, the actor won't follow the joystick, can anybody please help me i don't nothing about programming. PLEASE. the joystick i have works great on android but on iOS NOTHING.

elimoraless

  • Posts: 39
Same thing happens to me :(

Jon

  • *
  • Posts: 17524
The author has been away from development for some time now. Just so he can efficiently work through issues when he's back in full capacity, could we get a clear, itemized list of what is broken?

Northfield82

  • Posts: 649
Hi TheeSeaver,

I just tried the joystick as you recommended above, but I still had the same problem where as soon as you touch the centre of the joystick it think you're pressing off to the left somewhere.

It's as if it needs calibrating.  Centre is not actually in the centre but about 2/3 towards the outer joystick to the right.

Also, relative joystick only appears to work (for me) when the block 'always hide joystick when touch is released' block is used.

Cheers

robinschaafsma

  • *
  • Posts: 714
**Update 3.0**
Hello all,

I have update the extension for Openfl (deleted all nme), this extension is working properly for the latest build
I have make a example game, to let you see how to set up the Joystick properly. (see first post)
Also a new extras folder is available for download at the bottom of the first post.

Download the example game from StencylForge or at the bottom of the first post.

A WIKI page is available here: https://github.com/byrobingames/Virtual-Joystick/wiki
I try to update this page when i have the chance, input is welkom.

Regards,
Robin..