Thread: showimg bug
View Single Post
  #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