#
#gamedev progress:
- added functions to selected nodes, edges and faces.
- Elements are selected with that precedence if the cursor is close enough.
Personal Blog about anything - mostly programming, cooking and random thoughts
#gamedev progress:
#gamedev progress:
Started work on an room editor. I already had a very simple version at some point, but it degraded as all content is procedural at the moment.
https://mastodon.social/@drmorrisj/117531502063403982
The problem is that the server does not notify the client about changes to a room yet. So Player 1 and 2 can be in the same room, both pick up book A and place it in another room. This would lead to two "book A" entities in two different rooms.
Download 720p video and best audio in MP4 format.
--format "bv*[ext=mp4][height<=720]+ba[ext=m4a]/b[ext=mp4][height<=720]"
#gamedev progress:
After the persistence refactor I've added a networked implementation. In principal this already allows for a multiplayer server. However changes to the world state are only synced on entering a new room. This would most likely lead to inconsistent state, e.g. a book being placed in two rooms.
I've refactored the persistence system of my game entirely. Before the refactor I saved an intermediate representation, which was created by the level generation. When a room was loaded the representation was transformed into entities to be added to the world state. As I also had to track the positions of books and scrolls, I had to pollute the structure further and further. This made adding new mechanics difficult as I had to somehow fit it into this awkward structure.
My new approach is to simply save all entities (I use fat structs to represent everything) belonging to a room in a single file. Whenever something changes in a room, I can just serialize all entities and be done.
#gamedev progress:
Can now place pictures in frame.
#gamedev progress:
#gamedev progress:
#gamedev progress: