Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-01-2006, 05:09 PM
ToNy_W ToNy_W is offline
Registered User
Join Date: Aug 2003
Location: Quebec
Posts: 130
ToNy_W is on a distinguished road
Send a message via AIM to ToNy_W
Showpoly problem!

Alright, i don't know if i'm doing something wrong there or if it just shouldn't be done, but here's my problem:

i draw a polygon with showpoly:

showpoly(200,{player.x, player.y, player.x + 5, player.y, player.x + 5, player.y + 5, player.x, player.y + 5});

and then i try setting an image:

findimg(200).image = "image.gif";

when i use door.png or block.png it works, the image takes the size of the polygon and all, but if i try with images that i uplaoded by myself (png or gif, i've tried both), it gets all weird x-x!
Attached Thumbnails
Click image for larger version

Name:	showpoly.gif
Views:	192
Size:	14.1 KB
ID:	38062  
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:57 PM.


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