Code Monkey home page Code Monkey logo

Comments (1)

Moros1138 avatar Moros1138 commented on July 19, 2024 1

I can confirm it is not possible to do either of these things with stock/official PGE.

Speaking strictly about cursor. I made modifications to PGE nearly 2 years ago that added ShowSystemCursor(bool) to the PGE API, and implemented them in all of the platforms PGE supported, at the time.

It's located here:
https://github.com/Moros1138/PGECursor

example usage can be found in src/main.cpp

DISCLAIMER: I want to be absolutely clear. The repository I linked is a MODIFIED, OLD VERSION of PGE. A lot can happen in 2 years and some features will no doubt be missing if you try to use it! If you're adventurous, you could use it as reference and modify a more modern version of PGE.

Shifting gears to the relative mouse coordinates.. I just did a quick skim and it looks to me like all of the platform reporting about the mouse movement is done with absolute positions, relative to the window's placement on the screen. I'm sure relative mouse coordinates can be done but I'm not sure how (or if?) it would be implemented.

from olcpixelgameengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.