25 February, 2024

52 Pickup: The Second Thirteenth

Weeks 5 - 8 have seen steady but slow progress.  Each task I set for this "roguelike game framework" had several unexpected pitfalls, and I've been surprised at how easily I was able to find solutions and learn why those solutions are good practices or components of successful software architecture patterns.

I don't expect that any of the code I have written is "good" or "follows best practices" but at each point I've been able to look at the end result and say "yes, I can see how this can scale and be used to create much larger and more complex systems" which is basically the goal.  

In all my earlier attempts I would look at things I had done and think "wow I have no idea how or why this works" so I think I'm in a better place than I was three years ago.

What follows are my regular weekly updates catalogued on the Sharing Saturdays thread:

Week 5

Third week is the charm, I finally got display layers working in a way I am happy with. I can compose layers of multiple sets of entities, and then scenes of multiple layers.

I'm configuring font face and size per layer, but I can also do per entity for special "fx" layers.  I think all this will be thrown out when I eventually move to sprites, so not putting more time into it than necessary.

Goal for next week:  creating an input handler and attaching it to a scene!  Stretch goal will be scene changes.

Week 6

Last week's implementation of per-character font changes didn't work as well as I thought, so I cut that out so I could move on rather than fighting with it.

I spent a little time making sure that multiple scenes were able to be setup correctly, and I could display any of them -- but I don't have scene changes yet because input handling wasn't as straightforward as I expected.

I can listen for and act on input events easily enough, but handling the input within the appropriate scope is a bit tricky for me as this is the first time I am actually trying to be responsible with how I scope my code rather than throwing things into global scope whenever I run into a problem.

I'm going to spend the rest of the weekend trying to get my input sorted out, then the goal for next week is scene updates, entity movement, and animation frames.

Week 7

this week I struggled a bit with some context changes for my input listeners, but I learned what was going on and have input listening and handling going on and also scene changes working.

It was really nice to see the scenes that I got assembling themselves back in Week 5 actually being rendered and switching back and forth.

I wanted to also get the scenes updating and handling changes to entities, but I decided that I needed scene-specific input handling first, and I also came down with a heavy cold that still has me kind of wiped out.

Next week is the last one before 7DRL starts and I am hoping to have some of this -- whatever this is -- ready as a platform to build a game on.

For that I mostly need to finalize that input handling system and get entity updates working. If I don't make it in time, I'll just brute force something really ugly with a lot of global variables for 7DRL and come back to this in a couple weeks.

Week 8

Okay! Scene-specific input event handling and entity updates are in! My entity is just a counter but it is in there doing its counting thing, triggering scene updates, flourishing.

This is basically in a state that should be "good enough" for me to build a game on for 7DRL. There are a few more things I would have liked to have, like per-tile font changes, multi-tile actors, and animation.

I think the per-tile font changes are the least necessary (would have been nice for drop shadows or glowing effects) and that multi-tile actors will be the simplest to implement (possibly foolish). So I plan to focus next week on getting some sort of animation working before the 7DRL start date on 02 March.

28 January, 2024

52 Pickup: The First Four

Weeks 1-4 have been an interesting ride.  My progress has been slower than I expected, but that is because I am understanding more than I thought I would and am making what I think now are significant improvements to software I haven't really touched in two or three years.

I often hear veteran programmers say that they don't recognise their old work when the look back on it, and find ways to improve or rewrite it that their younger selves couldn't have grasped.

I want to be extremely clear that I never have been and am not now "a programmer" and I have literally not touched a single line of code either professionally or as a hobby in the years since I paused my roguelike tutorial work.

I'm not sure where this new insight is from, except possibly from hibernating on it and waking up with new ideas.

02 January, 2024

52 Pickup

Thanks to Pope Gregory, 2024 conforms with ISO-8601 and begins 01 January on a Monday.  This means we have a perfectly ordered year of exactly 52 weeks, each starting on Monday and ending on Sunday just as ordained by the ISO Technical Committee in 1988 -- as long as we ignore the dangling 0.2857 weeks following 29 December.

What to do with these 52 perfect weeks?  I have been thinking a lot about restarting some back-burner software projects.  The community at r/roguelikedev/ is running their annual "Year in RoguelikeDev" event, with the tag [2024 in RoguelikeDev].  This event has catalyzed that interest and provided a form for how I will restart some of those projects and use these 52 weeks.  In the spirit of Ryan's now famous "No more zero days" philosophy, I'm making the baby-step commitment of no zero weeks for 2024.


27 December, 2022

Moonlanding

Back in July, I was working faithfully on the r/rougelikedev 2022 code-along before I hit a small snag.

The start of the trouble was that I was working without a proper keyboard, hunched over my laptop in  temporary deskless working conditions that was causing me to develop real pain.

So, of course, I over-engineered a solution.  I did a lot of research into split-ergonomic keyboards that I had always had an interest in, and ended up with a Moonlaner. 



18 July, 2022

LOX week 3

 Continuing the r/rougelikedev 2022 code-along into parts four and five of the tutorial.  I have started going down some wild tangents last week and I've been rambling further down those paths.

It took me most of the week to get through part 4, partly because of my home-made screen rendering but mostly because I had to learn what shadow casting was and how to implement it from scratch

11 July, 2022

LOX week 2

Continuing the r/rougelikedev 2022 code-along into parts two and three of the tutorial I start to diverge in a couple of ways.

In part two, I've been building up a lot of technical debt.  And in part three, I decide to compound the problem by turning the map generation system inside-out.

04 July, 2022

OSRdF Revisited

In January 2019, I signed on to Tam H's OMGAM project to create one micro-game per month.  Over the course of that year, I produced 12 tiny games for the project as well as a few others for various game jams and challenges.

The very first one was called OSRdF, or "Old School Roll-under, dF".  I also wrote the first real content for this blog in that same month of January where I talked about the intentions and thoughts behind that game.

Very briefly, and without any of the philosophy, it is like this:  

  • You have six stats because that's what White Box had, though the names have changed
  • You roll under them to do things because that is what you did back then
  • You roll randomly for your stats for the same reason, and because of a bunch of other baggage
  • There is no dedicated combat system because we already have the roll-under thing and don't need anything else
  • It uses Fudge dice for two reasons:  First, I like them because they only have + and - and I always thought the very notion of them really gave the middle finger to the notion that complex dice systems were important.  Second, a few people had recently (at the time OSRdF was released) been really hostile to the opinion that Fate Accelerated is in spirit an OSR game, and I was feeling a bit sassy about it.

I have made noises a few times about expanding this game and making modules for it, and that starts now. There is still a lot about this game that I implied without stating, and one really has to look sideways at it to spot any traditional fantasy gaming in there -- so here is a teaser:

Brawn Grace Creativity Logic Will Empathy
Brawn bend bars, save v poison bows melee scale rough surfaces lift gates intimidation
Grace impersonate Elf, move silent dodge bonus pick locks scale sheer surfaces pick pockets
Creativity Cleric spells spot traps save v wand persuasion
Logic Wizard spells save v charm read languages
Will save v death henchman limit
Empathy Druidic spells

Now, there are some place-holders in here, and a couple of tongue-in-cheek jokes that wont make the final cut.  But this is the basic form of how a skin of OSRdF emulates the kind of fantasy RPGs that I played in the 80s.

I have four of these drafted that evolve the basic system through forty years, taking on slightly different styles and varying the rules at each decade.

A produced version of it was going to be coming for Zine Quest for 2022, but between the pandemic and other events that didn't quite happen.  I might still lay it out for print, commission an artist, pay an editor, and put a game (or possibly a collection of multiple games) into peoples' hands to play.  But that is probably a couple years off when I take a realistic look at my other commitments.

01 July, 2022

LOX week 1

Wow, this is a lot harder than I thought it would be.

I've been working on the r/rougelikedev 2022 code-along and I thought I could just re-use my code from the Broughlike tutorial and be most of the way there.

I was both right and wrong.

28 June, 2022

Ode to Code page 437

There are modern typefaces with smooth vectorized curves on all their characters.  With dynamically scaling fonts, and clean kerning. There are 144,697 characters in the v.14 Unicode standard, which is more than twice as many as they have bits to represent.

The modern digital typesetter is truly spoiled for choice in breadth and depth of style, content, and quality.

But I long for the grid.

26 June, 2022

Doing the Stroll

Just as Robert Plant wrote, it has been a while here.  Honestly, I'm slightly surprised that it has only been a year since the last post, but here we are.


10 June, 2021

Only One Way

A common feature in many tabletop games is that of fractional numbers.  Commonly these come in halves, but they can also frequently be thirds.  There are even games that ask you to use square roots in some situations, so you can really end up with just about any rational non-whole number.

Non-whole numbers aren't convenient to work with in games, so players are most often asked to round these numbers.  Typically, games will have a consistent method of "Up" or "Down" but I remember one 90s era game that had three different rounding methods requested within the character creation process alone:  "Up", "Down", and "To the nearest whole number".

I was never sure if the designers felt strongly about how to arrive at the desired whole number, or if they were just having a laugh.

03 June, 2021

Die Drop Automata is Knitting

I've always had a bit of a love for die-drop tables. You can do a lot of clever things with them, as they give you several dimensions of data at once and also leave room for interpretation.

When the dice fall on a chart, you have spacial information about where they have fallen, their position relative to each other, various axis of scalar values that might be the size, colour, and face-value of each die.

27 May, 2021

Art of Fading Light

 As one of my few OMGAM microgames that actually has art, I wanted to give a little attention to it.

The game is about an interstellar starship that follows most of the constraints of our current understanding of physics, though it doesn't necessarily spell all of that out in the text.

The design of the ship its self is a kugelblitz or "black hole starship" design, first imagined by Arthur C. Clarke.  Hawking Radiation from a Kerr-Newman black hole is somehow harnessed and used to propel a rather mind-bogglingly massive ship between the stars at rather immodest speeds.

20 May, 2021

Tri-fold Map to the Stars

My April 2019 micro-game submission for OMGAM also did triple-duty as a submission to the itch.io Pamphlet Dungeon Jam and Mapemounde.

This means that it is triple-packed with some rather clever things, but it also suffers quite a bit in the compromises it had to make to satisfy the criteria of length, format, and content.  Which is a bit of a shame, as I think there are some kernels of really great ideas in here.  I will probably provide an updated version in the near future, to add some traditional A4 sized PDF instruction sheets.

The basic premise of the game was inspired by Revelation Space by Alastair Reynolds, and by the seminal sci-fi RPG Diaspora by VSCA.  The player is in control of a tramp space craft, traveling the stars at near-light speed by virtue of some sort of unspecified exotic engine.

13 May, 2021

Art of Paper Birds

In a previous post, I said that I wouldn't unpack the specific details of the art choices that went into Paper Birds.

It has been on my mind a bit since then, so I'm giving it a bit of a treatment today.

This was for the Emotional Mecha Jam, so I wanted the art to be both martial and sad.  This was also heavily influenced (as previously mentioned) by the 1965 Nuclear War board game, so some of that Strangelove style dark satire worked its way in, too.

06 May, 2021

Cozy Copyright Infringement

Look, first of all, it is fair use.  The cover art is original art, distinct enough from the source of inspiration to constitute transformative change.  The references in the text are homage.

The Jam

For this ongoing series on OMGAM2019, we are looking at March's game.  This coincided with the #CozyGameJam hosted by Riverhouse Games.

Cozy games are a really interesting niche.  Most of them aren't particularly ludographic (by which I mean that they tend to lack the sort of mechanisms associated with gamification: quantification, scores, or any sort of strict resolution system).  They tend to be conversations, journaling exercises, or crafty sorts of things.

01 May, 2021

Real Sums

With Apologies to Pat Benatar


In a landscape of competitive ideas, nomenclature is often the first battlefield.  I'm not writing this to challenge existing ideas, but to re-frame their default assumptions.  Competitive, non-default, second-class ideas ideas often are forced into prefixes that identify them as such:  Non-.  Anti-.

When we talk about Game Theory, "zero sum" suggests the wrong things about default assumptions.

29 April, 2021

But how many eggs were left out?

I recently spent 566 words of elaborate digressions, studiously not telling you why I think it isn't important how attribute points are allocated.

After that rather irresponsible abuse of verbiage, I thought it might be courteous of me to actually answer the unasked question.

22 April, 2021

2dF down the line

I was a small child when D&D was "roll 3d6 down the line" for your stats.

Technically that was my first experience with character creation, but the practicality of it was a little different.  By the time my friends and I were playing the games properly, it was a 4d6 drop one, or arrange to suit your taste.  Homebrew (and later official) point-allocation systems quickly became the norm with the groups I played with.

17 April, 2021

Not Perfectly Folded Birds

Okay, so in the previous post regarding Paper Birds, I talked a bit about how it worked, and the thoughts behind the design.

This is what didn't work.