Commit Graph

1849 Commits

Author SHA1 Message Date
minjaesong
02f5abe763 i dont think this should be transient 2021-08-28 21:53:11 +09:00
minjaesong
bf1b203633 implementation of #44 2021-08-28 21:48:35 +09:00
minjaesong
3a6100107e all potentially serialisable actors now have no-arg constructor 2021-08-28 18:58:46 +09:00
minjaesong
043bd3a1db inventory ui: getting actor is now dynamic 2021-08-28 17:10:36 +09:00
minjaesong
b84a0a770b loading player from json file 2021-08-28 16:31:06 +09:00
minjaesong
29cccea19b working blocklayer gzip writer and reader 2021-08-27 01:58:11 +09:00
minjaesong
c2fdb4b26a tile damage and wire layers are now save/loaded 2021-08-26 23:11:03 +09:00
minjaesong
e5c25c5a10 fixed a bug where player input can be ignored when framerate is significantly faster than update rate, which causes gameupdate to be called less often 2021-08-26 17:27:52 +09:00
minjaesong
2099213e18 finally fixed the long-broken colour codes 2021-08-26 16:00:35 +09:00
minjaesong
c1cbc13caf yep, it works when unzipped, except for the wires dammit 2021-08-25 21:57:13 +09:00
minjaesong
29c5599746 things are not quite working yet but here's more descriptive error message for ya 2021-08-25 20:55:21 +09:00
minjaesong
9a8bd8d6ec trying to load a world 2021-08-25 15:30:46 +09:00
minjaesong
8499746ad0 using gdx's preferred way to generate world json 2021-08-25 11:16:21 +09:00
minjaesong
6b74f3a9c4 ba64 outputting functions 2021-08-24 17:29:19 +09:00
minjaesong
ee5e10dd8c actor serialiser 2021-08-24 17:11:41 +09:00
minjaesong
126a4325d2 let's compress everything because we can 2021-08-24 16:35:48 +09:00
minjaesong
cb73a9fea2 serialiser for world 2021-08-24 14:33:04 +09:00
minjaesong
67091d0c84 much simpler way of composing savegame.json 2021-08-24 11:29:21 +09:00
minjaesong
dd51cfbe52 u forgot dis 2021-08-23 23:04:35 +09:00
minjaesong
3894c5177b csvs are compressed within savegame 2021-08-23 20:59:45 +09:00
minjaesong
93abfe05a6 writeworld wip 2021-08-23 17:52:53 +09:00
minjaesong
e15d5c9b05 completely abolishing GSON; new save format impl wip 2021-08-23 16:55:51 +09:00
minjaesong
df1ebdf93d more updates that looks for worldchangequeue 2021-08-22 18:06:54 +09:00
minjaesong
b8e24d556e wire actors to only update when wire change queue is not empty 2021-08-22 00:42:52 +09:00
minjaesong
d315d61f68 seemingly working #41 2021-08-21 21:43:52 +09:00
minjaesong
ca72a6fbe5 trying to write a new ingamecontroller so that its update can be manually controlled 2021-08-21 21:03:39 +09:00
minjaesong
bb95444067 reducing number of warnings on the codebase 2021-08-20 23:28:59 +09:00
minjaesong
69075ad6da staircase climbing seemingly working 2021-08-20 20:31:25 +09:00
minjaesong
64271dc9ba wires are now visible when not selected, but gets covered by the terrain to make them appear natural 2021-08-20 15:48:20 +09:00
minjaesong
d318f0114c staircases no longer count as 'wall' for phys 2021-08-20 13:53:10 +09:00
minjaesong
4175f80918 now accepts all the value punched into the creature raw 2021-08-20 13:48:40 +09:00
minjaesong
c0b4a929ad first working staircasing but barely 2021-08-20 11:35:15 +09:00
minjaesong
467e1dd252 todo! 2021-08-19 17:59:21 +09:00
minjaesong
07b1e2f2b7 prep for staircase climbing 2021-08-19 17:14:43 +09:00
minjaesong
0faa77cb16 comment 2021-08-19 11:53:54 +09:00
minjaesong
4b7cee3fb7 fixing issue #38 2021-08-19 11:15:38 +09:00
minjaesong
eb179f72a0 i suck at math 2021-08-18 19:13:15 +09:00
minjaesong
c0ef84412b fixed a bug where only the first wire item of same 'accepts' property would be chosen for signals be propagated 2021-08-18 15:27:37 +09:00
minjaesong
f764448d06 intTilewiseHitbox is now being updated in sync with other variables instead of getter 2021-08-18 11:25:03 +09:00
minjaesong
9a271b1b9e bigger torch flame sprite; basic physics on particles 2021-08-17 20:51:25 +09:00
minjaesong
a2b3334692 taller tiki torch 2021-08-17 18:37:54 +09:00
minjaesong
0f03eafc84 tiki torch now spawns smoke particles and flames are randomly animated 2021-08-17 16:50:13 +09:00
minjaesong
42c09640d0 vanishing particle test 2021-08-17 15:31:00 +09:00
minjaesong
74ae35e9a9 fixed a bug where wires were actually drawn upside-down; 10base2 wires are now terminated 2021-08-16 20:55:10 +09:00
minjaesong
d611638851 ethernet cable is replaced with 10base2 2021-08-16 13:04:40 +09:00
minjaesong
1059b4e097 more wires moved from work_files into assets 2021-08-16 00:27:28 +09:00
minjaesong
16376b229a according to the opengl wiki this should be more optimised 2021-08-15 22:25:27 +09:00
minjaesong
b2805ba09f new wire property: branching 2021-08-15 00:55:56 +09:00
minjaesong
a064275cfb light update for every three frames because why not *shrug* 2021-08-15 00:40:32 +09:00
minjaesong
deb2dcf28b extending light draw size so that 'lagging-behind' update won't exhibit 'camera seam' 2021-08-15 00:29:16 +09:00