Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-10-2006, 11:11 PM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
"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.
__________________
Eric Kraft
Reply With Quote
  #2  
Old 03-23-2006, 03:52 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.
Reply With Quote
  #3  
Old 03-23-2006, 04:58 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
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.
Reply With Quote
  #4  
Old 03-23-2006, 05:23 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
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
__________________
Eric Kraft
Reply With Quote
  #5  
Old 03-23-2006, 03:05 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
use GuiDrawingPanel x-x
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:14 PM.


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