NN81's Recent Forum Activity

  • Controllo mouse pointer from keyboard or trigger a 8dir sprite with mouse movement

  • I know you said it was not what you wanted, but I think it's easier to simply hide the real cursor and use a fake cursor which can be controlled any way you like. Then just figure out how to bypass your problem with 8 dir. movement. Shouldn't be that hard.

    well, if u know a way to trigger 8dir movement of a sprite WITH mouse movement please let me know, NO set position. TRIGGER 8DIR simulate control with mouse movements.

  • ok, but i need move the cursor not lock

  • > Because with 8dir sprite go back automatically at mouse cursor point when i tale the control from keys to mouse

    >

    Yes. Didn't knew it is a problem heh. Why is it a problem?

    This is a problem in my project.

  • Nwjs can bypass most of the webpage limits. In theory at least. I'm haven't been interested enough to get pass the process to do such a thing though.

    Understood. I think give a try with electron too..

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Because with 8dir sprite go back automatically at mouse cursor point when i tale the control from keys to mouse

  • The mouse behavior doesn't have that ability, it's not really something webpages allow.

    If you use nwjs you could look at its plugin for an action to do it. I haven't looked.

    There is also a third party plugin called mouse lock that may be of use to you. You should be able to find it in the third party addons list.

    Barring those the only other avenue for a solution is using nwjs and finding a way to make access the mouse position there with either JavaScript or some nwjs specific plugin. It's not really a quick solution at all and would require research to do.

    Thanks for the answer, I had already tried that plugin in the illusion that it could help me, but I do not think it serves anything to move the pointer ..

    These actions are available. Do you say they could serve me something?

    Something for nw.js ... but if the mouse is unmovable from browser scripts because it should be different on nw.js? Is not a stand-alone version of chromium?

  • There is only one gamepad API in web browsers. Anyways it's probably something to make a bug report for since Ashely is probably the expert on how it works and has the best chance of finding a fix.

    I don't have a controller so I have no interest. Maybe some revelation could be found by comparing the code on that site and the gamepad plugin but that could take time. But so would taking the code on that site and making a c2 plugin with it.

    As always, thank you infinite to answer.

    Certain errors, incompatibility issues are expressly stated in the manual, so I do not complain. What I just do not understand is because that site works and C2 does not ..

    NB I have obviously tried the site from chromium60, and the game from C2 with nw.js version 0.24 (chromium60)

    Ashley you can catch this code and make a better gamepad plugin for C2?

  • As mentioned in the other topic, there is only one gamepad html5 API provided by browsers. Likely the c3 plugin uses the same code as the c2 one. If there are compatibility issues with a controller a bug report is probably the best way to improve it.

    ok, i was hoping that maybe with the new version some api's / plugins had been revisited but I'm realizing that C3 is dragging all C2 limitations in this sense

  • hi guys,

    is it possible to control mouse cursor from keyboard?

    I need this feature urgently...

    thanks in advance to anyone who reply..

    NB im not intersetead to make a sprite pointer similar and move it with a behavior, i NEED to take the control of the true cursor, but from keyboard instead of mouse.

    No one who can help me?

  • Hello everyone,

    I would like to ask which API's use construct2 for the default Gamepad Plugin and if is possible to change them with those used here: http://html5gamepad.com/

    With the Construct2 plugin, in fact, on my gamepad D-PAD and RIGHTSTICK does not work, and left/right triggers works inverted.. But testing my controller on that site everything works perfectly..

    how can explain this?? maybe the C2 gamepad plugins API's are outdated or what else?

    No one who can help? <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

  • hi,

    i need to know if the C3 gampead plugin api's are the same used for C2, or i f they are updated with more compatibility

NN81's avatar

NN81

Early Adopter

Member since 9 Feb, 2017

None one is following NN81 yet!

Trophy Case

  • 7-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies