Saturday, September 15, 2012

Map editor overhauled


I rewrote the map editor so it uses openGL instead of swing; it is so snappy and sleek now! Fortunately, the conversion was made easy with code that I copied from my game class. I am currently working on a system to load all image assets with giant spritesheets instead of individual images for each one...  what was I thinking-right? Rendering, loading, and adding new assets are all faster with giant sheets. Sheets also allow for more customization. Item icons are all stored in a gigantic sheet, and items created in the asset editor have a parameter for the index of an icon on the sheet. Yeah! Tell me that's not awesome.

No comments:

Post a Comment