Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Cursor Combined  (Read 3115 times)

0 Members and 1 Guest are viewing this topic.

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Cursor Combined
« on: February 14, 2005, 10:37:54 PM »

How can I offset the inventory item with the game's cursor when I have them combined?

For example, if I select and inventory item for use in the game world, that item and the game cursor are fused together like some weird mutant cursor.

The only way I can see around this is to make the item's image have a lot of blank space around it (in the alpha channel), so that when they're combined this space pushes the item image out more, but this messes up my nicely laid out inventory window.

What else can I do?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Cursor Combined
« Reply #1 on: February 14, 2005, 10:45:19 PM »

You can create sprite files for your item cursors. These sprites would only have one frame, and in SpriteEdit you can modify their "hotspots". My moving the hotspot you'll be able to affect the drawing distance from the normal cursor.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

robot

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
    • View Profile
Re: Cursor Combined
« Reply #2 on: April 30, 2009, 03:39:47 PM »

hi!
i have now the same problem and want to ask if there is another workaround in the meantime than to create a new sprite for each item?
it is because i have now a lot of items and it would be much easier to change only the coordinates for example.
you know what i mean? is this possible?
« Last Edit: April 30, 2009, 03:43:50 PM by robot »
Logged
 

Page created in 0.041 seconds with 24 queries.