Saturday, March 16, 2013

Pugnacious Wizards day 7


I didn't have time to do much the last couple days but overall, I'm pretty happy with what I made.

I wanted to focus on magic spells that had multiple effects and traps that are more interesting than the standard "randomly take a trivial amount of damage" that most roguelikes have. I think I did both. Maybe not as much as I had hoped for, but I did both. I also wanted to explain more of the game with an intro that auto-palys and help popups. I think that worked very well.

As far as programming goes, I was able to get animations working - which I've never done before. I also tried putting much of the ai into spells so that the hero and wizards know how to cast them. The magic system wasn't as clean as I wanted, but I tried a few new things with that too. One of the coolest things I did was to make it so the world has a list of functions that it calls each turn. Since anything that has a reference to the world can add to that list, new functionality can be added without changing any existing code. Totally OCP. Much of the traps and magic used this.

As always, any feedback is welcome.

github source

download swf

Update: I played it again after being away for a week and noticed that sometimes the FOV isn't calculated at the right time. I think I fixed it.

Update: I started making a post-7DRL version with better traps, spells, and code. Give it a try at Pugnacious Wizards 2

Thursday, March 14, 2013

Pugnacious Wizards day 5

Good progress today:

Fixed some minor animation and timing stuff as well as refactored magic and traps quite a bit. That meant I was able to improve magic and traps quite a bit.

As always, any feedback is welcome.

github source

Wednesday, March 13, 2013

Pugnacious Wizards day 4

Very little progress today:

I had a social obligation which took up most of my evening. I did have some time to refactor the magic stuff. I'm still not entirely happy with how it's set up but now I can start doing more interesting things. Like the a new spell that teleports you then burns your surroundings or spell that freezes everyone near you then blinks you away. I'd like to come up with several spells that have three or four effects each. That's my goal at least.

Also tweaked the creature ai, removed some bad room themes, and other minor things.

As always, any feedback is welcome.

github source

Tuesday, March 12, 2013

Pugnacious Wizards day 3

Some new content today but mostly polish:

I did add a few more room themes but most of my 5 or so hours was spent adding a help screen, an examine screen, and adding popups the first time you encounter major things like new rooms or enemies.

I won't have much time tomorrow but I'm going to focus on adding more interesting traps and puzzles over the next two days. That will leave Friday evening and Saturday to work on more interesting magic.

What do you think? Too confusing? Too simple? Too conventional? Let me know in the comments.

github source

Monday, March 11, 2013

Pugnacious Wizards day 2

Some good progress today:

I added bloodstains and variation among grass and trees. I also got the hero to use magic against wizards who defend the amulet pieces. Finally, I was able to add a few room themes. There are 8 total, but two are randomly chosen to not appear and one is chosen to appear more often than others. The current themes are:

  • An "A" room that spawns archers
  • A "G" room that spawns guards
  • A room covered in blood
  • A room littered with piles of bones
  • A room with some pillars or remains of walls
  • A room that occasionally shoots arrows from one of the walls
  • A room shoots arrows in 8 directions from towers every turn you are in the room
  • A nice outdoor area
I plan on continuing with the room themes and adding more trap effects and triggers as well as some simple puzzles.

I almost forget! You can get the code from It's not my best code, and I've had to some odd workarounds since I'm using a few bits of old code to do new things, but it works and some of it is ok.

Sunday, March 10, 2013

Pugnacious Wizards day 1

Here it is:

I made a ton of progress today. I've now got a basic dungeon crawl with a kick ass intro screen. I've got a few days to to make it interesting:

  • Room themes
  • Traps
  • Puzzles
  • Enemy wizards
  • A better magic system