Zed A. Shaw
|
569d04725a
|
This is the cause of the bug where going to the next level caused things to disappear. What happened is that on next level this code was adding the player but _not_ adding them to collision. Then when the player moved the spatialmap would remove them, see they're technically 'no collision' and then add them back in without collision.
|
2025-07-31 00:03:13 -04:00 |
|
Zed A. Shaw
|
e51fb8627c
|
Switching to Linux to find a memory bug and I want to keep a record of what caused it.
|
2025-07-30 22:34:26 -04:00 |
|
Zed A. Shaw
|
d6326c9e41
|
Mostly working spatical map with 2 level collision/space structure. Not the best implementation but this is the idea.
|
2025-07-29 03:12:44 -04:00 |
|
Zed A. Shaw
|
fd53f92fe6
|
Prep for fixing the spatialmap to allow for entities without collision to still be in the space.
|
2025-07-29 02:13:29 -04:00 |
|
Zed A. Shaw
|
1baf90a776
|
Easy fix, just set aiming_at in the camera position. Closes #57.
|
2025-07-05 12:04:07 -04:00 |
|
Zed A. Shaw
|
970905fcd5
|
Make the player's inventory just a regular entity attached to the player.entity.
|
2025-07-02 23:55:06 -04:00 |
|
Zed A. Shaw
|
6576164fad
|
Give a healing potion too for testing.
|
2025-07-02 10:49:05 -04:00 |
|
Zed A. Shaw
|
6a0725e401
|
Simply re-init the overlay on new level. Closes #14.
|
2025-06-28 22:39:46 -04:00 |
|
Zed A. Shaw
|
769530b45c
|
Now standardized on GameConfig everywhere I can. Closes #28.
|
2025-06-28 11:32:58 -04:00 |
|
Zed A. Shaw
|
3c5021e4c9
|
So far most of the bugs are solved but there's still some edge cases in the inventory dance.
|
2025-06-22 23:54:50 -04:00 |
|
Zed A. Shaw
|
a0eff927b6
|
Big BIG refactor to make inventory use a model that's placed into the world, following a more sane MVC style.
|
2025-06-20 13:17:12 -04:00 |
|
Zed A. Shaw
|
f208ca946e
|
Made the components module work like textures and sound so that there's just one constant map of components.
|
2025-06-02 23:33:59 -04:00 |
|
Zed A. Shaw
|
ab391aaa97
|
Have a plan for the new inventory and looting system, now have to implement it. Temporarily you can't pick anything up, but it will go away.
|
2025-06-02 00:58:16 -04:00 |
|
Zed A. Shaw
|
d2a5dfa713
|
Rooms are now styled randomly based on assets/styles.json which will evolve into specifications for themes of levels and rooms in them plus other configs.
|
2025-05-30 20:35:17 -04:00 |
|
Zed A. Shaw
|
931d9493d2
|
The raycaster can now pair a floor with a ceiling tile and to demonstrate this I have a blue light that shines on to a stone floor. I also played with just pixelating a regular image rather than painting it and honestly it looks better in a lot of ways.
|
2025-05-26 13:59:26 -04:00 |
|
Zed A. Shaw
|
e015652f4c
|
Now have the ability to load different textures for the floor, not ceiling though, it just matches the floor.
|
2025-05-26 00:29:32 -04:00 |
|
Zed A. Shaw
|
8453e7c3b9
|
Map is back.
|
2025-05-25 22:39:42 -04:00 |
|
Zed A. Shaw
|
af2947c50a
|
Simple styling of the rooms done.
|
2025-05-25 12:12:08 -04:00 |
|
Zed A. Shaw
|
3a745d492a
|
Refactored out the tilemap since it was mostly doing nothing useful.
|
2025-05-25 11:39:43 -04:00 |
|
Zed A. Shaw
|
c0d668fb0b
|
Played around with a circular map real quick.
|
2025-05-24 10:58:28 -04:00 |
|
Zed A. Shaw
|
9dcc2036aa
|
Trying a new 'glowing moss' texture to sort out how to make the raycaster alter the light of a surface that has its own light.
|
2025-05-24 00:47:44 -04:00 |
|
Zed A. Shaw
|
4eaf3c35d6
|
Fixed up the map generator so that it's placing entities in non-overlapping tiles and adapting the style for the size. It can also deal with maps that have no rooms better and places the stairs better.
|
2025-05-22 12:24:59 -04:00 |
|
Zed A. Shaw
|
5f1a453fb4
|
Refactored the maze functions to be a builder that can do different things to the maze. Also when I hit p in the game it'll save the map to a file. This was extremely hard for no reason.
|
2025-05-21 13:56:53 -04:00 |
|
Zed A. Shaw
|
20f03731e5
|
Cleaned up the maze placement so that I can have mazes without rooms and with other features.
|
2025-05-20 12:53:03 -04:00 |
|
Zed A. Shaw
|
33cd490ed3
|
Playing with maze gen again.
|
2025-05-20 03:19:58 -04:00 |
|
Zed A. Shaw
|
ac252bf09d
|
Maze works well now and there's something placed in all rooms and dead ends. Will need to randomize it more so not every dead end is an enemy.
|
2025-05-19 11:19:33 -04:00 |
|
Zed A. Shaw
|
a0b785cb2a
|
Hunt-and-kill algorithm rocks. It handles everything I need for map gen, including spawn points, room placement, and the maze like map.
|
2025-05-19 01:40:23 -04:00 |
|
Zed A. Shaw
|
0f8e61797f
|
Now using a hunt-and-kill maze algorithm.
|
2025-05-18 14:37:43 -04:00 |
|
Zed A. Shaw
|
7a0b2f988d
|
Add a terrible maze generation algorithm to test if a maze style map looks/feels better. The walls are disabled so you can walk around.
|
2025-05-18 01:00:47 -04:00 |
|
Zed A. Shaw
|
bc557652ba
|
The player now has some starting items to craft a first weapon, and it is craftable in the UI.
|
2025-04-26 13:18:43 -04:00 |
|
Zed A. Shaw
|
00c28f47eb
|
Rituals are now being added a belt on the player in a temp function in LevelManager.
|
2025-04-24 12:27:29 -04:00 |
|
Zed A. Shaw
|
4f090159ab
|
Started working on this 'arena tester' tool that would let me load an enemy and test them, but then realized I could just make it so I can spawn enemies in the game. I'm keeping the arena around as it will be useful later as a scriptable testing tool, but for now just spawn and test.
|
2025-04-04 12:45:55 -04:00 |
|
Zed A. Shaw
|
2e79cf8781
|
Map is way better and components::Tile is _vastly_ improved by switching to a wchar_t on display and letting nlohmann::json auto convert it for me.
|
2025-03-22 02:10:56 -04:00 |
|
Zed A. Shaw
|
a6d83db20c
|
Fixed up dbc.cpp so now just use it everywhere. I next need to find a way to pass that to format automatically.
|
2025-03-17 23:53:58 -04:00 |
|
Zed A. Shaw
|
54fbf22b6d
|
We can go down a level and there's a loading screen for it. The map and motion now matches the directions shown in the raycasting. There's now a compass that shows you the direction you're facing.
|
2025-02-25 13:15:39 -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
|
be4d0d51de
|
Two main GUI elements are placed for the left side status and the bottom combat UIs.
|
2025-02-12 17:55:21 -05:00 |
|
Zed A. Shaw
|
421cca308b
|
Fixed player showing up as an enemy and did better map centering.
|
2025-02-11 11:10:18 -05:00 |
|
Zed A. Shaw
|
abd843d5ec
|
Very basic attack system.
|
2025-02-10 14:06:38 -05:00 |
|
Zed A. Shaw
|
6bca6d021e
|
Sprite is now a component we can place on anything to render it.
|
2025-02-10 12:58:24 -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
|
9e91c71125
|
BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail.
|
2025-02-08 14:03:09 -05:00 |
|
Zed A. Shaw
|
a67d25ee10
|
Tiles now record their textures and this is loaded from the map then converted to an indexed integer on the fly.
|
2025-01-31 13:37:01 -05:00 |
|
Zed A. Shaw
|
56d67aba28
|
First hack to get a random gen map going.
|
2025-01-30 13:23:12 -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 |
|