Foxmander's Recent Forum Activity

  • You can simulate this by simulating a cursor, the result therefore only working within the game and circumventing the above security issue.

    Add a Cursor sprite.

    Have variables which track the X and Y of the Mouse. Call them MousePrevX & MousePrevY.

    Every tick:

    -> Set Cursor X to Self.X + ( Mouse.X - MousePrevX )

    -> Set Cursor Y to Self.Y + ( Mouse.Y - MousePrevY )

    Don't forget to use the Cursor's position rather than the Mouse's when judging things like what's being clicked on etc. Good luck!

    Cursor object appears below mouse and nothing more happens

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well now i can't make mouse support for my first person game.

  • Hey guys, I have game where i have to move my mouse.

    But when i move mouse to layout's corner, it has to teleport to other, like "Warp" behavior.

    How do i do this? Is there some plugins or other solutions? It can be sprite, not only mouse/cursor itself.

    Thank you for reading, and sorry for my bad english

Foxmander's avatar

Foxmander

Member since 29 Jun, 2017

None one is following Foxmander yet!

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies