Each week, the fine folks at the roguelikedev subreddit post what they’ve done. This is my update.
Download version 0.8 from 5th of May, 2018 for Windows, Linux, Mac or Play in the browser
(Dose Response is an open-world roguelike where you play an addict)
Mostly engine work this week. The previous SDL experiments uncovered deficiencies in the “engine architecture”. Mostly, the backends were doing way too much work and the game/engine boundary did not work that great. So I’ve tried to clean it up.
- The renderers now only support 2 operations: draw a rectangle or a a portion of the texture map
- Fixed the pure-Rust OpenGL renderer as well as the web backend
- Moved a bunch of code that was previously hidden in the various backends up so it’s available everywhere
Because the backends are now much smaller and everything else (text layout, glyph positioning, screen fade, etc.) is done outside of them, the game finally looks and feels the same on all the backends (rust, sdl, web).