Game Development Community

Image Map Builder not loading Image

by Isaac Barbosa · in Torque Game Builder · 09/22/2007 (4:28 pm) · 3 replies

This is weird:

I was trying to change every image map settings (AllowUnload to true, preload to false) and after Run my game, TGB crashes.

I went to my datablocks.cs file to change them again (AllowUnload to false, preload to true, for every image). Now TGB run and don't crashes. But there is one Image map that is not loading and if I try to do, Image map builder set image file size to 0 and it doesn't show anything. I have deleted the image and I insert a new one, I try renaming it, but the issue is still happening. What could be wrong here?

Thanks

#1
03/12/2010 (2:04 pm)
Isaac: If you're still around, I found a source of the problem after running into it myself. It seems to be an issue with Linked imagemaps- After going into the source, it looks like they're trying to bind the textures for rendering, but the texture handle doesn't exist (since it hasn't been loaded yet) and it dies. Without changing anything in 1.7.4, by just commenting out my Linked image maps, it runs just fine. Hope this can help!

Edit: Well, it applies to the first part, anyway. Hadn't run into the second issue, with the mis-sizing of an image.
#2
03/13/2010 (8:16 am)
Thanks. I never figured it out so I will try this solution :)
#3
03/13/2010 (8:18 am)
WOW!!! 1970!

I post this before born!