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.
