Skip to main content

Nesting Syndrome

How time flies.  It seems like only yesterday I was plotting to do some indie game development, largely thwarted by being out of time before I have to go back to work... and here I am today, not quite a week later, feeling like I am in the same position.

After a couple of days on-and-off dabbling with Construct 2, the easiest-to-use game development software that exists, I have deduced that making games is still hard.  I had to take a break as soon as I wrapped my head around how nested loops look.  I mean, take a look at this:
That's how they are done in Construct 2.  What's wrong with it?

Nothing's wrong with it.  That's two loops being run in the same statement, one loop inside the other, in the same codeblock.  The statement on the right only gets run when all the conditions on the left are met, and an iteration of both for loops are considered a condition.  It is a wacky way of doing things if you are used to the code blocks in C.  However, I've seen it populate an array just fine, so it's definitely working.

Everything's wrong with it.  Which loop is the inner loop, and which one is the outer loop?  I have no idea, and I guess it does not matter, because I can not easily perform an operation that only applies to one of those loops this way!  I can do it once, with a "sub-condition" block that can be evaluated with each iteration of the innermost loop to perform an operation unique to a certain situation.  However, as there is only one sub-condition block allowed per main condition block, and no sub-conditions of sub-conditions, that limits me to a single evaluation to see if an exception exists anywhere in a nested loop!

Comparatively, Clickteam Fusion 2.5 is capable of greater flexibility in its nested loops.  This is because loops are called manually (they are practically subroutines that way) and you can call other loops while inside of a loop, so there is the potential for a great deal of loop nesting and code will be executed before and after the loop calls in the order as expected.   I have no idea how to pull it off in Construct 2, the GUI does not seem to permit it... does it?

Granted, aside from very specific operations, maybe nested loops are not all that important.  Besides, Scirra advertises Construct 2 as a coding-free game development kit, and so naturally they did everything in their power to streamline out the coding aspects, so what was I expecting? 

It just means a quasi-experienced coder such as myself is going to run into stuff I would like to do that is too advanced for a coding mechanism that was developed to be accessible.  If I want to code that badly, perhaps I ought to go use GameMaker Studio, Unity, or LibGDX (in increasing severity for a need to code).
I got my invite to visit the Empire home world in Elite: Dangerous.  What a pretty station interior they've got.
Easily daunted, I mostly spent this weekend playing more Wasteland 2 and Elite: Dangerous whilst knowing I really ought to be doing something more productive.  Great games, though.  Wasteland 2 is well-written and balanced enough to be an enjoyable old school RPG.  Elite: Dangerous is basically an intergalactic trucking simulator and, for a boring adult like myself, that's fine.  In a way, I feel I did not waste my time, after all.

Yet, I am sure that, if I could only get my development groove back on, I know I could have something I am a lot more excited to spend my free time doing.  Part of me knows I am just being coy.  I am pretty sure Construct 2 can meet most simple 2D game designs if I were willing to put enough effort into it, and what I am really being intimidated by here is effort.  Whatever I do, I need to man up and do it.


Popular posts from this blog

Resonant Induction Really Grinds My Gears... In A Good Way

From about 2pm yesterday until 8pm today, I've been dabbling with my latest custom mod mix for Minecraft 1.6.4, which is this time very much Universal Electricity focused.
Aside from the usual GUI enhancers and Somnia, the primary contenders in this mix were:
Calclavia Core - Of course: this is the base of the Universal Electricity system.Resonant Induction - This seems to be largely focused on increasingly more advanced methods of refining ores divided across 4 ages of technological progression.  It also includes some really cool things such as assembly lines.  I'll primarily be talking about just a few blocks out of this mod today.Atomic Science - A mod dedicated to generating more of those lovely universal electricity volts via the power of splitting the atom.  Build your own nuclear reactor!  Deal with nuclear meltdowns!  You maniac!ICBM - A mod dedicated to generating more destruction using those lovely universal electricity volts (and more than a little gunpowder), it cer…

Empyrion Vrs Space Engineers: A Different Kind Of Space Race

In my quest for more compelling virtual worlds, I have been watching Empyrion: Galactic Survival a lot this bizarro weekend, mostly via the Angry Joe Show twitch stream.  What I have concluded from my observations is Empyrion is following in Space Engineers' shadow, but it is nevertheless threatening the elder game due to a greater feature set (the modding scene notwithstanding).

Empyrion is made in Unity, whereas Space Engineers is built on a custom engine.  While this does put Empyrion at a disadvantage when it comes to conceptual flexibility, its developers nevertheless have a substantial advantage when it comes to adding features due to a savings of time spent that would have gone into developing their own engine.  Examples include:
Planets.  Empyrion already has planets and space to explore between them, whereas in Space Engineers planets are in the works but still awhile away (so you just have asteroid fields to scavenge).Enemies.  Space Engineers' survival mode boasts onl…

Greasing The Grind: Adding Lasting Appeal To Virtual World Sandboxes

Game design, being about entertainment, is not as much science as art.  We're coming up with interesting things that the human mind likes to chew on that "taste" good to it.  Different people find different things, "Fun," and a game designer is tasked with coming up with fun, appealing things.  As pertains to virtual world sandboxes, I identified three of them.

Challenge Appeal.

Dwarf Fortress and Fortresscraft Evolved have the same end game appeal preservation mechanic: wealth equals threat.  The more money your Dwarf Fortress is worth, the bigger the baddies who will come for you, including a bunch of snobby useless nobles who do nothing but push dwarves around and eat.  The more energy you make in Fortresscraft Evolved, the more and bigger bugs come to shut down your base.  Rimworld does something a little different based off of which AI Storyteller you choose, but it generally adds time to your wealth accumulation when deciding what kind of threats to throw a…