Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 09:49:39 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)cursor control
Pages: [1]
Print
Author Topic: cursor control  (Read 867 times)
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« on: 05. February 2007, 01:54:58 am »

Does the HUD mess or change AWT cursor setting??   Oddly enough I just noticed that the various cursor shape changes I make are no longer being shown.   I am using a variant of the ego handler, changinf exclusive mod based on what the user is doing. 
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 05. February 2007, 02:07:01 am »

Does the HUD mess or change AWT cursor setting??   Oddly enough I just noticed that the various cursor shape changes I make are no longer being shown.   I am using a variant of the ego handler, changinf exclusive mod based on what the user is doing. 

No the HUD doesn't handle the AWT cursor, nor the LWJGL one. If you want to use the HUD's cursor you'll have to hide the cursor yourself. So it cannot be responsible for your problems.

HIAL handles the AWT- and LWJGL cursor. Maybe there's a bug. Could you maybe post a small example?


What sort of "variant" do you use? Could I maybe merge it with the original? One change I will do to the EgoInputAdapter after the 0.9.0 release is, that it will no longer listen on input events, but look for key state changes. But this will break the API a little bit, so it will be a task for after 0.9.0. And I will rename it to EgoInputHandler and maybe let it extend a base class to be able to write another extension for third person input.

Marvin
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« Reply #2 on: 06. February 2007, 03:12:26 am »

My variant is used because it works with the old xith collision system.  Moving the avatar that represents the user during collision tests etc.  I tried once or twice to use your version only and failed so I dropped back to my version.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic