So I'm Making a Video Game

I like to describe it as “a text adventure with graphics and sound.”
It’s called StupidRPG and it’s a semi-branching, largely fantasy-based game.
Loosely speaking, it’s the text adventure I want to play.
It’s mostly coded in scratch using vanilla Javascript, with a bit of jQuery on the side.

So far I have:

  • An ECS (entity-component-system) engine to store game state and propagate actions
  • A language parser (to turn “PUNCH GOBLIN” into a meaningful action within the game)
  • 1 troglodyte
  • A nice little forest to wander around
  • Magical swords
  • Modules for: combat, lighting, containers, dialogue trees, and a couple other things
  • Just one magical sword, actually
  • A park ranger
  • Music!

The first two items ate up about 90% of the work invested so far, and now that work is starting to pay off in the form of content creation:

1
2
3
4
5
6
7
8
// Race list
ECS.setData('races', [
{'text':'ELF','command':'elf','subtext':'+ KEEN SENSES, + EVASION'},
{'text':'DWARF','command':'dwarf','subtext':'+ DARKVISION'},
{'text':'CEO','command':'ceo','subtext':'+ PERSUASION'},
{'text':'HUMAN','command':'human','subtext':'+1 TO EVERYTHING'},
{'text':'PAN-DIMENSIONAL BEING','command':'pan-dimensional being','subtext':'- MATERIAL NEEDS'}
]);

I’ll be documenting the rest of the game’s development here.