Author Topic: Tileset loader works!  (Read 770 times)

Entroper

  • Moderator
  • *
  • Posts: 180
  • Gender: Male
    • View Profile
Tileset loader works!
« on: January 23, 2011, 08:56:10 PM »
And here's the Town tileset rendered on my 1920x1200 screen (attached).  Mmm, bilinear filtering. :)

EDIT: No wonder the screenshot function was crashing.  I should not try to declare 6 MB arrays on the stack...
« Last Edit: January 24, 2011, 12:07:08 AM by Entroper »

Entroper

  • Moderator
  • *
  • Posts: 180
  • Gender: Male
    • View Profile
Re: Tileset loader works!
« Reply #1 on: January 26, 2011, 08:46:04 PM »
I've moved this functionality into a Tileset class that now correctly maps TileIDs to OpenGL texture handles.  I should be able to put maps on the screen very soon.