Finished balancing the last boss today, yay!
It might not be a big challenge if the player is well geared, but it still requires some attention and a moderate amount of skill!
Just missing three more elements and first pass is done:
- Equipment Screen
- Health Injectors
- Title Screen (to replace the ugly one below):

It made sense at some time, but not anymore! 
Now listening to “A Deeper Kind of Slumber” by “Tiamat”
Link of the Day: If I had space in my house, I’d print this in a big format and hang it on a wall, that I have cover in ceramic, which you could do too, if you want, then you could use weber for your next project with ceramics. Dirk Loechel had a tremendous amount of patience and skill and did an image with all sort of spaceships in sci-fi, scaled by their “real” size: http://dirkloechel.deviantart.com/art/Size-Comparison-Science-Fiction-Spaceships-398790051
Today I achieved what I feel is a milestone: finished the last cutscene of the game!
There’s still a long way to go before the game is ready, but it really feels like the beginning of the end!
Took me a bit longer than expected because I also added the end credits, and since some of the names in portuguese have accents (like ‘á’) I had to make the font renderer work with these characters… and since I don’t do anything the easy way, I added a full codepage system, so the game can work in any language!
A lot of work, but if I can find somebody to translate the game into a couple of languages it will look more professional (and we might reach that audience that prefers to read text in their original languages).

“Código” is “Code” in portuguese… All text in the game is stored in files, so I can just translate some XML files and I have a new language in place!
ALso ran into the problem that I have too many hats… In 9 “topics” of credits, my name appears in 4 of them… I could just put my name once with all the stuff I did, or ignore the stuff I did (just call it a “Diogo de Andrade game”), but I like “explicit” credits… But I feel this way I look like an attention-grabbing maniac…
Still need to consider that…
Now listening to “The Single 86-98” by “Depeche Mode”
Link of the Day: A good friend of mine is almost releasing his new album, a collaboration between himself (Luis Fazendeiro, of metal band Painted Black) and Mick Moss (of rock band Antimatter). Luis was also responsible for the music currently in game (and all of it, if I can convince him!). Their album sounds really good, very emotional music, mostly in the rock/ambient genre, so be sure to check it out when it’s released (next month, I believe):
Second part of the cutscene is done… This is a bit slow going because my “tools” to make them are crap… If I had on Cantrip the tools I have on Spellbook, this would have been done for ages now!

Since this part takes place in a familiar place, I can do a not-censured screenshot! 
Anyway, trying really hard to make this cutscene really good, since it’s the last one! It’s difficult to find a fitting end to a story… I feel most stories don’t actually end as well as they “middle”… 
Hopefully tomorrow I’ll finish the cutscene and will balance the final boss…
Now listening to “Soul’s Highway” by “Beseech”
Link of the Day: I’m enjoying the latest Lindsey Stirling album immensely… Here’s one of the songs for you to enjoy:
Before I start to really work on the final boss, balancing it and adding the last gameplay mechanic, I’m going to work on the final cutscene, while the boss only takes a few shots to kill… This way I test the logic and I won’t have to play the hard version of the boss each time I want to tweak the cutscene (and I average about 40 runs to get a cutscene more or less right, depending on length).
No screenshot because of that, because I forgot the game autosaves when it goes back to the Skydancer, and the last part of the cutscene takes place on the Skydancer… Now I have to play since the last savegame I have, just outside the end area… Oh well, not a big problem…
Now listening to “Blackwater Park” by “Opeth”
Link of the Day: This one is for animation programmers… I actually had this idea for some time now, never had time nor the actual knowledge to implement it. It leaves out some stuff that would be useful to see his approach (the collision detection with the actual meshes), but it has great stuff there: http://www.gamedev.net/page/resources/_/technical/graphics-programming-and-theory/real-time-cloth-simulation-with-b-spline-surfaces-r3814
Just finished the final boss introduction cutscene… It came out quite alright, one of my favorites so far!

Now to get pass the boss fight at the end… I might be a bit underpowered for it (hopefully the player will have amassed much more gear at this point). The problem is that if you haven’t, this fight becomes impossible, and unlike the rest of the game, you don’t have a way to go back, unless you have a save game… Still need to think about on how to go about this, to be honest…
Anyway, I got my work cut out for me, since the boss is quite hard and imposes a new gameplay mechanic (from the AI side).
Now listening to “Masterplan” by “Masterplan”
Link of the Day: This movie seems interesting, a cross between “I, Robot”, “Blade Runner” and “Almost Human” (can’t believe they cancelled that, it was so awesome!):
Working on the level design of the last area of the game, and it’s really slow going… The problem is that I’m measuring difficulty with my own skill set, which is very high for this game at this point…
On the other hand, I don’t want to make it easier than I have to, since this is the last area! The player should feel he just had a huge achievement, but not feel frustrated until he reaches it… Not easy at all, at least for me…
Some people just seem extremely gifted in this (John Romero was before he want insane, as Edmund McMillen is another), but for me this is really hard and not as much fun as gameplay mechanics design, or story-telling (even if I hate actually making the cutscenes, but I love envisioning them!).
Obligatory censured screenshot:

Now listening to “Shatter Me” by “Lindsey Stirling”
Link of the Day: Back when I was doing seminars on game making, I often got asked on my opinion on game development for kids and masters scholarships that give them the best education… I’ve always had the idea that game development is a great way to get kids into technology, science, math and logical thinking, and could be an excellent educational tool from https://www.sodapdf.com/ On that note, I’ve found this great link for a Guide to Getting Kids Started In Game Development on the Game From Scratch site: http://www.gamefromscratch.com/post/2014/09/16/GameFromScratch-Guide-to-Getting-Kids-Started-in-Game-Development.aspx
Well, at this rate I won’t finish the story part by Sunday, but sometimes playing with effects is so much fun…
Today, I kind of lost track of time working on the background effect of the last area, which led to a very interesting effect, which lends the whole area a completely different tone… So, all in all, totally worth it!

Here it is, appropriately censured (no, the stained glass effect is not part of the area, although….).
Now listening to “Act of Stamina” by “In Element”
Link of the Day: I’ve never been too interested in Tolkien-based games, for some reason, although I love the lore, books, movies, etc… Anyway, the new “Shadows of Mordor” game might be interesting, and this live action clip inspired in it is very cool:
Today I mostly struggled with a bug on my editor.
I’ve added a shader to one of the voxel materials, to give it a special effect to the end zone, but when I tried to add some alpha to it, it wouldn’t display anything…
After an hour or so of searching the wrong place, I finally found the issue, which was quite simple! This is annoying, but that is a coder’s life sometimes!

Now listening to “Fireworks” by “Angra”
Link of the Day: I haven’t put many links of the day, mostly because I haven’t gone to the internet that much lately, since I’m very busy with DayJob™ and the game development stuff, and the little time I have left, I’ve spent playing “Assassin’s Creed IV: Black Sails”… Anyway, here’s an interesting post on voice acting on “Tales of the Rampant Coyote”: http://rampantgames.com/blog/?p=7881. It sums up some of my feelings on the topic, and makes me wonder when we’ll have such good sound synthesis as we have graphic synthesis, so we can sidestep these issues… That would be sweet!
Today I worked a bit more on the last area of the game…

Deliberately blurry so I don’t spoil anything…
Anyway, because of the transition and the fight going on in the previous area, I found a silly bug, which is quite recurrent in all systems I built: references.
Basically, the Lua threads that are running to animate stuff aren’t bound to the area, which means that if we transition an area and the thread deletes an object (for example), it will delete either an un-existent object (not that serious, but sloppy), or an object in the new scene with the same name (which is a no-no).
So, I had to code in a “bind to area” feature for cutscenes, etc, which means the threads will stop running if the are they’re bound to is destroyed. It’s implemented a bit sloppily, but it should be enough for this game, which has quite simple dependencies.
This is something I run quite often… Languages like Java sidestep this issue by keeping reference counting and garbage collection, but that’s inefficient and you’re really just shifting the object management to an entity that knows nothing about the way you actually want to manage the entities…
Spellbook (my main engine) uses a combination of reference counting and explicit deletes, but the reference counting is more used for debugging purposes than anything else: basically, if you try to delete something that’s still in use in some other part of the system, you’ll get notified. If you exit the application (or if you call explicit calls to check it), and there’s still caught references, the system will warn you as well… These two small debug hooks are mostly enough to keep the system well behaved, and if they’re not enough, I can always finish a tool I was building some time ago that will dump to a socket when an object was created/deleted/referenced, etc, so I can put that into a tool that will show me the info and enable me to keep track of the entities…
Now listening to “Kiske-Sommerville” by “Michael Kiske & Amanda Sommerville”
Back from the IBC in Amsterdam, and into the cutscenes!
Since this is the last few cutscenes of the game, and the last setting, I’m keeping it under wraps…

Working cutscenes is a bit hard sometimes… Text and dialogues don’t flow on demand, and it takes multiple iterations to get right (at least to my standards, which admittedly aren’t as high as they should).
Hopefully I’ll have this part of the game done by Sunday, which means I only have to add the equipment screen and some pieces of gear to the game for it to be playable from beginning to end (barring bugs)… Then I can start work on the second pass, which includes a lot of small details and one big one: the random missions!
Now listening to “Deceiver of the Gods” by “Amon Amarth”