Commit Graph

9 Commits (ff7111b0064774b716831dfb8d622297f4c04c33)

Author SHA1 Message Date
Zed A. Shaw ff7111b006 Icons now work way better and don't have the the 'Rayview cuts icons' bug. It actually was a bug in the lel-guecs Sprite class that was using the TextureRect from the source sprite. Now its initialized with the framesize from the .json. This also uses the new guecs::Icon, but I have to fix that as it doesn't scale correctly. Closes #2. 4 days ago
Zed A. Shaw 19682fd0bc Add the frame width/height to SpriteTexture. Closes #13 4 weeks ago
Zed A. Shaw 5c47a0151c Basic loot UI mostly working. Each time you open there's a torch and you can place it visually on any slot on your character. 2 months ago
Zed A. Shaw dc8648016d Refactor the way assets are laid out in the assets/ dir and then have a build script that can automatically pixelate/posterize images that I save, saving me tons of time. 2 months ago
Zed A. Shaw 931d9493d2 The raycaster can now pair a floor with a ceiling tile and to demonstrate this I have a blue light that shines on to a stone floor. I also played with just pixelating a regular image rather than painting it and honestly it looks better in a lot of ways. 2 months ago
Zed A. Shaw 3a745d492a Refactored out the tilemap since it was mostly doing nothing useful. 2 months ago
Zed A. Shaw d0a6a92bc8 More testing improvements. 5 months ago
Zed A. Shaw 0260e3d345 Textures and sprites are now managed by a single module in textures.hpp, and even though it is a _single_ location to access all sprites it is NOT a singleton. Those are illegal. 5 months ago
Zed A. Shaw f3e1413022 Intermediate refactor to move everything over to using the textures module rather than everyone using one TexturePack thing. 5 months ago