Graal Forums  

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

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 13 votes, 4.69 average. Display Modes
  #1  
Old 03-29-2012, 03:47 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
Quote:
Originally Posted by Stefan View Post
Hmmm the problem can be that the npc was not previously visible when you were drawn it on the drawing panel? It might load the textures just in memory and then cannot be drawn normally to OpenGL/DirectX.
I took a somewhat laggy and inconclusive video to try and show you the problem.



Source code:
PHP Code:
  new GuiDrawingPanel("Test_DrawingPanel") {
    
width height 64*16;  // Creates a drawing panel as big as the level
    
0;  // Places the drawing panel in the top left corner of the screen
    
clearall();
    
    
// Let's scan through the NPC's in the level and draw them!
    
for (temp.npcDatanpcs) {
      
// Draws the NPC on the board on the same position as it is placed at in the level
      
drawobject(temp.npcData.x*16temp.npcData.y*16temp.npcData);
    }
    
    
// Makes the drawing panel click-through, moving around is a pain in the ass otherwise
    
useOwnProfile true;
    
profile.modal false;
  } 
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
Reply

Tags
graal v6, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 06:47 AM.


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