Commit Graph

106 Commits

Author SHA1 Message Date
Timothy Warren
c7cd65af7a Add some convient trait implementations for the Position component 2021-12-01 15:25:48 -05:00
Timothy Warren
e55218c325 Make map setup more DRY, add map generation visualizer, completes section 4.2 2021-12-01 14:45:27 -05:00
Timothy Warren
feb7988f5f Move map builder state into map builder 2021-12-01 12:03:49 -05:00
Timothy Warren
6b48111a97 Move more map procedure stuff into the map builder 2021-12-01 11:41:29 -05:00
Timothy Warren
7f8c16a79f Refactor map generation to return original player position 2021-12-01 11:02:39 -05:00
Timothy Warren
8bb6bf35d6 Refactor map generation into its own submodule 2021-12-01 10:47:41 -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
1f8869879c Add background image to main menu 2021-11-29 14:59:46 -05:00
Timothy Warren
d0b0a84984 Add item to reveal current map, completes section 3.5 2021-11-29 14:39:15 -05:00
3effbdb586 Use less redundant code style with 'if let' statements 2021-11-19 19:52:15 -05:00
Timothy Warren
81f64b07a6 Add rations, and the ability to eat them 2021-11-18 15:25:29 -05:00
Timothy Warren
c490ab114b Implement the hunger system 2021-11-18 10:28:49 -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
1dd5db42f7 Add particle effects for Melee combat 2021-11-16 11:33:58 -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
a2ef1810d9 Add ability to remove equipped items 2021-11-15 11:32:09 -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
f6dc758f12 Complete chapter 2.11 2021-11-09 15:50:42 -05:00
Timothy Warren
1330386b52 Fix some main menu-related code 2021-11-09 10:38:56 -05:00
Timothy Warren
a307521d64 Implement game loading 2021-11-09 10:29:23 -05:00
Timothy Warren
48609aee1f Implement basic game saving 2021-11-08 13:58:40 -05:00
Timothy Warren
84934128d5 Add main menu 2021-11-08 10:22:11 -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
4e9869b09f Refactor potion, and its associated components to be more generic 2021-11-04 15:06:04 -04:00
Timothy Warren
923e0dc42b separate scope differently in the macro 2021-11-04 11:38:13 -04:00
Timothy Warren
7070fb0357 By the power of macros, reduce the amount of syntax required to register components 2021-11-04 11:27:44 -04:00
Timothy Warren
cb475708c7 Rename the game log module 2021-11-04 10:44:52 -04:00
Timothy Warren
4efce51ded Fix rendering of menus by rendering before handling the RunState 2021-11-04 10:00:42 -04:00
Timothy Warren
fee78663de Complete chapter 2.8 2021-11-04 09:54:38 -04:00
Timothy Warren
e4be3b6855 Add ability to drop items 2021-11-04 09:40:58 -04:00
Timothy Warren
c6abd497a1 Clean up modules and their use statements in the main file 2021-11-03 16:04:36 -04:00
Timothy Warren
14895dac8f Allow drinking of potions 2021-11-03 15:59:23 -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
Timothy Warren
a17cc6f2e6 Add basic ui with healthbar, game log, and mouse tooltips 2021-11-01 14:46:45 -04:00
Timothy Warren
598032aadf Finish chapter 2.6 2021-10-29 15:15:22 -04:00
Timothy Warren
3009aa1781 Add map blocking and diagonal movement 2021-10-29 11:11:17 -04:00
Timothy Warren
30b0449e99 Complete Chapter 2.5 2021-10-26 15:43:59 -04:00
Timothy Warren
b8be87868e Show first monsters 2021-10-26 14:38:30 -04:00
Timothy Warren
1345248b15 Finish chapter 2.4 2021-10-26 14:23:08 -04:00
Timothy Warren
3df0d8592b First good iteration of field of view 2021-10-25 15:26:39 -04:00
Timothy Warren
8e23e09b3a Refactor map module 2021-10-25 14:23:19 -04:00
Timothy Warren
cde079a029 Complete chapter 2.3 2021-10-22 14:50:04 -04:00
Timothy Warren
ecff0e1ea3 Split into modules 2021-10-22 10:05:06 -04:00
Timothy Warren
7923d488ef Complete chapter 2.2 2021-10-21 14:52:03 -04:00
Timothy Warren
59a791de56 Finish chapter 2.1 2021-10-21 14:24:40 -04:00
6f65bf2420 Add first entity 2021-10-21 12:54:39 -04:00
b05ccbaa7e First commit 2021-10-20 12:01:15 -04:00