Wednesday, April 23, 2025

Items can Initiate Quests Now!

In an awesome ongoing surge through things I've wanted to get done for ages, I modified my editor to let items start quests, then brought it nicely into the app menu and use systems.

Not a lot more to say really, it's been a to-do for ages, and now it's moved into the "Done" quadrant.

Huzzah!

Token Purchases Finally Functioning

Given how nicely and quickly I managed to implement characters starting with gear yesterday, I really thought I'd have a chance of getting tokens implemented yesterday. Alas, it was a lesson in hubris, and towards the end of the day, I thought I was within reach - after having upgraded my editor to handle these things, then making changes to the app in how items are read, then changes to how some adapters process things, then a whole bunch of stuff what happens in the app when checking if a purchase can be made, then finally working out what needs to be passed to the server and eventually getting it passed there.... to realize that unless I made significant changes to much of what I'd just coded, that the server would need to do most of it all over again - and that was not going to be efficient. So this morning I managed to get stuck straight into it as I've got the day off (I've actually had the last few off, hence the dive into bigger things) and made the needed changes, passed all the extra information to the server.... and finally...

Characters can now make purchases using tokens instead of money when a vendor allows it. This means a multitude of things. Firstly, I can now give mages some tokens when they are created, so you'll be able to pick and choose the spells you have to start with. Same for other classes to get a nice bit of armor, or a nicer weapon etc. Brilliant. Secondly, it means that I'll be able to have some quests reward you with a token that you'll be able to trade for what you want, rather than just a single item from the NPC. Again much better. And lastly, it also opens up the potential to have a form of barter in certain places, or with certain vendors which is quite intriguing from a story point of view.

Tuesday, April 22, 2025

New Characters.... Start with Stuff!

So, I've made a few starter items, and tweaked some code. New characters will now start with some super basic equipment, but equipment nonetheless. It's also equipped when the character is created, so it should make it easier for super new players to not have to work out that they need to buy stuff, then equip it etc etc.

It's only early in my day, and I'm not working today, so hopefully I can throw in some more stuff before the day is out.

I don't want to give myself too large a target, but while looking at this starting equipment, I was thinking that having some starting tokens, that you can trade at a starting location for things might be handy too. I've given folks some basic clothes and a rudimentary knife, but for mages... they're not going to start with any spells - as all spells need a skill... what if I give you a fire scroll, but you want to be a death mage.... do I need to give you eight starting spells? It all seems a bit confusing. If I can get tokens working (which I do plan to do already for some quest rewards and the like) it would certainly make this easier.

That Bug... FInally Squashed!

So, for a good few months, one of the bugs that's been just getting past my ability to be resolved has been the one where the screen rendered goes completely janky when the device orientation is changed, but before the player moves. Once the player moves, it resolves, but that change did something. To a lesser degree, it was also present when the preferences were changed to render a new resolution. And it was, to a much lesser degree, also present when you walked into a house, or up or down stairs.

No more.

I finally hunkered down, sat there with the code for rendering, the other code sections that work around these actions and kept at it.

It's also one of those "it makes perfect sense" when I've spent the two days to work it out, and yes, it makes perfect sense of what's going on, and why it was doing that. And of course, as it always is, threads were involved. Not the only culprit, but involved. So amusingly, there were indeed to issues that were causing individual issues, one when the orientation changed, and a different bug when entering/exiting but they're both solved.

So, that's been an utter elation to finally have that fixed. The game just looks so much more finished with that no longer being a thing.

So, next things next.

I'm doing some testing on a tablet, to see how things look with a completely different screen, and aside from one random crash, the app seems to be stable and without issue so far.

So, next on the agenda. I need to tweak the code when new characters are created to give them some starting items. My band-aid solution for that was to simply start the party with some cash and drop a few cheap "starter" items on a vendor, but I think I need to do better than that. So, that's my goal for tomorrow. Create some "starting with..." items and to tweak the code that creates characters to add them automatically when a new character is created. Oh, and to add in a party trainer type NPC to the starting Inn.

As for the screenshot, I started a new party using my wife's tablet and created characters named after what she suggested.

Tuesday, April 15, 2025

It's all About Questing

It's been a fun few evenings of late. I've really been getting stuck into quests and conversations, and while I'd love to say it's purely that, as I am play-testing these things, I'm finding loads of various bugs - but I'm also fixing them at the same time, so that's an upside too.

 I've done loads of tweaks with the conversations code, getting the app to do everything that it was supposed to do. I've slightly expanded some of the possibilities that conversations have from what I originally meant them to do - as in things can "happen" when the NPC says something as well as when your reply with something and just little bug fixes so that the app knows what display in what event... and sometimes that's just going back and forth in the app and editor, talking to the NPC, seeing something I shouldn't see, going back to the editor, fixing that part of the conversation, and back again.... same for quests.

But. It's been a whole heap of fun running about and finally getting through a big quest series - I mean big for what I've made SO FAR (feel free to imagine that Simpsons Meme template for that statement). But, my party has some cool new gear, oh, and I fixed the map up in a bunch of places where it needed a little correction to let me get through where I should be able to get through. And I found a bit of the map that isn't finished. Oopsie.

Saturday, April 12, 2025

Quests and Conversations

I've had a lot of fun today writing dialogue and putting quests into place. I'm yet to release it all on the alpha testers, but I've found myself getting into a good development routine in the way that I make these. I've got tabs open creating placeholder quests - well, the actual quests, but just making it completely bare-bones and making sure the dialogue around it works the way it should. I can then go back and make sure that each quest has all the details and is set up in all the ways it needs to be later. This is giving me a much better frame of mind to get all the right connections in place, and set up the series nicely.

Anyhow. It's been grand. Today has been all about Fondenroth, son of Fondenroil, son of Thrombendrol of the mighty Hala Thrombrin! There's some cool stuff in that quest series that slowly starts to open up into the greater myth and lore of the world. I've been doing a bunch of nice, but also fluff quests, but this one starts to really get into the true stuff of the game.

Thursday, April 10, 2025

Questing and Conversationing

Just a quick update tonight, I've been writing a good bunch of conversations, quests and testing them out to make sure they work just the way they're supposed to. For the most part, it's getting better, though I am still working out the best sort of conversation structures to have when having multiple quests given by the same NPC and how to set it up properly in the editor. I think I'm getting better, but going back to slightly older conversations still gets me confused as I try to add more stuff in.

Oh, and I've been doing a lot of play-testing to make sure that these quests work properly. There's a few bugs and things that I can improve, which will hopefully be pretty easy fixes. One that stood out was when handing in items to an NPC for a quest, the "Deliver Items" button turned them in one by one, so I either need to put a label on it, or change it to hand in ALL the items at once at that vendor. Either way will work, though the second one is probably better.

Items can Initiate Quests Now!

In an awesome ongoing surge through things I've wanted to get done for ages, I modified my editor to let items start quests, then brough...