Commit graph

77 commits

Author SHA1 Message Date
Zed A. Shaw
db5a371766 Moving some stuff around before writing a test to confirm the EntityAI. 2025-03-14 22:39:08 -04:00
Zed A. Shaw
f3e157a0f7 Enemy AI is now prototyped and can find the player and attack them. 2025-03-14 13:41:22 -04:00
Zed A. Shaw
ad71631809 Enemies and now using the GOAP AI to decide when to attack the player, but it's very rough right now. I need to sort out how to store the AI states and use them in the System. 2025-03-14 11:14:25 -04:00
Zed A. Shaw
ee804581a8 Autowalker is working way better and now I have a plan for using the AI in the System. 2025-03-13 13:44:42 -04:00
Zed A. Shaw
25d782df6d Start and stop some sounds and add a little bit of reverb to sounds so they fit the 'dungeon' theme. 2025-02-28 10:48:45 -05:00
Zed A. Shaw
29e6d45dc6 Level traversal works, but it's very immediate. Next is a little 'confirm level' modal and a transition screen. 2025-02-24 23:26:50 -05:00
Zed A. Shaw
0878a9e978 Refactored inventory some so that the UI is not so knowing of the internals. 2025-02-23 23:57:46 -05:00
Zed A. Shaw
e0e7a1027c Inventory system basically works now but is in a alpha hack stage. Time to refactor. 2025-02-23 22:57:27 -05:00
Zed A. Shaw
daae239831 Created a simple pickup sound that sounds like you put something in your bag. 2025-02-22 23:06:20 -05:00
Zed A. Shaw
20cbc3a21c Working sound system and most enemies have a sound effect. This will make it easier to add sounds now. 2025-02-22 12:48:37 -05:00
Zed A. Shaw
83df9ff03b Super awesome twitchy animation for axe guy. 2025-02-22 11:03:38 -05:00
Zed A. Shaw
80a0f2ba75 Basic simple animations where the enemies just move forward. 2025-02-22 01:36:31 -05:00
Zed A. Shaw
baa4d8ee2b Grave stones are not lootable and give 10 gold. No idea what gold even does. I mean, why _are_ there traders in a dungeon? 2025-02-20 00:30:39 -05:00
Zed A. Shaw
3b9525cca4 Enemies now turn into a lootable device witha grave_stone sprite so you know they died. Need to implement noclipping on items with collision. 2025-02-19 23:18:33 -05:00
Zed A. Shaw
e04c03b381 Small error in how mouse events are processed. I need to do them _outside_ of the guecs::UI so that the event is checked once and then confirmed in all grids. Then created a tombstone device to be used as a dead enemy marker that will later allow looting. 2025-02-19 08:33:18 -05:00
Zed A. Shaw
9c66e870d2 Finally get rid of this weird thing in dinkyecs where I was passing a const& to an _integer_ when a copy of the integer is exactly the same. 2025-02-18 11:39:27 -05:00
Zed A. Shaw
cfe56bbf99 Combat Mode is more reliable now, just one little glitch that it doesn't exit on the last enemy dying. 2025-02-16 18:31:31 -05:00
Zed A. Shaw
f8dd5d816f Basic combat system prototype works, but needs more GUI love to really work in the game. 2025-02-14 10:18:45 -05:00
Zed A. Shaw
8a6b38c1a4 Start of V1 combat system where you get locked into combat when in range and have to work the turn system to get out. 2025-02-13 14:39:04 -05:00
Zed A. Shaw
d2700d2928 You now have blood on your screen when below half health. 2025-02-13 13:15:20 -05:00
Zed A. Shaw
abd843d5ec Very basic attack system. 2025-02-10 14:06:38 -05:00
Zed A. Shaw
0cbe20af35 Fix up the colors and rendering so that tilemap just uses components::Tile all the time. Need to load all of the config data from json one time on system start instead of constantly, although constantly does make debugging live easier. 2025-02-09 15:54:17 -05:00
Zed A. Shaw
a4c13f7fc9 Maps are back and have color now. TileCell needs a rework. 2025-02-09 14:57:19 -05:00
Zed A. Shaw
a69be90464 Game now builds and is using the new dynamic component loading but enemies do not spawn in and device events are really working. Also inventory is a giant bag of fail and needs a rewrite. 2025-02-08 21:16:25 -05:00
Zed A. Shaw
d798d154ae We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 2025-02-07 19:32:00 -05:00
Zed A. Shaw
e85b5d998b System now controls the motion better since it's not GUIs job. 2025-02-06 12:13:22 -05:00
Zed A. Shaw
2daa1c9bd5 Brought over a bunch of code from the roguelike and now will use it to generate a random map. 2025-01-30 11:38:57 -05:00