Recent Posts
Fixing a Chrome + Windows Game Bug
A few weeks ago I added voice acting into Busty Barrister Barbara. It worked fine, until I tested out a Web build on my Windows PC. The audio sounded terrible, it sounded like it had gaps in it. Interestingly the bug only occured on Google Chrome for Windows.
Windows Chrome ❌ Windows Firefox ✅ MacOS Chrome ✅ MacOS Firefox ✅ MacOS Safari ✅ Sadly about 3.22 billion people use Google Chrome for Windows.
read more
Busty Barrister - Day 53
Happy new year to you all, hopefully Busty Barrister Barbara will sells billions of copies in 2024. I can’t believe it has been over a week since I’ve written a blog post.
✅ Hire someone to make music and SFX
I placed a job ad on Upwork. A lot of people applied. I hired three of them for paid trials. They should all be done by Friday this week. I’ll share their work here.
read more
Busty Barrister - Day 44
Christmas Day is my birthday, so please say “Happy birthday Angus” to yourself as you read this blog post. I had a pretty good Christmas. Spent a lot of time with my girlfriend’s family. Interestingly my Dad’s side of the family did not meet up for Christmas this year. My Mum’s side of the family live in Australia, so yeah, didn’t see those guys either. I spent a lot of time working on Busty Barrister Barabara actually.
read more
Busty Barrister - Day 36
The main character of this game is loosely based off my Aunt who is a barrister. She’s going to be mad if she ever finds out. I saw her for lunch today, and asked her a bunch of questions about the various courts in Hong Kong. She told me the district courts have open galleries so I can just go in and watch a case. She also told me that The High Court is used only when the penatly for a crime is expected to be greater than seven years.
read more
Busty Barrister - Finishing Level One
Try out the latest build.
I started working on Busty Barrister Barbara on November 17 2023. Just over one month ago. The game not done, and it probably wont be done for at least another three months. Game development is very different to business application development. When I made BankStatementConverter I coded it for a week, and got it into production. I spent the next three years improving it.
You can’t really do that for a visual novel, gamers want to play the game when it’s done, not when it’s full of bugs and temporary art.
read more
Implementing Branches
Try out the latest build.
The development of the engine for Busty Barrister Barbara has been going well. A few days ago I figured out how to deal with branching which was one of the last missing features. I’ve done this before in plenty of other games. What I normally do is:
Make sure every event has an identifier. Chain events together with a nextEventId Create Decision events with multiple nextEventIds.
read more
Building a Web Game in C
Christmas is coming up. When I used to work at a bank the entire month of December and a bit of January we were placed under “Change Freeze”. We weren’t allowed to deploy updates to our applications during this period. The thinking was:
A lot of people are away over Christmas Application changes can lead to crashes People who know how to fix those crashes might be away To prevent this they just stopped us from deploying updates.
read more
Simple Feature Gross Code
A few days ago I talked about supporting text events with multiple colours and multiple text speeds. I spent about eight hours writing the code. It took me a lot longer than I expected so I thought I’d share the details here.
Example Data set_title(data, PHOENIX); set_text_color(data, SKYBLUE); add_show_text_V2(data, "They're saying the jay walker was... "); set_text_color(data, RED); add_show_text_V2(data, "you."); set_text_color(data, SKYBLUE); This is how I was expecting to set up the events.
read more
Busty Barrister - Week 4
A few weeks ago I talked about implementing a generic list of objects that conform to an interface in C. The code is not the nicest, but it’s working well enough and I think it’ll hold up until this game is done. This is what the EventData structure looks like at the moment.
typedef struct EventData { int eventIndex; int eventCount; enum EventType eventTypes[1000]; int eventIndices[1000]; // Event lists int showTextCount; ShowText showTexts[1000]; int playMusicCount; PlayMusic playMusics[100]; int setCharacterCount; SetCharacter setCharacters[100]; int setAnimationCount; SetAnimation setAnimations[100]; int setBackgroundCount; SetBackground setBackgrounds[100]; int startSoundCount; StartSound startSounds[100]; int greyFlashCount; GreyFlash greyFlashes[100]; int queueAnimationCount; QueueAnimation queueAnimations[100]; int screenShakeCount; ScreenShake screenShakes[100]; int fadeEventCount; FadeEvent fadeEvents[100]; int configMusicCount; ConfigMusic configMusics[100]; int delayCount; Delay delays[100]; int fadeMusicCount; FadeMusicEvent fadeMusics[100]; int setBlackRectCount; SetBlackRect setBlackRects[100]; int setChyronCount; SetChyron setChyrons[1000]; } EventData; It’s gettting a bit gross, every time I add a new EventType I add two properties for it.
read more
Kuala Lumpur Trip
Last Monday I went hiking and hung out with my friend Toby. He said he was going to Kuala Lumpur for a few days and asked me to join. I had a little think about it and decided yes I would go. The next day I booked a flight to be in KL Wednesday morning to Saturday night.
Wednesday The flight was pretty good, I worked on Busty Barrister until I ran out of batteries then I read Number Go Up on my Kindle.
read more