Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: diduk 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"
}
-
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.
-
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.
-
Yes, that's why I said you'd need to create a combined image.
-
Thanks all Ok!