Showing posts with label engine management. Show all posts
Showing posts with label engine management. Show all posts

Tuesday, 30 June 2026

User Ergonomics 2026

Cute Feet

 Flaming June was particularly flaming, at least that's what the troglodytes of the MSM would want us to believe. At one point I found my father wearing a Christmas Jumper in the hope of staving off hypothermia ... admittedly that was only a single and abbarent occaision, and it has mostly been "PIGGING HOT".

So, ignoring straining CPU/GPU fans, we have still been productive on the development front.

This has mostly been about a continuation of enlistment with the AI raiding parties, and interfacing information of what the hecking doolalies the NPC are doing, so the player does not feel random embafflement as they just follow the Ai around blindly.

 This has all been part of upgrading the ergonomics, aka user comfort, of having an actual human bean, interfacing with the whole game environment, and not expecting them to be telepathic as to what my actual intentions were when designing the game. This has naturally been more of pain in the bottom than expected, and taken longer than desired due to faffing with GUIs.

There has also been some faffing with testing engine upgrades, due to Sony, that massive billion dollarooney corporation having created the model format the game engine relies on, somewhat ignoring it's own creation over the years, leading to Blender 3D dropping the exporter plugin recently. This has resulted in FBX becoming the dominant format, and a whole lot of engine rewriting to make certain that it actually works as intended.


 So after a month of mostly record breaking sweatiness, interspaced with a small period of freezing bloody cold, we have come to the stage of having to create the final parts of the User Interface, so the squidgy human (at least we hope it's going to be human but you can't tell these days) can actually get the game to work as the designer intended.

Next up, some branding images, and the long processes of a Steam submission, hoping that I have remembered all of the things required to pass said Steam submission process. 

Sunday, 31 January 2021

Space Year 2021: Stage 1 of 12 Complete! Dogfight!

It's the futuristic space year of 2021 AD, stage 1 (January) of 12 (the Annum) has been completed ... though you might be forgiven for not noticing ... 


Having previously worked out my issues with Ai pilots taking a leading aim on a moving target I have spent all of January getting them to actually dogfight one another. Choose target, go fast to get into shooting range, slow down to follow it and blow it out of the sky. Took a bit of doing but worked nicely. 

Next up was creating a system of evading when an AI came under attack rather than just sit there and get shot at. Reading through vast tomes of air combat and aerobatics, I managed to come away with ten meaningful emergency maneuvers to try and shake an enemy fighter, and added a barrel roll if none of the others seemed to be an oppropriate match for the defenders circumstances.

 That's not a barrel roll (ノಠ益ಠ)ノ彡┻━┻

This brought some problems itself, that in high-G maneuvers such as a Stall Turn, the Ai had a nasty habit of losing all energy and ... well, stalling ... a lot.

He's written his Artificial Intelligence Pilot Engine Management System? Stall it.

So then I embarked on a complete rewrite of how my Ai would use engine management. Previously it had been a simple case of setting engine percentage with a nose attitude modifier, now it was all about maintaining the desired speed. This massively reduced stalling in tight turns but not completely eradicated. So I added an anti-stall system that would force the Ai to move to a desired rate of knots should their airspeed drop at a rate that would bring them within the losing height at level flight, with a nose attitude modifier. I reused the anti-stall method which I had written for spawning aircraft and getting them up to their starting speed immediately. The maths required a bit of evening out for an object that already had velocity in 3 dimensions and initial attempts had some supersonic thrust propelling the vehicle across the sky like Warp Factor 9 but I ironed these out eventually.

Unedited video of an 8x8 dogfight

Coupled with all of this was the the obvious need for collision avoidance, both from other aircraft and the ground and max ceiling which each aircraft type can go up to before the engine is starved of oxygen and stalls. Dynamic collision avoidance of other moving objects was somewhat of a pain in the maths but I got there eventually with very little happening in the way of head-on collisions during mass heda-on attacks at each other team's formations.

32 aircraft head on attack - no collisions just 2 shot down
64 aircraft battle moments after the first pass, and why it's called a dogfight I guess

In other news I decided to update the banners on my youtube account, and give them some new artwork. Here I discovered that it doesn't actually let you reposition your artwork and keep scale after upload, so had to edit the image to fit into their stock measurements and orientation.

I also spent quite a bit of time viewing train stations webcams on a spare monitor whilst I worked for maximum comfy.



Everywhere seemed to be getting snow ... except me, it just rained here. (๑′°︿°๑)

So, that was January, Year of The Koof Part Deux, pubs are still shut then ... Join me again in next months exciting episode of "why is maths hard?"