Recent

Author Topic: Cursor : crCross  (Read 2236 times)

Zath

  • Sr. Member
  • ****
  • Posts: 391
Cursor : crCross
« on: July 27, 2016, 11:16:24 am »
I have a basic game with TShape balls scrolling around a form.
Using an onMousedown over a ball increments a score.

I set the cursor to a crCross to act as a basic crosshair for targeting but when its over a ball, it reverts back to a pointer.
Can this be stopped ?

Thanks

Zath

  • Sr. Member
  • ****
  • Posts: 391
Re: Cursor : crCross
« Reply #1 on: August 04, 2016, 12:06:01 am »
The simple answer was to change the cursor setting for when over the ball to crCross.

Handoko

  • Hero Member
  • *****
  • Posts: 5427
  • My goal: build my own game engine using Lazarus
Re: Cursor : crCross
« Reply #2 on: August 04, 2016, 05:18:00 am »
Have you solved the issue? If not, please show us your code. It will be easier for us to understand the issue if you provide more information.

Zath

  • Sr. Member
  • ****
  • Posts: 391
Re: Cursor : crCross
« Reply #3 on: August 04, 2016, 10:52:47 am »
Have you solved the issue? If not, please show us your code. It will be easier for us to understand the issue if you provide more information.
This cursor issue, yes, thanks.
I'm still working on the main code, trying out different things. My next task is to try and work out a collision routine using the top and left values of the TShape item.

 

TinyPortal © 2005-2018