7a8e9dbd97
Respect sprite X and Y offsets
...
This makes menus display more correctly, and also fixes trees and other
objects on the main map, although it messes up bounds clipping (sigh).
2020-03-21 00:56:35 +00: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
34d12edc2a
Use palettized images
2020-03-19 19:02:32 +00:00
65249b59c4
Rename go module
2019-12-31 01:55:58 +00:00
6f605aa502
ebiten: convert view-obj
2019-12-29 15:38:49 +00:00
c441851a9b
Don't destroy ordering information in conv.ConvertObjects
2018-12-30 23:22:01 +00:00
0dd44d9de7
Limit texture size to 8192x8192 pixels
2018-10-13 01:37:44 +01:00
1fa61c72c2
WIP: Speed up rendering by using a spritesheet
2018-10-12 23:02:24 +01:00
aa093faabc
Move RLE decoding into a separate package
2018-10-12 20:22:40 +01:00
056976721c
Determine the RLE format for .obj file sprite pixeldata
2018-09-08 02:00:03 +01:00
b653c11606
Formalise a bit in each cell as an "IsActive()" bit
2018-03-28 01:00:55 +01:00
4d4c4da892
More .obj investigating. 0x80 seems to be a special value
2018-03-24 21:47:34 +00:00
c69beafa76
Speed up drawing and experiment with using rotation on the draw operation to get the right coordinates
2018-03-23 01:27:38 +00:00
456f71bfb9
Complete the rename from chaos-gate -> ordoor
2018-03-22 20:31:10 +00:00
2d423a4c4c
Rename view-map to minimap and work on a real view-map
2018-03-22 04:15:31 +00:00
62bff1aa44
Move the palette code into internal/ so view-map can share it
2018-03-22 01:56:46 +00:00