Commit Graph

9 Commits

Author SHA1 Message Date
a6fdbaef2b Make some progress decoding map trailer 2020-06-07 01:44:28 +01:00
c7a2fa80e7 Internalise the map rect 2020-05-20 01:43:44 +01:00
9d0750d134 Scenario viewpoint, Z index management, and arrow controls 2020-04-20 00:16:21 +01:00
5fccf97f4b Lazily load sprite image data
This cuts memory use significantly, since many sprites in an object are
never used. We can get savings over time by evicting sprites when they
go out of scope, but that's, well, out of scope.

To achieve this, I introduce an assetstore package that is in charge of
loading things from the filesystem. This also allows some lingering
case-sensitivity issues to be handled cleanly.

I'd hoped that creating fewer ebiten.Image instances would help CPU
usage, but that doesn't seem to be the case.
2020-03-19 22:24:21 +00:00
b653c11606 Formalise a bit in each cell as an "IsActive()" bit 2018-03-28 01:00:55 +01:00
961a213752 Discover how frames are encoded, use that knowledge to (finally) get the viewport locked in 2018-03-18 15:39:50 +00:00
2f02c7bbf3 Some more map progress 2018-03-18 13:57:01 +00:00
d572a19352 Add the view-map command and some exploration of results 2018-03-18 03:35:03 +00:00
087b236547 Start investigating the maps 2018-03-17 04:15:40 +00:00