Commit Graph

38 Commits

Author SHA1 Message Date
Timothy Warren
5a4d8bc234 Add attributes to Player and NPCs 2022-01-03 15:21:12 -05:00
b115f43d5d Use :: prefix on external crates 2021-12-24 10:38:44 -05:00
c1222294d0 Move the spawn table to raws 2021-12-23 13:07:50 -05:00
aaf3fdcc42 Spawn all entities via raws, complete Section 5.2 2021-12-23 12:48:09 -05:00
b80c64febb Spawn monsters from raw data, like items 2021-12-23 12:31:03 -05:00
e154577012 Simplify spawning of items, as they are now created by the raws 2021-12-23 12:05:56 -05:00
98407d2c77 Spawn items from JSON data 2021-12-23 11:38:37 -05:00
Timothy Warren
f749d9a9e5 Create camera, and adjust drawing code to render arbitrary size maps 2021-12-17 16:35:30 -05:00
Timothy Warren
ae3f83b544 Make doors opaque, and block the way 2021-12-17 14:07:14 -05:00
Timothy Warren
d028065a4a Spawn doors 2021-12-17 13:53:14 -05:00
Timothy Warren
99d5a78512 Fix some linting issues 2021-12-14 14:15:22 -05:00
9ff645066b Reorder use statements 2021-12-10 20:16:48 -05:00
Timothy Warren
28692ec50c Refactor entity (Enemy, Item, Equipment) spawning 2021-12-10 16:34:11 -05:00
Timothy Warren
baec7dbee1 Refactor prefab_builder into a folder 2021-12-10 14:29:03 -05:00
Timothy Warren
545deb24d8 Generate map with cellular automata, completes section 4.5 2021-12-03 15:55:07 -05:00
Timothy Warren
4011e7d7d3 Make single-activation traps work 2021-12-01 09:46:34 -05:00
Timothy Warren
804904dd4b Add a basic hidden trap mechanism 2021-11-29 16:00:07 -05:00
Timothy Warren
d0b0a84984 Add item to reveal current map, completes section 3.5 2021-11-29 14:39:15 -05:00
Timothy Warren
81f64b07a6 Add rations, and the ability to eat them 2021-11-18 15:25:29 -05:00
15a0f1779c Add HungerClock component 2021-11-17 16:23:01 -05:00
c4db6f5932 Make import style more consistent 2021-11-17 16:08:46 -05:00
Timothy Warren
b1b3105a80 Complete section 3.1 2021-11-15 14:12:27 -05:00
Timothy Warren
ffc997ce20 Cleanup code structure to match the end of the first section of the tutorial 2021-11-15 13:55:31 -05:00
Timothy Warren
416af96be3 Complete the first section 2021-11-15 13:27:40 -05:00
Timothy Warren
43e9ebd52b Add some better equipment 2021-11-15 11:48:01 -05:00
Timothy Warren
b2ed5e7758 Update dagger and shield to have attack/defense bonuses 2021-11-15 09:45:12 -05:00
Timothy Warren
4322b250cb Add ability to equip items 2021-11-15 09:19:22 -05:00
Timothy Warren
f4f1800770 Complete Chapter 1.12 2021-11-12 14:12:15 -05:00
Timothy Warren
7079a7eedd Weight spawn odds, and simplify item spawning 2021-11-12 14:06:55 -05:00
Timothy Warren
48609aee1f Implement basic game saving 2021-11-08 13:58:40 -05:00
Timothy Warren
7d0200b262 Complete chapter 2.9 2021-11-05 14:32:14 -04:00
Timothy Warren
36af877217 Add Fireball scroll 2021-11-05 13:12:22 -04:00
Timothy Warren
d2ebe5dc1d Implement ranged item attacks 2021-11-05 10:42:44 -04:00
Timothy Warren
ef8d51de1f Cut down on some struct boilerplate 2021-11-05 10:41:47 -04:00
Timothy Warren
4e9869b09f Refactor potion, and its associated components to be more generic 2021-11-04 15:06:04 -04:00
Timothy Warren
fee78663de Complete chapter 2.8 2021-11-04 09:54:38 -04:00
Timothy Warren
0ac2226947 Start of inventory system 2021-11-03 15:11:19 -04:00
Timothy Warren
07c703f2a4 Refactor entity spawning into its own module 2021-11-03 09:55:17 -04:00