HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] HW vs SW mouse cursor  (Read 1095 times)

McMagic

  • General Accounts
  • *
  • Posts: 128
    • View Profile
    • Novus Inceptio
[Resolved] HW vs SW mouse cursor
« on: Feb 16, 13, 02:40:46 AM »

...
« Last Edit: Mar 07, 14, 03:33:26 PM by McMagic »
Logged

McMagic

  • General Accounts
  • *
  • Posts: 128
    • View Profile
    • Novus Inceptio
Re: HW vs SW mouse cursor
« Reply #1 on: Feb 16, 13, 06:18:02 AM »

...
« Last Edit: Mar 07, 14, 03:33:32 PM by McMagic »
Logged

FI-ScottZ

  • General Accounts
  • *
  • Posts: 1407
    • View Profile
    • Forever Interactive, Inc.
Re: HW vs SW mouse cursor
« Reply #2 on: Feb 16, 13, 10:08:48 AM »

The SW cursor operates by hiding the HW cursor, and creating a gui control for the cursor and updating its position to match where the HW cursor is.  Because it is run in script, it can be a bit slower to respond than the HW cursor that runs natively in Windows, so I prefer HW cursors.  But SW cursors can be more customized, and since it is a gui control, you can do anything to it as you would any other image-based control.  That includes doing an animated cursor.  You can customize the SW cursor(s) via the Cursor Spec Oracle and its editor.

A minor limitation of the HW cursor is that when using SetCursor() to change it to something other than the default cursor, it has problems rendering in HeroBlade. When it is moved, the cursor will flicker back and forth between the new cursor and the default one.  Fortunately, that does not happen in the Player Client.
Logged
Scott Zarnke
Lead Programmer, Visions of Zosimos
CTO, Forever Interactive, Inc.

McMagic

  • General Accounts
  • *
  • Posts: 128
    • View Profile
    • Novus Inceptio
Re: HW vs SW mouse cursor
« Reply #3 on: Feb 16, 13, 11:36:04 AM »

...
« Last Edit: Mar 07, 14, 03:48:48 PM by McMagic »
Logged

ToY-Krun

  • General Accounts
  • *
  • Posts: 677
  • Support Volunteer
    • View Profile
Re: [Resolved] HW vs SW mouse cursor
« Reply #4 on: Sep 13, 18, 06:18:15 AM »

Thanks a million Scott!  Finally got round to setting up the custom cursors in AoH, and this helped a ton.
I decided to go with HW cursors, for my use, i don't need the added benefits of the GUI elements.

(Yeah i know this is quite an old post but wanted you to know I appreciated it)