User Tools

Site Tools


en:tutorials:display:custom_mouse_cursor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tutorials:display:custom_mouse_cursor [2018/09/10 09:35 (6 years ago)] – external edit 127.0.0.1en:tutorials:display:custom_mouse_cursor [2021/06/26 06:26 (3 years ago)] (current) sausage
Line 8: Line 8:
 </code> </code>
  
-{{ :en:tutorials:display:hand-cursor.png |}}+{{ tutorials:display:hand-cursor.png |}}
  
 Alternatively, a very nifty feature is to provide your own image as the cursor (''png'', ''jpg'', ''bmp'', ''tga'' or ''webp'' are all supported). Great for games where a fancy cursor is needed, ie: Alternatively, a very nifty feature is to provide your own image as the cursor (''png'', ''jpg'', ''bmp'', ''tga'' or ''webp'' are all supported). Great for games where a fancy cursor is needed, ie:
  
-{{ :tutorials:amiga-cursor.png | }}+{{ tutorials:display:amiga-cursor.png | }}
  
 <code ini> <code ini>
Line 26: Line 26:
 </code> </code>
  
-{{ :en:tutorials:display:custom-cursor-outside.png |}}+{{ tutorials:display:custom-cursor-outside.png |}}
  
 And like a normal cursor, it will hang outside the bounds of the window when you are the right or bottom extremes. Very nice. And like a normal cursor, it will hang outside the bounds of the window when you are the right or bottom extremes. Very nice.
  
-You can change cursors using the [[en:tutorials:guide_to_the_orx_console|Orx Console]]. Press the ~ key to open the console and type:+You can change cursors using the [[en:tutorials:config:guide_to_the_orx_console|Orx Console]]. Press the ~ key to open the console and type:
  
     Mouse.SetCursor crosshair     Mouse.SetCursor crosshair
  
-{{ :en:tutorials:display:cursor-orx-console.png |}}+{{ tutorials:display:cursor-orx-console.png |}}
  
 Finally, you can set a mouse cursor in code: Finally, you can set a mouse cursor in code:
Line 52: Line 52:
 </code> </code>
  
 +===== Hiding the mouse cursor =====
 +If you don't want a cursor to display at all then you won't want to show it. You an use the ''ShowCursor'' in the ''Mouse'' section. See [[en:orx:config:settings_main:main#mouse_module|Mouse Config inputs]] for more details.
en/tutorials/display/custom_mouse_cursor.1536597328.txt.gz · Last modified: 2018/09/10 09:35 (6 years ago) by 127.0.0.1