Game Design, Programming and running a one-man games business…

Making a hobby game!

I’ve been getting very motivated about a little hobby game I’ve been working on in-between dealing with solar farm stuff, and playing the guitar. I have a lot of really cool space-game assets from my old game (some might say classic!) ‘Gratuitous Space Battles‘ and it just feels wrong to have all the art to make a space-invaders style game and not just do it! I decided to call the game ‘Gratuitous Space Shooty Game’.

I am so disorganised that its simpler for me to code a new game engine from scratch than find the hard drive with GSB code on it (or at least all of it), but luckily I have time plus experience, and I can type stupidly fast, so I’ve basically written a new game engine for this little hobby project. Its nothing amazing, the game currently only uses 2 shaders, no clever effects, no amazing visuals, just a simple ‘shoot at static sprites and enjoy some primitive particle effects’ style game:

Obviously its 2023, so just making simple ‘space invaders’ wont cut it even for a hobby game, so there is a lot of influence from stuff like galaxian, and pheonix, and all the other space shooters out there. Right now, the alien movement is very generic and simple, and nothing to shout about. No fancy splines, just left right and down!

The thing thats motivating me about this game is the small scope, and ease of adding new stuff. When I work on a giant commercial game of mine like Production Line or Democracy, every single line of code or change to a single data item needs to be checked and balanced for 11 different languages and every conceivable screen resolution and hardware, then uploaded as a patch to itch, gog, epic, humble and steam. The amount of admin, and busywork required to make marginal changes to a large project can be pretty overwhelming.

With this game, its 1920×1080 res or nothing (stretched to actual resolution, and bordered if necessary), only in English. And right now its not even on any store. This means I can have a cool idea, start typing code, and be testing it within minutes, which makes the development process pretty fun.

I don’t want to put up a public build for it quite yet, because so much of it is just totally broken, or half assed. The current font sucks, and doesn’t even display percentage symbols :D. The gameplay is unbalanced, and there is no high score system that actually stores anything anywhere yet. I reckon I need to code a primitive online high score system, and include music and sfx volume controls before I make it public. Oh and a pause button might be nice too!

I have to say though… its already very very fun. There is something very adrenaline-rushy about playing it on the harder levels, where everything gets a bit hectic. In these days of F2P, monetization, competitive e-sports, multi gigabyte patches, and achievements and so on… there is something very pleasurable about a simple game where you move left and right and hit the fire button!

When I stick it on itch or the humble widget I’ll post about it here :D.

Fourth site visit to the solar farm

2 days ago we took our fourth trip up to the farm to take a look at the site. Its over 400 miles a day of driving to do the round trip, so not something done lightly. Luckily this time we had arranged to be there when it was super-sunny, which is always a nicer way to visit a solar farm. Sun might mean no mud, but it doesn’t change the fact that this is a farm full of grazing sheep. 2 days later and I still have not got all of the sheep crap off my boots. After a while you stop looking where you are treading…

Because we are in the phase of the site build where MOST of the panels are up, and they are being wired, there is not much change to see on a day-to-day process. Most people would struggle to notice if the panels in a farm were wired-in. The wiring is always looped around the metal frame, then bundled into metal channels and cable tied together, so its not like you should expect to see cable trailing on the ground. There is a kind of minimum height to aim for with most of the cabling, which is above the height a sheep can gnaw at.

Here is an image near the end of a row showing the bundled cabling that runs along connecting the panels, and how it goes into the big chunky inverter:

Normal inverters just have one ‘string’ of panels connected to them, but industrial ones have multiple strings. This allows the inverter to do clever voltage balancing so that each cluster of panels is operating as efficiently as possible given that some may be a bit more shaded than others at certain points in the day. When you have just 10 panels on your roof, it tends to be ‘cloudy’ or ‘sunny’ at any point in time, and the inverter will adjust accordingly, but when you have 4 acres of panels, the conditions are going to always vary across even just 300 panels (one inverter) so you need the inverter to be more adaptable.

Not all the panels are connected yet. I insisted on being ‘that guy’ who wanted to plug one in personally!

This was our first visit where we saw panels installed on the right hand side of the overhead line. This makes the farm feel much bigger, and it will feel bigger still once that overhead line is moved and the two sections of panels can be joined. Waiting for confirmation on the grid connection works date and the substation and earthing design has been the biggest headache for me in recent weeks. It does feel impossible to get progress to move at any faster rate. Basically electricity generation connection in the UK has been handed over to private monopolies with no demand that they proceed in a reasonable timeframe. You have no choice but to just accept their quotes and their timescales. Its a huge scandal that nothing is done about it, but then we have a government who actively despises renewable energy, so I doubt anything will change until a new government. Very depressing…

On a happier note, it always makes me feel good to get a sense of perspective in photos like this showing how much renewable energy my little company is building:

I also had some genuinely great news, by co-incidence while I was at the farm. I had got ‘indicative quotes’ from the company building the farm for how much I could get for the power, in what is called a ‘power purchase agreement’ (PPA). You sign these for 1, 2 or 3 years with a fixed price to take all the power you generate. Of course in real physical terms, your power will flow to the nearest demand, which will be local villages and a nearby town in Shropshire, but in market terms, someone will contract to pay me for my power, and that could be anyone.

The interesting thing is that there is a dual market here. There is a simple PPA, where someone wants electricity, and they will buy it anywhere. It could come from nuclear, coal, gas, oil, wind or even from France or Norway. There is a thriving free market for this stuff. Then there is the REGO market. REGO is “Renewable Energy Guarantee of Origin”.

A REGO is a virtual certificate you get if you generate a megawatt-hour of renewable energy. It proves that the power came from a real renewable source. The REGO is basically traded on the free market, and keeps people honest. You cant sell the same REGO to 2 people, so it means if 10 companies each want 1,000 MWH, then they need to do deals with renewable generators who can provide that much power. If demand exceeds supply, the price of REGOs will go up, and vice versa.

For anybody super cynical, be aware, this system is real and works. If a company is bragging that they are 100% powered by renewable energy, they need to buy the REGOs to prove it, and only us renewable energy companies have them to sell. If you are getting your power 100% from a company that only supplies renewable generation, this is how that is enforced, and it really works.

In practice, at my scale, its not two separate things. You find a company who both needs power, and wants it to be renewable, and they give you a price for the bundle of the power + REGOs for everything you generate. In effect, this is a premium on top of the PPA I would get offered if I was a gas or coal-fired power station. Anyway… this is all a long technical explanation to say that I got 2 quotes from big (household name) energy companies and they were both WAY HIGHER than the other quotes I got. I am VERY nervous about the finances of this project, but if those prices stay in the same sort of level until I energize the plant (maybe October?) then, I will make a reasonable profit and it wont be a disaster :D.

My life will be far more chill when I finally get a date for the grid connection, or even just for the overhead line move… Fun fun fun.