NEWB Questions~ Nyo~

Blitz3D Forums/Blitz3D Beginners Area/NEWB Questions~ Nyo~

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

[pseudocode]

HidePointer
Load Default Mouse Cursor (using LoadImage)
Load Alternate Mouse Cursor

>Start main loop
draw button images
Draw Default Mouse Cursor at mouse coords (using DrawImage)
Test collision between Mouse Cursor Image and Button Images
If Collided then
  Change Mouse Image
  Change Image Mouse collided with
endif

<End Main Loop


[/pseudocode]

Perhaps use types to track the button and mouse states