Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411525 Posts in 69377 Topics- by 58431 Members - Latest Member: Bohdan_Zoshchenko

April 28, 2024, 03:28:36 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsFormula XD
Pages: [1]
Print
Author Topic: Formula XD  (Read 726 times)
NickHeathfield
TIGBaby
*


View Profile WWW
« on: January 28, 2017, 07:32:09 AM »

Hi TIGsource! I probably put off posting here for far too long, but I've been really busy just making my game presentable, and I also didn't used to keep regular posts. But in the new year I resolved to keep a weekly journal, and since that's been going well I thought I should start posting here as well.

Quick intro - my game is Formula XD, it is a racing team strategy game where you negotiate contracts, balance budgets, and then go and boss your drivers around come race day. The whole game has a bit of a cheeky, cartoony vibe to it, with a very tongue-in-cheek sense of humour. I've been working on it entirely solo since I finished university in 2012. Intro over!

Pausing, Skipping, and the Xingxiangxiong Grand Prix



It’s the last Saturday of January, and boy has it been a hectic, highly unusual month – certainly more than I’d bargained for. Anyway, I still got an awful lot done. This week, I hooked the audio settings into the game successfully, and built a pause menu, and then had enough time left over to make the Xingxiangxiong GP graphics.

The pause menu was actually a lot simpler than I anticipated, but I was a little bit lazy. There are no settings available during a race, because having the video, audio and keybinds change and still all be working perfectly in the middle of a race sounded like more of a timesink than I was prepared to commit to.



However, I did add a “skip” function. When demonstrating the game to people, I had noticed that novice players tend to have their cars retiring early, and then have nothing to do but twiddle their thumbs while the race concludes. Not acceptable. But skipping the race meant I would have to run a quick and dirty simulation of the remainder of the race – and to skip testing, I would have to run a similar simulation for hotlaps.

After spinning around in my chair for a bit, I decided that the most elegant solution would be to create a perfect car-type object, with maximum stats, and completely immune to any misfortune, then have that car complete a hotlap before testing/qualifying begins. That perfect hotlap then serves as a baseline for simulated hotlaps, with time added on for the imperfections of each car/driver, and then a little bit of random fudging.

There were a few issues getting the system to work, but a few minutes of chair-spinning later and I’d not only worked out the bugs, but tuned the system to generate lap times quite close to the real thing, as this picture shows:



Having done all that, I thought it would be a good time to get some more content creation done, and made the Xingxiangxiong circuit. A fairly straightforward design, with lots of red and yellow for China’s traditional colours. There are some funny notices written in Chinese around the circuit, for which I’d had help in translation, from a rather likeable student chap I bumped into in Leeds last November.

And that’s all there was time for. Next week I aim to produce two more circuit graphics. One of them will probably be for the Russian GP. Vladimir Putin isn’t bribing or blackmailing me for this, no sir. He’s really a lovely, lovely, man, and I look forward to a future of not having Polonium poisoning.

Yours truly,

Nicholas Heathfield B.A., B.S.C., S.S.C., K.G.B.

PS: does anyone know how to set a width restriction on images?
« Last Edit: January 28, 2017, 07:37:11 AM by NickHeathfield » Logged

Nicholas Heathfield
Solo developer of Formula XD
A nutty game about running a motorsport team
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic