Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Texture issue

Author
Message
Wizz
15
Years of Service
User Offline
Joined: 27th Apr 2009
Location:
Posted: 28th Mar 2010 15:40
I am making a program in which i need to texture a 10 * 10 wall of boxes. I load the image and try to texture the boxes but nothing happens. I've tried it in a nother program where i only texture one box and it works fine. I've beed staring at the code for half an hour and i can't find anything wrong with it... Plase help!



Thank You!

I just love the smell of code in the morning...
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 28th Mar 2010 16:21 Edited at: 28th Mar 2010 16:22
all objects/images/etc gets erased after dbSetDisplayMode(), so call your dbLoadImage() before setting the mode.

Wizz
15
Years of Service
User Offline
Joined: 27th Apr 2009
Location:
Posted: 28th Mar 2010 17:09
Ok that's a new one. Thanks alot mate!

I just love the smell of code in the morning...

Login to post a reply

Server time is: 2024-10-02 03:39:28
Your offset time is: 2024-10-02 03:39:28