Commit graph

362 commits

Author SHA1 Message Date
Josh Deprez
7c16de018d use PrismTop in draw order decision 2021-09-11 17:47:31 +10:00
Josh Deprez
a5083b4eac comments, cleanups 2021-09-11 17:39:52 +10:00
Josh Deprez
f8dd02c072 draw ordering works now 2021-09-11 13:00:23 +10:00
ad2346f9ff fucken 2021-09-10 17:36:49 +10:00
bdb8e6775e progress on draw ordering 2021-09-10 17:18:20 +10:00
86bfef30d5 delete dead code 2021-09-10 11:37:12 +10:00
3445d4963c prism refactoring 2021-09-10 11:30:58 +10:00
Josh Deprez
5afa3a9b00 better drawordering? 2021-09-09 19:11:25 +10:00
Josh Deprez
724b5af8a3 change of bounds computation 2021-09-09 17:16:00 +10:00
Josh Deprez
f0288cd169 delete cursed depth buffer 2021-09-09 15:53:12 +10:00
Josh Deprez
9d16134368 shader progress 2021-09-09 12:13:24 +10:00
Josh Deprez
74f72d06a6 matrix tweaks 2021-09-09 11:35:59 +10:00
Josh Deprez
4c7b447a01 aw refactor, start writing depth buffer 2021-09-09 11:24:56 +10:00
Josh Deprez
b08cb774e1 nits 2021-09-08 20:09:52 +10:00
Josh Deprez
6686c24cd6 refacteur 2021-09-08 20:08:57 +10:00
Josh Deprez
dccd13b623 newline 2021-09-08 17:49:30 +10:00
Josh Deprez
a4d2dd9344 this seems to work 2021-09-08 17:49:16 +10:00
Josh Deprez
5c313e8518 good enough for now 2021-09-08 17:43:15 +10:00
Josh Deprez
a1abd8ac3c bunch of probably irrelevant fenceposting 2021-09-08 17:37:10 +10:00
Josh Deprez
1af3e141fb fix comment 2021-09-08 17:09:11 +10:00
Josh Deprez
94915072f0 prism collism 2021-09-08 17:08:21 +10:00
Josh Deprez
67a8f03cbf movement, animation, etc 2021-09-08 12:24:34 +10:00
Josh Deprez
94a72ad517 cleanups 2021-09-08 10:00:37 +10:00
Josh Deprez
dff9419d9b make prism collision...better? 2021-09-07 21:55:05 +10:00
Josh Deprez
d73715f3e2 walking around on hexagons 2021-09-07 20:45:04 +10:00
6c5f482e56 stringy 2021-09-07 17:16:50 +10:00
ebbf76d312 matrices, etc 2021-09-07 17:10:26 +10:00
88fdaf18ac prism map! 2021-09-07 14:46:05 +10:00
da7d988383 clean up projection from camera 2021-09-07 14:18:09 +10:00
024cf2cafe abolish transform 2021-09-07 14:00:50 +10:00
02d91f9d23 Point3->Int3; new Float3 type 2021-09-07 13:28:44 +10:00
1e029903a6 projection.go, delete crap 2021-09-07 13:14:42 +10:00
86d076c89f delete crap, projection.go 2021-09-07 13:14:33 +10:00
Josh Deprez
d1e88311de WIP: committing some ideas 2021-09-06 17:50:17 +10:00
Josh Deprez
25f4f29e1b comments, interfaces 2021-09-06 00:45:51 +00:00
Josh Deprez
073eff4a61 more better prisms 2021-09-05 21:07:34 +10:00
Josh Deprez
6fc0725d15 fix prisms 2021-09-05 20:58:55 +10:00
Josh Deprez
03e5e7ca49 prisms 2021-09-05 20:54:43 +10:00
Josh Deprez
d5a141f4b8 start redoing projections? 2021-09-05 07:22:46 +00:00
Josh Deprez
f8eacc5904 leap-before-look-then-undo 2021-09-04 16:28:33 +10:00
Josh Deprez
f5f0c447aa resetting rem doesn't seem to hurt 2021-09-04 16:14:50 +10:00
Josh Deprez
a4a5be2d37 tweaks 2021-09-04 12:51:51 +10:00
Josh Deprez
73ea1855f1 cleanup dead comment 2021-09-03 17:06:46 +10:00
Josh Deprez
843db79af9 camera point at Point3 2021-09-03 10:30:14 +10:00
Josh Deprez
5699d70be6 apply isoprojection in Sprite 2021-09-03 10:24:16 +10:00
Josh Deprez
88ded18d50 Transform now responsible for concat 2021-09-03 10:08:56 +10:00
Josh Deprez
e065bad1a7 WIP: opts -> transform 2021-09-03 09:42:50 +10:00
Josh Deprez
9717ab565f fix tree indentation 2021-09-03 09:13:12 +10:00
Josh Deprez
0de0ce3259 twerks 2021-09-02 20:23:44 +10:00
Josh Deprez
5ac31e1e6d collider now collides with boxes 2021-09-02 20:17:45 +10:00
82559faa66 z motion 2021-09-02 17:24:08 +10:00
db7590f767 MoveZ, etc 2021-09-02 16:55:12 +10:00
e74ea8de3e fix sorting alg 2021-09-02 16:16:47 +10:00
0565ef0b7f add some cubes and stuff 2021-09-02 16:14:30 +10:00
abdb975979 progress on isometric 2021-09-02 15:55:38 +10:00
4970326114 typo 2021-09-02 14:18:58 +10:00
60bbd14487 register/unregister tweaks 2021-09-02 14:09:53 +10:00
d71db51d53 change isoproject 2021-09-02 14:05:20 +10:00
Josh Deprez
464cf9a678 light renaming and 3 space stuff 2021-09-02 13:42:44 +10:00
Josh Deprez
882d0c623d comment 2021-09-02 13:16:57 +10:00
fd36c44701 pre/postorder walks, more complete register/unregister 2021-09-02 12:15:23 +10:00
0af38d6d91 add some useful logs to LoadAndPrepare 2021-09-02 11:59:42 +10:00
5116a10303 refresh level1 and smol tidyup 2021-09-02 11:55:16 +10:00
Josh Deprez
df5afe11c1 anim overhaul, again 2021-09-02 11:53:04 +10:00
Josh Deprez
d89a1c2e71 add todo 2021-09-01 21:50:58 +10:00
Josh Deprez
9785b556e5 light renaming 2021-09-01 17:24:43 +10:00
Josh Deprez
d4c313ae45 comment tweak 2021-09-01 15:57:02 +10:00
Josh Deprez
a7ef9671f1 fix double rate animations 2021-09-01 13:50:56 +10:00
Josh Deprez
1535573550 tiles and walls 2021-09-01 13:46:26 +10:00
Josh Deprez
91785fb6c0 a nicer solution :) 2021-09-01 13:28:07 +10:00
Josh Deprez
228f8b9b9a comments 2021-09-01 12:12:25 +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
840847b25b improved parallax implementation 2021-09-01 10:27:13 +10:00
Josh Deprez
01752b77d9 tweaks 2021-09-01 09:55:18 +10:00
Josh Deprez
77435b7c20 interface 2021-09-01 09:52:40 +10:00
Josh Deprez
6155e64c60 more transforms; fix first update-ordering crash :-) 2021-09-01 09:48:01 +10:00
Josh Deprez
400552e742 sprite is now Transformer 2021-09-01 09:34:49 +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
Josh Deprez
a05cf83a7b comment 2021-08-31 20:26:20 +10:00
Josh Deprez
a44bf89437 implement show/hide repl commands 2021-08-31 20:24:38 +10:00
933340ea8d experiment continues 2021-08-31 18:19:14 +10:00
d3284f808d WIP: paradigm change 2021-08-31 17:03:43 +10:00
b443ca3bd3 comment 2021-08-31 16:23:37 +10:00
bdbede6e27 comment 2021-08-31 15:44:25 +10:00
36336c67b9 honesty 2021-08-31 15:22:44 +10:00
05088fa18b comment 2021-08-31 15:18:21 +10:00
cfe850d0da add iso.go 2021-08-31 15:16:56 +10:00
80f00e8107 more comment 2021-08-31 13:41:26 +10:00
30224c15bf add rotation 2021-08-31 12:52:28 +10:00
Josh Deprez
4b7b4d3184 shorter names 2021-08-30 16:27:12 +10:00
Josh Deprez
f39c91a988 walk change, parentals 2021-08-30 16:25:50 +10:00
Josh Deprez
4557f78175 tidyups 2021-08-30 15:53:39 +10:00
Josh Deprez
3a4a48e2c6 %q 2021-08-30 15:50:22 +10:00
Josh Deprez
5a840950a0 allow blank Ident 2021-08-30 15:49:51 +10:00
Josh Deprez
91523f4769 fix comments 2021-08-30 15:08:22 +10:00
Josh Deprez
c0d2b94617 looks neater 2021-08-30 15:07:57 +10:00
Josh Deprez
f923bf7164 sets of interface{}, lol 2021-08-30 15:03:22 +10:00
Josh Deprez
4399f463f4 some light renaming 2021-08-30 13:33:01 +10:00
Josh Deprez
c6c7823047 dead code 2021-08-30 13:30:19 +10:00
Josh Deprez
906d5956a0 make usage warning more helpful 2021-08-28 18:24:26 +10:00
Josh Deprez
c4948952b2 fix crash on usages 2021-08-28 18:16:36 +10:00
Josh Deprez
b0520114ee query takes ids; game has an id 2021-08-28 18:14:37 +10:00
Josh Deprez
3452a32ddb invert camera-scene relationship 2021-08-28 18:07:53 +10:00
Josh Deprez
2674234d62 comment 2021-08-28 17:51:31 +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
ee12b90f1e move registerComponent 2021-08-27 16:59:20 +10:00
d564ee08d4 comment 2021-08-27 16:48:09 +10:00
ed1f4deddf there's a query for that 2021-08-27 16:46:04 +10:00
ba3994a97e it's shorter 2021-08-27 16:10:28 +10:00
6e1eaab5c2 dead code 2021-08-27 15:53:15 +10:00
08048fd31d clean up old commented out code 2021-08-27 15:52:36 +10:00
6bc7c07444 yes 2021-08-27 15:51:19 +10:00
78dddb4f6c note for the future 2021-08-27 15:50:40 +10:00
12e3254a34 query 2021-08-27 15:39:10 +10:00
cf34a7785c Prepare returns error 2021-08-27 14:52:24 +10:00
9553eac378 more load/prepare tweaks 2021-08-27 14:43:37 +10:00
6fcf57fad1 dupes now an error 2021-08-27 14:30:39 +10:00
8e1ddae1d9 tweaks 2021-08-27 14:12:31 +10:00
5b457eded1 premature optimisation go brrr 2021-08-27 14:07:21 +10:00
b65e5043ab walking and colliding 2021-08-27 13:56:50 +10:00
a19cdfdf6f refactor repl 2021-08-27 13:08:04 +10:00
263e197f32 comment 2021-08-27 12:00:20 +10:00
43eff6e326 interface checks like this 2021-08-27 11:49:11 +10:00
Josh Deprez
3168c5eb54 wall? 2021-08-26 20:06:38 +10:00
Josh Deprez
d3cc842b12 yes 2021-08-26 14:58:02 +10:00
Josh Deprez
7cd10f22cd comment 2021-08-26 14:55:31 +10:00
Josh Deprez
23ce690549 sprite/sheet 2021-08-26 13:57:19 +10:00
Josh Deprez
a7ff475b91 sheet, tile/sheet, misc math 2021-08-26 13:54:22 +10:00
Josh Deprez
9a65ce6104 comment 2021-08-26 13:08:51 +10:00
Josh Deprez
23174e1f56 use filepath.Base 2021-08-26 11:38:55 +10:00
Josh Deprez
0b66b118b8 comments 2021-08-26 11:35:15 +10:00
Josh Deprez
39598f0124 ebiten up, imageref own file 2021-08-26 11:33:58 +10:00
Josh Deprez
a625845d30 image -> billboard 2021-08-26 11:31:39 +10:00
Josh Deprez
2c94fc918c tilemap go brrrr 2021-08-26 10:57:17 +10:00
Josh Deprez
42aa119e7f usage 2021-08-26 10:25:55 +10:00
Josh Deprez
177ba91d51 add comment 2021-08-26 10:06:51 +10:00
Josh Deprez
4a4c8669df make repl an engine feature 2021-08-26 10:03:11 +10:00
Josh Deprez
056f0cf5d5 logic flip 2021-08-26 09:55:55 +10:00
c69256ccec tree 2021-08-25 17:22:22 +10:00
71a89bd9a2 don't repl on js 2021-08-25 16:54:22 +10:00
01468798d4 repl, save 2021-08-25 16:46:30 +10:00
8f05192d78 gobdumper... meh 2021-08-25 15:39:01 +10:00
d10d57a3dc how to load from a file 2021-08-25 15:04:38 +10:00
Josh Deprez
94b9711e4b toast! 2021-08-24 19:33:21 +10:00
Josh Deprez
ac9bd0bcd6 comment 2021-08-24 16:20:49 +10:00