#
#gamedev progress:
- added a simple debug UI, as it got unfeasible keeping these options on function kes.
- reworked lectern. It now has 3 places where flasks are placed. Flasks will be used to change drawing color on scrolls.
Personal Blog about anything - mostly programming, cooking and random thoughts
#gamedev progress:
I've implemented a simple rectangle packing algorithm, which I want to use for the font texture.
The algorithm is only 40 lines long. It keeps track how far each row is already filled and greedily inserts rectangle at the place where they are "most to the left", starting with the tallest rectangles.
#gamedev progress:
I can now draw on scrolls :)
#gamedev progress:
started work on a scroll, which will be used for drawing. Got the system setup to show a debug image.
#gamedev progress:
I've did a larger refactoring of the "level" generation in order to allow infinite levels. Each room is created individually and on creation a number of corridors are created. Each corridor has "portal" at the end connecting to another room. Rooms are only loaded once the player enters a corridor. This way only two rooms have to be loaded at a time.
#gamedev progress:
Option<_> wrapping#gamedev progress
Prototype to write in books. I will have to refactor input handling. Currently I'm passing a big struct with the state of each key into the update function. This does not work well for typing.
#gamedev progress:
#gamedev progress:
#gamedev progress:
First text rendered inside of a book!