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: The cursor(problem) and item simultaneously on the screen  (Read 2882 times)

0 Members and 1 Guest are viewing this topic.

diduk

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
The cursor(problem) and item simultaneously on the screen
« on: January 13, 2011, 12:24:51 AM »

I have made the cursor and item simultaneously on the screen.
The cursor is drawn always under item.
Whether it is possible to make that the cursor was drawn over item?

ITEM
{
   CAPTION = ""
   NAME = "ruchka"
   SPRITE = "items\ruchka\ruchka.tga"
   CURSOR = "items\ruchka\ruchka.sprite"
   CURSOR_HOVER = "items\ruchka\ruchka_a.sprite"
   CURSOR_COMBINED = TRUE
   SCRIPT = "items\ruchka\ruchka.script"
}
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: The cursor(problem) and item simultaneously on the screen
« Reply #1 on: January 13, 2011, 11:48:58 AM »

I'm afraid the order is hardcoded and cannot be changed. You'd need to set CURSOR_COMBINED to FALSE and paint an image with both the mouse pointer and item image.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

diduk

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: The cursor(problem) and item simultaneously on the screen
« Reply #2 on: January 13, 2011, 12:12:28 PM »

If I set CURSOR_COMBINED to FALSE, will only draw an item, the cursor will not be drawn.
But I need the cursor over item.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: The cursor(problem) and item simultaneously on the screen
« Reply #3 on: January 13, 2011, 02:05:07 PM »

Yes, that's why I said you'd need to create a combined image.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

diduk

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: The cursor(problem) and item simultaneously on the screen
« Reply #4 on: January 13, 2011, 03:38:04 PM »

Thanks all Ok!
Logged
 

Page created in 0.025 seconds with 19 queries.