[editor] On texture sheets

For discussion of the code running behind the game

Moderator: Staff

User avatar
gorzuate
Developer
Posts: 2575
Joined: Thu Jun 17, 2004 3:03 am
Location: Hermosa Beach, CA
Contact:

[editor] On texture sheets

Postby gorzuate » Tue Dec 18, 2007 9:03 am

So as you may have seen from other posts I've made, I was messing around with texture sheets in the editor, and here's what I came across.

First off, if you get to compile, the texture sheets are shown in the bottom left corner of the map. To cycle through them just press Ctrl-T, or access the menu item in the View menu.

The problem is they're all black and nothing shows up in them. When I open the demo_town map the first time, I get 7 all-black texture sheets. Yet the tiles in the opengl portion of the editor display fine...
When I open the demo_town map the second time, I get 12 all-black texture sheets, and all the tiles are white (I also get some video warnings about not being able to load the debug font nor initialize the text manager, but I don't think these are causing any problems).

So much for using texture sheets to debug what is going on. :| Of course, this all assumes that texture sheets are actually used when the editor invokes the video engine...
Image

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 3 guests