Wednesday, 26 November 2014

More Light More Progress

More work continued on the lightmapper today.  Multi-materials finally dealt with, and working across all the samples I threw at it.

I also tried out lots of buildings from the City Pack available from the game creator store and that worked a treat too.

The major bulk of today's work however was slicing up the lightmap process so it could update the rest of the app while it was working. This allowed me to create a nice progress bar to show what is going on when large scenes are being lit and a long waiting time is expected.

It took all day, but I am glad it's in now as this feature has been requested by pretty much all the alpha testers and having figured a way around the difficulties it's done and dusted now :)  Next on my list are a sequence of smaller issues but high priority, and then I can look at a new internal build for the alpha testers this week. Looking stronger every day!

Tuesday, 25 November 2014

Meeting Day And Material Success

Had our ritual meeting today which starts early at 8AM and ends sometime around 4PM in the pub :)  Covered many topics, mainly progress and strategy, and had a good chat about the next steps for our AGK2 and Reloaded projects. Went very well and was able to get back and have something to eat and a cat nap before waking up and writing this blog.

Had a dream about some weird contraption where about eight people connect to a large ring hovering above them, which resembled a massive quad copter but with the propeller in the middle.  We started it up, and after a while we could pull our knees back and we remained air-born. It was then up to the individuals to decide whether to go up, down or in which direction. I am not sure how it was controlled, but I was given the conch and was able to move the beast by simply leaning in the direction intended. After about a minute, and gaining a good 30 feet over some grassy field, one of the passengers started getting woozy and wanted to get off, so the craft was subsequently landed, and the person ran off to throw up.  I then awoke to the tune of the cat throwing up hairballs.  I would provide a screenshot, but it was just a dream :)

What I can show however was the antics from last night. I finally finished work at about 2AM, clocking over ten hours on a single task:

This is what I had at 9PM with the off shadow issue and something not quite right, and totally too many polygons and draw calls.

And this is what I had at 2AM. As you can see, all those meshes have been welded up and even though each building has six textures (materials) each, the system was able to identify their close proximity and common attributes and weld them together to create the whole scene in just 4 draw calls. As you can see it's also lightmapped. This is a model from the City Pack in the store, but as Rick pointed out today the upper building texture is wrong as there are two texture types used in the original model. Looks like I have a little more grind stone to spin before this multi-material thorn in my side is extracted!

On a non-Reloaded subject, I stumbled across a movie production last night called Bedrooms to Billions, which is a great film to watch if you are an aging 40 something Brit who dabbed in computers back in the day, and charts the rise and fall of the UK games industry. Yes folks, that's fall.  I've only watched half of it, then I had to sleep, but I think it has a happy ending with the news that after dropping from #1 to about #5 in the global economy of making games, a new breed of mobile adepts are emerging who may very well help our small island regain some of it's former glory, and with the recent introduction of programming lessons in our curriculum (teaching kids algorithms as young as 5), we're set to have a generation of Brits who eat, sleep and think binary ;) A powerful resource to have in the techno-magical era ahead.

Time to fix the last remaining multi-material lightmap grumble, test everything around it, make sure nothing is broken, then test the rest of the City Pack to confirm it all works well together and put a temporary lid on the issue so I can move onto the next thing. We've agreed a tentative deadline for the final V1.009 (secret) so we're now focused to get something solid out to you soon. I can say a build will 99% get out to you before the Christmas season, and that build will be a good one.

Monday, 24 November 2014

In Support Of Multi Materials

Multi-material models from the store have been the real subject of todays grafting, with the entire city pack built on these foundations. Not necessarily loading them in, which works fine, but light mapping them. The currently lightmapper was strictly designed handle one light map object per one entity, but the MM models could have any number of objects for a single entity, each with their own texture.

The current build as of Friday could take a single material from the model and lightmap it, discarding the rest. Monday was about allowing the lightmapper to discover the rest and include them in the process. As the old system was a one-object based system, everything needed updating, the data structures, the load and save, the consolidator, the lot. 

This is my progress by 9PM, with all six materials separated, submitted and lightmapped (to some degree).  I have an all day meeting on Tuesday so cannot stay up too long, but I think I am over the hump now and it's just a case of calming down the shadow objects, restoring the floor plane, e.t.c.  Slowly slowly, catchy monkey!

App Game Kit 2 continues to do great on Steam, and is providing useful information and statistics to help us plan our Reloaded launch early next year. For more info on AGK2, here is the Steam page:

Going to put another hour into finishing the lightmapping of MM models, and then make a build for the meeting show tomorrow.  The agenda is quite full so need plenty Z's so I don't fall asleep half way through, but rest assured on Wednesday the fixing continues as I make my way though the list of items fed back from the weekend alpha testing.

Saturday, 22 November 2014


Well what a trip that was, our first ever Steam title launched into the world and what a smooth birth it was too.  Admittedly I only stepped in to bask in the limelight of the release, having left the muddy murky world of having to develop it, but it seems my absence from the project probably improved the product overall :)  As any expectant father would, I set up the revenue page on my browser and refreshed it every hour for a whole day (with a few hours to sleep) and it was a real buzz to watch the number increase every time I pressed the refresh key.  Alas I am not permitted to reveal the figures by order of Steam HQ, and I suggest you do what Steam developers before us advised, which is come and see for yourself. If that's not an invite to finish your game projects and get it onto Steam I don't know what is :)

We started off modestly in our very own 'Game Development' category, but listed in the New Releases chart very briefly on the day of launch. The cynic in me said to take a picture because we would not be here long, remembering the sting of all those iOS and Android apps we developed over the last few years.

We then stumbled into the Top Sellers spot for the 'Game Development' category, probably due to the huge discount on offer for our launch week.  It was still nice to be there and gave me a nice warm feeling, and a delusion of what it might be like to stay there a little while longer.

We then surfaced and achieved top spot in all three tabs, New releases, Top Sellers AND specials, AND a first banner slot when I visited the site (for the hundredth time).  Seemed like the whole world was App Game Kit 2, and life felt good.  Admittedly a big puffed up fish in a very little pond, and probably only for today, but it still felt good.  What made me feel a little better was what happened next.

Our little game maker had escaped the confines of the 'Game Development' category and was now dancing about in the GENERAL News feed for the WHOLE OF STEAM, and in the number one slot too!  Don't ask me how it got there, or why, or whether it lasted more than a minute, but it was great to see.

I don't know what the future holds now. We have a great marketing tag team behind the product, a driven and seriously overworked lead programmer spearheading the development of this game changing tool and a company which has spent a considerable number of decades catering for the needs of budding game designers everywhere.  Combine that with the biggest distribution platform for the PC and we have everything to play for, and opportunities abound. I am big fan of competitions though, so expect a BIG Steam based competition off the back of our launch in the very near future with great prizes to get people excited (if the bank manager lets me).

If it was a choice between a 'state of the art PC gaming rig' or 'a device for every platform we support', which top prize would you prefer?  Nothing says 'look at me' than a huge sexy prize!

It you are interested in taking advantage of the launch discount of 33% on the regular price, you can visit the Steam store right now with this link:

I recently watched a YouTube documentary short called 'Becoming YouTube' which had a great mix of humor, introspection and information that propelled me through all 12 episodes. Still infected by the inspiring insights of this intrepid investigation, I got to thinking that perhaps a short YouTube documentary entitled 'Becoming Steam' might be a suitable continuation of this invaluable public service.  Unfortunately, I am not an actor, nor attractive, have no production facilities, no time to record, let alone edit the footage, no Steam developers to interview and no journalistic skills whatsoever. Given these minor disadvantages one might conclude that a series of episodes on becoming Steam might do nothing but damage and distort what is a truly amazing experience that every developer should feel before the world moves on again, not to mention invite a lawsuit for the use of the adjective 'becoming' in this particular context.  I was also thinking of dying my hair bright green (as it rhymes with steam) but it's easy to take these flights of imaginational fancy too far.

As you know, my own active involvement in the launch of App Game Kit 2 on Steam was a dress rehearsal for the product that I am pretty sure is set to sweep aside all previous records for sales of a game creator on Steam.  I cannot think of a better vehicle to gauge what the Steam community want from a game creator than by giving them another game creator and listening to what they have to say.

I have been promising myself a nice distracting game for weeks now, and this very second I feel like returning to my gamer roots, so I'll leave you with this rare weekend blog post, invite you to check out the AGK2 Steam page and see you again on Monday when I resume my blog on the trials and tribulations of an overworked under-appreciated insanely happy game engine coder.

Friday, 21 November 2014

App Game Kit 2....IS ON STEAM!!!

I am keeping todays blog short and sweet. Aside from some good fixes, and some more work later this evening to make a build for the alpha testers, and a hell of a battle with converting multi material entities to regular ones for the light mapping process, the MASSIVE news today is the launch of our App Game Kit 2 product on Steam:

App Game Kit 2: Easy + Instant Game Development

If it's within your power, please help us promote this and spread the word so we can make a Steam splash!  If you think there is something my team or I can do to further our success with this launch, comment here and I'll be all over it. The official steam page is here:

I will be doing more Reloaded work over the weekend as well as keeping half an eye on the AGK2 release, so fingers crossed everyone for the next 24 hours :) We should learn a LOT from this launch, and have a great template for our second major product, Reloaded, early next year!  Until then, have fun exploring App Game Kit 2 and have a super weekend!!

Thursday, 20 November 2014

Oh My Poor Head

I feel like a hollowed out water melon today, largely due to the mixing of Guinness and Newcastle Brown Ale. Turns out the pool match was cancelled so decided to play a different game called boozin'.  That's my social life done for another week, and now back to the code!

I continue tweaking and refining the lighting system, and now the fog works across all the various shaders and it's looking pretty neat.  Currently working on fixing up the Super Terrain Mode, which when working allows you to replace the terrain which is a performance and memory hog with a simple flat polygon, allowing things like city and interior scenes to be created.

Not sure how much time to dedicate to Super Flat, as I am now straying into lightmapping it and it was not on the original list, so hopefully I can get it squared away and move onto more interesting issues.  Bottom line is that V1.009 alpha build is looking very nice now, and I am hopeful the alpha testing team will agree with me :)

App Game Kit 2: Easy + Instant Mobile Development

In other BREAKING news, we are about to launch our first product on Steam! As some of you know AGK2 has been brewing in development phase for some time now, and we're very pleased to be able to officially launch it to the masses. 

You can find our Steam page here:

It is particularly relevant to this blog too as this launch allows us to make a dress rehearsal for the launch of Reloaded on Steam next year.  Any mistakes we make will be a lesson learned for when we go public with a V1, and hopefully maximize our impact there and make it a great release.  If you've already pledged to the AGK2 kickstarter you'll be getting your free Steam keys soon, and for everyone else who wants to start some mobile app development the easy way, we have an early bird discount available when we launch AGK2 tomorrow.  Exciting times!

Wednesday, 19 November 2014

A Day Of Light

Some good fixes today, including extending the dynamic lights to MEDIUM shader techniques and making them the default. The upshot is that users can drop in dynamic lights and see the results of them instantly which is exactly what you want for a new user.  The best news is that the addition of these light calculations only drained a few FPS from the already high 90's which in lee-man speak means it's as good as free :)

I have modified the GTTR (Get To The River) level to include a static and dynamic light, plus a new scripted entity so you can switch the dynamic light on and off. Really happy with the overall work done on lights, and aside from some gaps I am sure still exist, we are getting closer to a V1 for the lighting stuff.

I certainly need to include the grass in the dynamic lighting fun to blend it all together, but at over 90 fps with dynamic lights and pre-baked good definition shadows, and dynamic shadows for dynamic entities to the floor, I'd say V1.009 is certainly going to leave it's mark.

I know there are more effects I can do with the overhead lamp machine, such as lens flare, volumetric light rays, some subtle sound effects and maybe the occasional moth flying about the bulbs, but the mission has been and will remain the completion of the core elements of the product, which means drawing a line on this one for the time being and moving onto other urgent matters like memory management, overall system compatibility and the remaining missing features of the engine/editor.

Also, I added a new slider called Fog Intensity, which turns out to be pretty cool as it allows me to make atmospherics effects without washing out the distant mountains.  Notice how the characters (which are not presently using Fog Intensity) are washed out, but the rest of the scene is bathed in a soft fog.

I have another 20 minutes of coding, and then I am off to play a few racks of pool to unwind and study the miracle of Guinness up close.  Thursday will see the various shader tweaks applied and tested, plus a slew of additional critical fixes reported so far by the alpha testers.