Commit graph

195 commits

Author SHA1 Message Date
Llywelwyn
5276bb6e34 IntervalSpawningSystem{} (% chance for monster creation each turn) 2023-08-01 07:46:09 +01:00
Llywelwyn
0169a88091 RegenSystem{} for health regen (mana NYI) 2023-08-01 01:44:02 +01:00
Llywelwyn
6cef899ef6 ai refactor, mob spawns now take into account player level, small fixes 2023-07-31 22:24:38 +01:00
Llywelwyn
c00418f7c8 improved logging (debug stuff) 2023-07-31 05:39:09 +01:00
Llywelwyn
aac6e0ad02 Speed with TURN_COST and slight randomisation to reduce predictability 2023-07-31 05:07:41 +01:00
Llywelwyn
dce40ac741 speed system - NYI 2023-07-31 03:05:25 +01:00
Llywelwyn
475f96d4e6 cleans up spawning, rolling for items/mobs/traps separately 2023-07-30 14:16:57 +01:00
Llywelwyn
eff49f4528 Merge remote-tracking branch 'origin/master' 2023-07-30 12:41:39 +01:00
Llywelwyn
6f7d8a035c
week 4 changes - initial 2023-07-30 12:40:55 +01:00
Llywelwyn
dc1cb0562f cleans up raws/mod.rs with trait impls for json parsing 2023-07-30 09:27:47 +01:00
Llywelwyn
875e6bfee7 mobs have a chance to drop held items on death 2023-07-30 08:57:31 +01:00
Llywelwyn
3e9f4f6fab added xp value for mobs with MULTIATTACK flag 2023-07-30 05:40:17 +01:00
Llywelwyn
a17a2c8f11 combat system 2nd pass - multiattacks for natural attackers 2023-07-30 05:30:01 +01:00
Llywelwyn
42113ad6a4 building and theming the forest 2023-07-30 04:17:20 +01:00
Llywelwyn
3e9ebaa002 gitignore, spring cleaning 2023-07-30 01:05:44 +01:00
Llywelwyn
e937994439 tiny visual tweaks - deepwater glyph and magic missile particle 2023-07-29 20:30:50 +01:00
Llywelwyn
b4c80b919e delayed particles 2023-07-29 20:29:29 +01:00
Llywelwyn
9ed37d31b5 Fixes serialization order (fields were mismatched in de- and serialize)
fixes #7
2023-07-29 17:28:32 +01:00
Llywelwyn
6d6b84ae6a town tweaks 2023-07-29 08:43:40 +01:00
Llywelwyn
3dab5202f8 levels, and ui changes 2023-07-29 05:56:52 +01:00
Llywelwyn
be2c8a35a5 title image, ui tweaks 2023-07-29 02:21:36 +01:00
Llywelwyn
2d4758ced1 seen entities on ui 2023-07-29 00:12:03 +01:00
Llywelwyn
a3ffb7d251 logs now print char-by-char, and have "perfect" wrapping
wraps will happen mid-word, but this is is intentional. hard wrapping doesn't look very good in my opinion

this has deprecated descending message logs for now
2023-07-28 22:25:25 +01:00
Llywelwyn
650afaf821 fixes message log wrapping - sort of
it's an improvement - messages will wrap if the added fragment is longer than the maximum width, but it still causes issues if an *individual* fragment is longer than the width. the proper solution here, i think, is to get rid of the whole fragment system and just log words and newlines, and not have to bother with any of this.
2023-07-28 21:06:08 +01:00
Llywelwyn
1e25d062db ranged targeting fixes (set_bg doesn't work with fancy console)
currently not using fancy features for anything, so just went back to the simple console
2023-07-28 17:58:32 +01:00
Llywelwyn
6e6d364aa5 fixed some attributes double-dipping, and added COMBAT_LOGGING 2023-07-28 17:12:02 +01:00
Llywelwyn
c2759e9e8e continuing with the overhaul, allowed entities to wear stuff 2023-07-28 06:57:14 +01:00
Llywelwyn
c169a1eae6 combat system overhaul - d20/hack-like 2023-07-28 06:29:59 +01:00
Llywelwyn
32044dbb6a removes unused resources, and embedded font fix 2023-07-28 01:51:14 +01:00
Llywelwyn
d2648c4560 visual overhaul 2023-07-28 01:06:42 +01:00
Llywelwyn
b940142f16 the town 2023-07-27 21:15:20 +01:00
Llywelwyn
5f091bc2ab Merge branch 'depths_to_ids' 2023-07-27 17:59:54 +01:00
Llywelwyn
1239597422 decouples depth from difficulty, and renames depth to ID
for future impl of branches
2023-07-27 17:59:46 +01:00
Llywelwyn
8b2acab576 canines 2023-07-26 02:46:22 +01:00
Llywelwyn
a54e604681 town tweaks, themes 2023-07-26 02:30:25 +01:00
Llywelwyn
f2fabafe57 starting in town 2023-07-26 01:35:02 +01:00
Llywelwyn
34e7ec40ee Merge remote-tracking branch 'origin/master' 2023-07-25 17:08:21 +01:00
Llywelwyn
1b4d0c2c4b tweaks and wasm build for w3 2023-07-25 17:08:11 +01:00
Llywelwyn
9973693766
formatting 2023-07-25 17:02:36 +01:00
Llywelwyn
a7ed02ce2d
Update README - week 3.md 2023-07-25 16:56:18 +01:00
Llywelwyn
1c956cdf58 sanity checks 2023-07-25 04:03:01 +01:00
Llywelwyn
2e23601fc8 wasm build 2023-07-25 03:51:01 +01:00
Llywelwyn
f53b767376 overhaul: data-driven architecture 2023-07-25 03:50:50 +01:00
Llywelwyn
062d36f640 Merge remote-tracking branch 'origin/master' 2023-07-24 23:01:51 +01:00
Llywelwyn
cdf16aca9d particles, and centred camera 2023-07-24 23:01:34 +01:00
Llywelwyn
93e19ed562
week 3 images 2023-07-24 19:40:20 +01:00
Llywelwyn
e9cace85c6 week 3 changes - unf., needs formatting 2023-07-24 19:24:46 +01:00
Llywelwyn
b80c3ac9d1 FillEdges builder, and a welcome message 2023-07-24 19:16:20 +01:00
Llywelwyn
0fe866c048 section 3 - generating maps wasm build 2023-07-24 18:54:54 +01:00
Llywelwyn
727400e0ee Merge branch 'decouple_camera' 2023-07-24 18:53:58 +01:00