Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   "TILES" constant and showimg()s (https://forums.graalonline.com/forums/showthread.php?t=64672)

Er1c 03-10-2006 11:11 PM

"TILES" constant and showimg()s
 
This may not be a bug and just a missing feature, but it is something I expected to work which didn't which is why I'm posting it here in the bug forum.

The "TILES" constant which works with GUIShowImgCtrl()s does not work with normal showimg()s. Normally it would set the image to whatever the player's current tile set is, which would be very useful for showimg()s for displaying tiles on the level. It's much easier this way rather than converting screen coordinates to level coordinates, especially when making tiles show where they will appear (at integers 0-63 instead of floats) on the level.

Admins 03-23-2006 03:52 AM

The TILES thing requires the GuiDrawingPanel, it must buffer the tiles somewhere for displaying them. With level coordinates you mean it's complicated to position the GuiDrawingPanel correctly? Eventually that problem is solved when the gui objects can be displayed in other layers (<4), will try to test that soon.

Warcaptain 03-23-2006 04:58 AM

he means that in our level editor you theres no way (for when you are showing tiles being dragged) to show the current tileset, without manually setting it in the tileset.

Er1c 03-23-2006 05:23 AM

Quote:

Originally Posted by Stefan
Eventually that problem is solved when the gui objects can be displayed in other layers (<4), will try to test that soon.

Okay, great. That will work well, too. Any way you can also add support for adding image parts together to be buffered into a GuiDrawingPanel? For example when showing many tiles as showimgs it starts to lag, but if the image parts could be added to a container and buffered the lag shouldn't occur

Admins 03-23-2006 03:05 PM

use GuiDrawingPanel x-x


All times are GMT +2. The time now is 08:38 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.