Thread: Blue Profiles
View Single Post
  #4  
Old 01-11-2006, 03:25 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Alright, here's a problem.
I'm trying to script an online level editor.
I can't figure out how to draw the tileset in the scroll control.

Problem #1: How can I read the tileset image?
Problem #2: No controls, except for GuiBitmapCtrl, will show anything for some reason.
Problem #3: GuiBitmapCtrl is gradually stretching the image on the horizontal axis, if I use getimgwidth() and getimgheight() for the dimensions. The beginning of the image isn't stretched, but the end of it is extremely distorted.
Problem #4: If I set the width and height to the tileset's size, it draws fine, but as I scroll over, the x position of the GuiBitmapCtrl slides backwards.

If anyone can help, I'd appreciate it.
If not, it's fine, I'm not in good scripting shape at the moment. I'll probably figure it out eventually.
Reply With Quote