Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rating: Thread Rating: 13 votes, 4.69 average. Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 03-27-2012, 11:53 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Found a bug that applies to both v5 and v6. When you draw an NPC on a TDrawingPanel (clientside) it causes the NPC to first become invisible and thus not getting drawn. The NPC is not displayed again until it changes image/gani or the level is updated.

Example code:

PHP Code:
 new GuiDrawingPanel("Test_DrawingPanel") {
  
width height 200;
  
screenwidth/width/2;
  
screenheight/height/2;
  
clearall();
  
  
// Let's scan through the NPC's in the level and draw them!
  
for (temp.npcDatanpcs)
    
drawobject(00temp.npcData);
 } 
Problem does not occur when trying to draw player objects.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
 

Tags
graal v6, windows


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:28 PM.


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