![]() |
Set layers and RGB/alpha in GuiDrawingPanel
Is it possible to change / set layers in the GuiDrawingPanel aswell as the RGB/alpha value? I'm messing around with something on Delteria which does display the tiles inside the DrawingPanel, the NPCs but the NPCs and players.
But the NPCs dont have the proper layer. Aswell I couldn't find any way how I could fix the problem with the RGB and alpha. Using maskimage(x, y, img, mode) was the only solution I could find which is not perfect. While using drawObject(x, y, obj) it doesnt seem to be a problem or atleast I couldnt find one yet. This is the code I am using: PHP Code:
http://uploads.graalcenter.org/upload/screenshot_3.png |
No, so you have to determine and draw each layer.
|
Ok, thanks.
Recently I found another bug: Sometimes NPCs do seem to disappear while checking for them. I have to update the level to get them back. But they do get displayed in the GUI. How does it come that some disappear, some wont and how can that get fixed? The script of the NPC which disappears PHP Code:
PHP Code:
http://uploads.graalcenter.org/upload/screenshot2.png |
It might be an issue with my npc class :P I'll have a look.
EDIT: Nope. Not my class. |
Quote:
http://forums.graalonline.com/forums...39&post1690139 + the next couple of posts. |
Quote:
|
Whatever you've got going there, it looks really nice. Good job.
|
| All times are GMT +2. The time now is 11:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.