multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.4k stars 431 forks source link

Customization of game cursor color and size #3555

Open Proxy-99 opened 3 months ago

Proxy-99 commented 3 months ago

Is your feature request related to a problem? Please describe.

add ability to set the color and size of in game cursor without using external resources

Describe the solution you'd like

settings tab>interface>colors should be added there

Add more scripting functions

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

Xenius97 commented 3 months ago

You can make a script easy via setCursorAlpha and dxDrawImage

Proxy-99 commented 3 months ago

You can make a script easy via setCursorAlpha and dxDrawImage

I know but native function would be easier and save time and proccese but I am not sure how big the difference between using the native mouse render and the onClientRender setCursorAlpha means that the mouse still render though?

Nico8340 commented 3 months ago

It would not be possible to customize the cursor in this form, because currently the cursor changes depending on the theme, because the image of the theme contains it.

In terms of accessibility, I think it would be worthwhile to implement some customizable options. It's not just the cursor, many other accessibility settings are missing.

Proxy-99 commented 3 months ago

It would not be possible to customize the cursor in this form, because currently the cursor changes depending on the theme, because the image of the theme contains it.

In terms of accessibility, I think it would be worthwhile to implement some customizable options. It's not just the cursor, many other accessibility settings are missing.

I will try to add setCursorColor() as a function for scripters