Commit graph

106 commits

Author SHA1 Message Date
Josh Deprez
f05090594c sceneref.go; imageCache now aware of assets 2021-08-23 11:00:51 +10:00
Josh Deprez
0f5346bf0e all in on interfaces 2021-08-23 10:34:56 +10:00
Josh Deprez
7e76032ee2 pass assets FS into Load - cleaner? 2021-08-23 10:09:49 +10:00
Josh Deprez
eb2929f6cc add TODO 2021-08-22 20:28:25 +10:00
Josh Deprez
1d33ac227a move AssetFS into Game 2021-08-22 20:27:08 +10:00
Josh Deprez
245d939f2c ImageRef implements Loader 2021-08-20 17:05:47 +10:00
Josh Deprez
af89c01dbd Scenerise Camera and i am g.Root 2021-08-20 16:46:26 +10:00
Josh Deprez
45e2b300e8 fix bug 2021-08-20 16:31:06 +10:00
Josh Deprez
c352221606 big Scener won 2021-08-20 16:23:10 +10:00
Josh Deprez
b5792d3c8a Scener 2021-08-20 15:52:01 +10:00
Josh Deprez
946b76df9a error-based walk; Scener 2021-08-20 15:01:31 +10:00
Josh Deprez
91bf4939e7 move Bounds from Camera to Scene; add SceneRef 2021-08-20 13:45:01 +10:00
Josh Deprez
e98b730465 sort interfaces 2021-08-18 20:41:55 +10:00
Josh Deprez
44b4f46ecb ordering 2021-08-18 19:27:32 +10:00
Josh Deprez
f01b667a0d call it pf 2021-08-18 17:44:03 +10:00
Josh Deprez
88482c390d parallax and interfaces 2021-08-18 16:34:51 +10:00
Josh Deprez
3b452fc3d0 minor refactor in camera 2021-08-18 15:46:28 +10:00
Josh Deprez
a50731023a camera responsible for drawing scene 2021-08-18 15:41:03 +10:00
Josh Deprez
cdcad14245 some tidyups 2021-08-18 15:23:02 +10:00
Josh Deprez
f8665c82be sort interfaces 2021-08-18 14:25:51 +10:00
Josh Deprez
2f372d10d4 ZPositioner -> DrawOrderer 2021-08-18 14:02:15 +10:00
c6d6536e49 logic invert 2021-08-15 17:11:26 +10:00
f89d79f69d add marching ants 2021-08-15 17:09:34 +10:00
a6336dadc9 methods for working with tiles 2021-08-15 16:40:01 +10:00
c1e9570403 add offset to tiles and make storage sparse 2021-08-15 16:14:50 +10:00
f5bd131297 comments 2021-08-15 15:52:40 +10:00
17c8501922 game mode? 2021-08-14 17:43:11 +10:00
Josh Deprez
0b13586519 comment tweaks 2021-08-12 21:11:32 +10:00
88295b720d compute zoom bound on prepare 2021-08-12 05:01:37 +00:00
c6ead101bd invert logic in AnimRef.Anim 2021-08-12 04:45:23 +00:00
d612cf3e54 remove filter comment 2021-08-12 04:16:09 +00:00
efddeb7d6c Draw(image, geom) -> Draw(image, opts) 2021-08-12 04:06:01 +00:00
6354df558f camera stays in bounds 2021-08-12 03:49:22 +00:00
238286289e delete GeoMDef - not needed anymore/yet 2021-08-12 11:48:04 +10:00
Josh Deprez
1ff2aa1fcf tweak 2021-08-10 16:53:51 +10:00
Josh Deprez
9592cfc794 thoughts 2021-08-10 15:32:29 +10:00
Josh Deprez
8b076efcc4 rotato 2021-08-10 15:23:13 +10:00
Josh Deprez
88fa4f5a6e new camera paradigm 2021-08-10 14:56:01 +10:00
Josh Deprez
ed61e27440 camera tweaks 2021-08-09 15:00:25 +10:00
Josh Deprez
a6508de705 camera improvements 2021-08-09 13:58:33 +10:00
Josh Deprez
1bf7920d2f cameraaaaa 2021-08-08 22:07:55 +10:00
Josh Deprez
702774be37 sprite framesize/frameoffset 2021-08-08 11:46:03 +10:00
Josh Deprez
074b57f76d more efficient tile collision testing? 2021-08-08 11:46:03 +10:00
Josh Deprez
cb157a9503 starting animations on the right foot? 2021-08-08 11:46:03 +10:00
Josh Deprez
9485fdfb4f fix out-of-order detection, tweak sprite 2021-08-08 11:46:03 +10:00
Josh Deprez
8bddc09a11 fix vibration, tweak spritesheet 2021-08-08 11:46:03 +10:00
Josh Deprez
5cdbf5b82b formatting 2021-08-08 11:46:03 +10:00
Josh Deprez
3f17821a0d More comment 2021-08-08 11:46:03 +10:00
Josh Deprez
c30472c67e more gobs and interface cleanup 2021-08-08 11:46:03 +10:00
Josh Deprez
66e45e495a Simplify game preparation 2021-08-08 11:46:03 +10:00