Commit Graph

387 Commits

Author SHA1 Message Date
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
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
ee5e10dd8c actor serialiser 2021-08-24 17:11:41 +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
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
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
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
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
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
1059b4e097 more wires moved from work_files into assets 2021-08-16 00:27:28 +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
minjaesong
168e4f08b5 lightmap to update every other frame, and rendering needs fix minor jitter 2021-08-14 12:52:47 +09:00
minjaesong
479dc5c3fb new and sane graph traversal; only works for first of the multiple wires tho 2021-08-13 14:39:20 +09:00
minjaesong
a6d082fb7d wire branching traversal itself works, but fetches wrong signal status 2021-08-12 11:38:48 +09:00
minjaesong
740eab3e84 fix: fixtures not placing actorblocks 2021-08-11 18:01:34 +09:00
minjaesong
7bb921321f wire: off-to-on traversal of nonbranching wire connection 2021-08-11 16:45:39 +09:00
minjaesong
f1cece1064 multiblock fixtures can now emit/consume multiple wiring types 2021-08-10 16:56:22 +09:00
minjaesong
43ae93e982 signal emitter: wires are now visible while holding the item 2021-08-09 21:42:38 +09:00
minjaesong
a9f46613a2 first working instance of wire signal source block 2021-08-09 17:00:02 +09:00
minjaesong
4c4817f2fb some refactoring 2021-08-09 14:36:32 +09:00
minjaesong
995d02d966 signal emitter is now a fixture 2021-08-08 21:38:38 +09:00
minjaesong
d8516f4ad1 changes on wire receive state 2021-08-07 18:03:38 +09:00
minjaesong
db45557c19 unequipping already equipping item when the game tries to equip a new item on the same slot 2021-08-07 17:32:32 +09:00
minjaesong
e4542af75c fixed a bug where wire graphs would not laid down correctly 2021-08-07 16:23:42 +09:00
minjaesong
4112dc333f tooltip ui update 2021-08-07 14:21:27 +09:00
minjaesong
ce9b86d637 hit q to close the storage chest gui 2021-08-07 00:27:32 +09:00
minjaesong
f7ce911c9e fixed a bug where inventory's cat icons would unloaded when you load the ingame second time 2021-08-07 00:14:33 +09:00
minjaesong
4b50b0cff1 pickaxe to drop a tile defined in 'drop' property 2021-08-06 22:01:59 +09:00
minjaesong
ecce123299 spawning of dropped item 2021-08-06 21:43:50 +09:00
minjaesong
edc3d53f4e refactoring around 2021-08-06 13:34:17 +09:00
minjaesong
9578488962 wire sim wip 2021-08-05 18:41:40 +09:00
minjaesong
c6c8d02118 better drop shadow for tooltip 2021-08-04 17:20:10 +09:00
minjaesong
6891d6b840 building wire graph PER TILE 2021-08-03 16:27:56 +09:00
minjaesong
5311158ad8 actually enforcing limit on how many wire pieces can be rendered 2021-07-31 16:39:47 +09:00
minjaesong
b10fb0a30b wire actor renders; functionality still wip 2021-07-31 14:18:52 +09:00
minjaesong
f64574db80 wire actor wip 2021-07-30 17:48:25 +09:00
minjaesong
0e3bfbb782 fixed a bug where wall item can be consumend indefinitely because checking for what's already there was not working 2021-07-29 16:23:18 +09:00