First Steps
Took a break from content creation. It’s probably a smarter move to do some prototyping first anyway and worry about visuals & audio later.
I tried using JavaScript for about an hour or two and found out I couldn’t bear to program without tuples and list comprehensions (Python is my usual programming language of choice.) So I went hunting for alternatives and discovered CoffeeScript. It’s similar enough that it feels like home, though I did encounter an amusing case of… unexpected behavior where testing for “array.length = 0” resulted not in the syntax error I would expect, but the array mysteriously becoming blank (in other words, length 0.)
I’ve successfully implemented a very lazy dungeon generator; it creates a maze and then carves some rooms out atop it, with the maze guaranteeing connectivity. It’ll do the job for what I have in mind, though the corridors with dead ends might be a bit hard on players.
Tags: journal
