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 01-22-2005, 09:14 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
showimg bug

It doesn't let you show something from before x=1024 in the same showimg as after 1024

PHP Code:
//#CLIENTSIDE
if (created) {
  
showimg 0,pics1.png,30,30;
  
changeimgpart 0,900,0,320,64;

This example cuts off at 1024 in pics1.png
__________________

Reply With Quote
  #2  
Old 01-23-2005, 02:37 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
Quote:
Originally Posted by Evil_Trunks
It doesn't let you show something from before x=1024 in the same showimg as after 1024

PHP Code:
//#CLIENTSIDE
if (created) {
  
showimg 0,pics1.png,30,30;
  
changeimgpart 0,900,0,320,64;

This example cuts off at 1024 in pics1.png
Images are not allowed to be that big, never use pics1.png for showimg because it lags majorly.
For drawing the tiles the game is only loading the pixels of the image into a buffer, so not directly transferring it into the video memory, so a size bigger than 1024 is ok, but not for images that are actually drawn on the screen.
Reply With Quote
  #3  
Old 01-23-2005, 04:37 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
it's not drawing the whole thing

it uses changeimgpart and draws a little part of it

it's for a tile editor script

i think it's a bug

it stops drawing the image at the 1024 on the image when using changeimgpart with an initial x on the image of less than 1024
__________________


Last edited by Evil_Trunks; 01-23-2005 at 05:23 AM..
Reply With Quote
  #4  
Old 01-23-2005, 04:47 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
I still think that adding the ability to draw and manipulate textured triangles would be the way to go for graal. I could finally make a decent 3d engine then, and besides, there would be some very interesting playerworlds that would come about from this addition.. and those would probably draw more players, too.
__________________
Reply With Quote
  #5  
Old 01-23-2005, 05:29 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
just wondering, why are you posting this completely unreleated thing which has nothing to do with bugs using showimg/changeimgpart?

is it because Stefan posted in this thread?
__________________

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 10:47 PM.


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