Commit graph

40 commits

Author SHA1 Message Date
bdb8e6775e progress on draw ordering 2021-09-10 17:18:20 +10:00
Josh Deprez
91785fb6c0 a nicer solution :) 2021-09-01 13:28:07 +10:00
Josh Deprez
2b5987a95e move sceneref into scene.go 2021-09-01 12:10:41 +10:00
Josh Deprez
7c7fd781d2 reimplement camera constraint 2021-09-01 12:07:49 +10:00
Josh Deprez
8f495888d9 back to previous way of doing camera 2021-09-01 10:36:39 +10:00
Josh Deprez
7d45922c04 comments and more tidy 2021-09-01 09:32:36 +10:00
Josh Deprez
3a9109ae20 game does everything: updates 2021-09-01 09:17:08 +10:00
Josh Deprez
46c6a72fdd game does drawing 2021-08-31 22:05:21 +10:00
30224c15bf add rotation 2021-08-31 12:52:28 +10:00
Josh Deprez
c6c7823047 dead code 2021-08-30 13:30:19 +10:00
Josh Deprez
3452a32ddb invert camera-scene relationship 2021-08-28 18:07:53 +10:00
Josh Deprez
6f3c6c88c0 no more draworderer 2021-08-28 17:50:54 +10:00
Josh Deprez
0e64c4a994 equality is ok 2021-08-28 16:26:24 +10:00
cf34a7785c Prepare returns error 2021-08-27 14:52:24 +10:00
d10d57a3dc how to load from a file 2021-08-25 15:04:38 +10:00
Josh Deprez
1d3327cb1c more wrappers around bool values 2021-08-23 11:10:46 +10:00
Josh Deprez
0f5346bf0e all in on interfaces 2021-08-23 10:34:56 +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
88482c390d parallax and interfaces 2021-08-18 16:34:51 +10:00
Josh Deprez
cdcad14245 some tidyups 2021-08-18 15:23:02 +10:00
Josh Deprez
2f372d10d4 ZPositioner -> DrawOrderer 2021-08-18 14:02:15 +10:00
efddeb7d6c Draw(image, geom) -> Draw(image, opts) 2021-08-12 04:06:01 +00:00
Josh Deprez
1bf7920d2f cameraaaaa 2021-08-08 22:07:55 +10:00
Josh Deprez
9485fdfb4f fix out-of-order detection, tweak sprite 2021-08-08 11:46:03 +10:00
Josh Deprez
66e45e495a Simplify game preparation 2021-08-08 11:46:03 +10:00
Josh Deprez
6e8a3e67df Disabled 2021-08-08 11:46:03 +10:00
Josh Deprez
11a2382b56 minor clarification 2021-08-08 11:46:03 +10:00
Josh Deprez
3d75693cc2 Split Scan and Build 2021-08-08 11:46:03 +10:00
Josh Deprez
92ed1f1a89 GeoMDef 2021-08-08 11:46:03 +10:00
Josh Deprez
64d44d9caf it is a fun fact 2021-08-08 11:46:03 +10:00
Josh Deprez
0af9bf298c Hidden, Identifier, z.go->misc.go 2021-08-08 11:46:03 +10:00
Josh Deprez
51d9a69a4b componentdb 2021-08-08 11:46:03 +10:00
Josh Deprez
acaa279e05 image ref? 2021-08-08 11:46:03 +10:00
Josh Deprez
1888821748 why bother having a call that does reordering when the objects are being linearly scanned anyway 2021-08-08 11:46:03 +10:00
Josh Deprez
ed5092cc3e Add Transform field to Scene 2021-08-08 11:46:03 +10:00
Josh Deprez
14407fe47d call it "scene" 2021-08-08 11:46:03 +10:00
Renamed from engine/layers.go (Browse further)