I really like my "Camera += (Target-Camera)/Speed" game camera systems, but I didn't like how they would seem to slow down and then awkwardly move over one pixel after appearing to stop.
Looks like I can fix that by just preventing it from changing the camera at all if (Target-Camera)/Speed is too small.
I'm realizing that there's not really any reason to stay in chats I made just because I made them, if they turn out not to be places I would've bothered to stay in otherwise.
I guess making a place for something really isn't enough to find people interested in a thing you like, because you might not click with any of the people who show up.
Now in Tilemap Town, maps, users, inventory items, and user groups are all just "entities" now (with additional data in dedicated "Map" and "User" tables)
Entities can contain other entities arbitrarily, and entities can give other entities arbitrarily. And entities can do commands! I can have non-player entities that appear on maps, move around, have inventories, and do commands the same way players can, without needing to have a connection associated with them.
I think I finally got Tilemap Town all refactored, and everything seems to work as it did before, just with a much more flexible system underneath.
That means I can start doing all of the really cool ideas I wanted to do that needed that refactor. (or some other kind of change, but this felt like the best option)
I think I'll do those cool new things sometime later though. I've been working on this project a *lot* over the past few days and a break sound great.
I've gone this entire time using Python for years and I've never once used the "match" keyword because I didn't know about it. Oops.
I also learned a few things about making my code more efficient, like using generator expressions instead of list comprehensions where possible, and to use deque where applicable instead of using lists as queues.
When working on Tilemap Town I keep thinking about efficiency and how things would scale, but I should also probably keep in mind that I can always go back and make the server more efficient if it actually becomes a problem.
As-is I'd be very surprised if it ever has more than 5 people online at the same time, and that only happens when I actually try to organize something. So "probably scales poorly, but simple and unlikely to have bugs" is fine.
I went on a walk earlier, where I focused on the architecture of the houses I was passing by, and the variety of shapes and colors, and there really are a lot of very pretty, very different houses.
I even came across some sort of art gallery, that was just next to all the other houses? http://www.castlegallery.com/
This is part of the reason I'm glad I live close to downtown instead of in suburbs.
Food
For the longest time I really wanted hash browns and couldn't find them for sale anywhere, and then I managed to get some at ALDI, and the local Walmart started stocking them again very recently!
And now I'm in a spot where I'm out of all potato products except for hashbrowns so this is all I've got until I go to the store again haha. It's funny that it's reversed a bit.
I've noticed a long while ago that the way I approach game dev is a lot closer to fan game stuff than normal indie games.
I thought it was just because I outgrew romhacking and a lot of stuff stuck with me, but it's also true that I'm a huge fan of my own characters and worlds and that passion is a big part of what fuels game dev for me.
My big Tilemap Town server refactor is going great and a lot of the game is working again. I managed to make a few things cleaner too. So from here I guess I just need to go over the commands and protocol messages and adapt the few things that actually need changes.
I'm excited for when the new redone version of Mesen comes out. I got to try it early and it's really great.
Though I'm not sure what that's going to mean for my forks. I won't have a reason to use them anymore; the whole reason I forked Mesen-S in the first place was to add missing features that Mesen had, and now they're here but even better.
I'm a hobbyist game developer who mostly focuses on old Nintendo consoles, but I've done projects on PC too.
I'm also a furry and that tends to tie into my game development quite a bit. I make cute characters and make games about them. See https://toyhou.se/NovaSquirrel to learn more!
I like roleplaying as my characters a lot and it's probably my favorite social activity.
I post NSFW sometimes but I tag it.
Feel free to reach out if you have common interests and wanna be friends! [she/her]