| Author |
Message |
GORDON
Active Member
Joined: 30 Apr 2007
Posts: 65
|
Posted:
Tue Feb 09, 2010 1:55 am |
  |
Is there a way to make your cursor change to the "pick icon" as it moves into the drop down inventory to get an item? Thanks! |
|
|
  |
 |
Mystery
Forum Admin and Games Page admin

Joined: 04 Feb 2006
Posts: 2873
Location: Switzerland
|
Posted:
Tue Feb 09, 2010 2:20 am |
  |
|
    |
 |
GORDON
Active Member
Joined: 30 Apr 2007
Posts: 65
|
Posted:
Tue Feb 09, 2010 3:25 am |
  |
Thanks! I may wait for Shadowhunter's new version of Keyguard! |
|
|
  |
 |
mercedes
VIP

Joined: 09 Mar 2008
Posts: 2084
Location: At My PC ..Probably making a game...:)..Or somewhere in Canada..~
|
Posted:
Tue Feb 09, 2010 2:47 pm |
  |
| GORDON wrote: |
| Is there a way to make your cursor change to the "pick icon" as it moves into the drop down inventory to get an item? Thanks! |
Hi there....
Are you asking if you can change your icon--to a different one--in run time--once u hover over a hotpsot--or as its going to your inventory- ?.. |
Last edited by mercedes on Wed Feb 10, 2010 4:16 pm; edited 1 time in total |
|
    |
 |
Mystery
Forum Admin and Games Page admin

Joined: 04 Feb 2006
Posts: 2873
Location: Switzerland
|
Posted:
Tue Feb 09, 2010 4:53 pm |
  |
I think it's clear: when the player hovers over the inventory.
I thought that it might be possible to assign mouse coordinates with Keyguard, but I'm not sure if it would work with a dynamic inventory, or only with a static one. I guess someone who has more experience with Keyguard, or Shadow himself can give a definite answer  |
_________________ Official Forum of Mystery's Games |
|
    |
 |
mercedes
VIP

Joined: 09 Mar 2008
Posts: 2084
Location: At My PC ..Probably making a game...:)..Or somewhere in Canada..~
|
Posted:
Wed Feb 10, 2010 12:31 am |
  |
Oh ok..yes, I see it now..not sure why that wasn't clear before.
cause i wondered that myself a long time ago..[keyguard/inventory]
That would look cool if it looked like u are grabbing the item.. |
|
|
    |
 |
Candle
Administrator

Joined: 07 Feb 2004
Posts: 2806
Location: Rudy's Bar
|
Posted:
Wed Feb 10, 2010 2:50 am |
  |
| Code: |
Dynamically changes the default cursor (the one that you can also change from the "Options" tab of the "Project Properties" window). The syntax is:
Action.ChangeDefaultCursor "FILENAME"
where FILENAME is the name of an icon or a cursor (without the path) that is located inside the "icons" sub-folder of the "Project Resources", which corresponds to the directory "c:\...\PROJECTNAME\icons". The supported file types are ICO and CUR.
To restore the default cursor, replace FILENAME with an empty string, as shown below:
Action.ChangeDefaultCursor "" |
|
_________________ Please don't PM me questions, ask here in the forums!
 |
|
  |
 |
Mystery
Forum Admin and Games Page admin

Joined: 04 Feb 2006
Posts: 2873
Location: Switzerland
|
Posted:
Wed Feb 10, 2010 6:49 am |
  |
|
    |
 |
juhuwoorps
Expert Member

Joined: 08 Jul 2008
Posts: 425
Location: Germany
|
Posted:
Wed Feb 10, 2010 2:43 pm |
  |
What happen when you make a hotspot where the inventory is shown and in this hotspot you change the cursor?
Just an idea, I have never tested it. |
_________________ wuttiggames.com |
|
     |
 |
mercedes
VIP

Joined: 09 Mar 2008
Posts: 2084
Location: At My PC ..Probably making a game...:)..Or somewhere in Canada..~
|
Posted:
Wed Feb 10, 2010 4:01 pm |
  |
| Quote: |
What happen when you make a hotspot where the inventory is shown and in this hotspot you change the cursor?
Just an idea, I have never tested it. |
That kind of works..however it won't hover over the icon directly.....You can see it around it though..so it's still effective..I guess it depends on whether or not you want to still see the inventory item..and the pick cursor..looking like its going to pick it up..from the side..so to speak..With that cursor, it looks good..
Then all you have to worry about is..picking up the item with it..dragging the item...
It works best with the inventory in static mode.. |
|
|
    |
 |
Lyberodoggy
Administrator

Joined: 17 Feb 2007
Posts: 2380
Location: Athens
|
Posted:
Wed Feb 10, 2010 4:20 pm |
  |
probably inventory items are imageboxes. And there's a command to change the cursor when over a vbcontrol. I just can't remember.. |
_________________
Proud team member of the 'Breath' Project
See: http://www.breathadventure.info
 |
|
     |
 |
GORDON
Active Member
Joined: 30 Apr 2007
Posts: 65
|
Posted:
Wed Feb 10, 2010 6:01 pm |
  |
Thanks guys for all the ideas. I just thought it would look neat to have the "pick icon" hover over the drop down inventory item just before grabbing it. |
|
|
  |
 |
|
|