Impera: 7DRL Success!

“Your allies have betrayed you; your mighty arch-enemy, the Demon Mage Impera, has stripped you of your powers and cast you into his arena. But your once-mighty Magicks are not all lost; you have retained the ability to create walls of pure mental energy. Fight your way through the arena to challenge Impera himself and gain your revenge.”

I’m happy to announce that my entry for the 7dRL challenge this year, Impera, is a resounding success. I set my sights low at the beginning of the week, and by the end of the week had implemented everything I wanted to and more. I also had plenty of time to polish and bug fix. You can click here to play Impera; otherwise, read on.

The game is based around the idea of arena battles (eight total), with each level presenting a new type of monster. There are eight types of monsters, and each monster has its own behaviors that you’ll need to learn how to counter. In addition to the eight monster types, the eighth and final level of the game features Impera, the Demon Mage. He’s the archetype of the evil baddy found in most fantasy stories and games.

The main strategy of the game involves placing walls, which you use to cut off enemy attacks or trap monsters. Once you place a wall it’s there forever, and if you get surrounded by walls and/or corpses, you die. Thus, you’ll find yourself having to move around the map a lot in order to avoid getting walled in and buried alive. On the other hand, you can take advantage of these permanent walls to bury (most) enemies alive.

I didn’t have as much time to balance and optimize the game as I wanted, so hopefully it’s not too easy/hard. It’s also technically possible to complete the game without placing a single wall, although I haven’t managed to do so yet. As a matter of fact, I haven’t managed to beat the game at all. All you need is a relatively modern browser, although your computer might be struggling by the time you reach the end of the game. Hopefully that’s not too much of an issue. 

Oh, and please don’t look at the source code without a hazmat suit on; I wouldn’t want to be responsible for any deaths due to dangerously terrible code. It’s over two thousand lines, probably one of my biggest projects yet, and I’ve pretty much thrown code architecture out of the window.

Apostille services. Apostille birth certificate. Multichoiceapostille.com. Certified affordable washer repair service

6 thoughts on “Impera: 7DRL Success!”

  1. Michael Rosata says:

    Hi, Found your site on accident researching methods for deep cloning objects. I’m interested in playing the game however the link doesn’t work. I’m curious about begging to create JavaScript games as a new hobby so I would like to take yours for a test drive. My email is mike@onethingsimple.com if you get it back on the site please shoot me an email. Good luck

  2. admin says:

    Hi Mike,

    Whoops, the link was broken when I updated my blog! I’ve emailed you a working link (and updated it in my post). Enjoy!

    • Elliot
  3. Adam says:

    Really well done! I cant believe you made this in so short of a time. Thanks for sharing your work. Hey I was wondering What IDE did you use to write this?

    1. admin says:

      Thanks, Adam! It’s definitely an improvement over my last year’s entry (which you can find at http://kniiight.com/, my lab site). I wrote this game in Sublime Text, which is in fact what I do all my programming in.

      1. Adam says:

        Thanks for sharing the lab site. I like the water dispersal it’s really cool! And when I loaded the A* (large) I laughed out loud. It’s awesome! I enjoyed clicking around and seeing the path. I took a long somewhat circular journey around the ‘world’ per say. Very cool. About the shadow casting, check out this game: http://nothing-to-hide-demo.s3.amazonaws.com/index.html I look forward to future posts and games from you.

        1. admin says:

          Hey, thanks! Glad you found it interesting. And yeah, I’ve seen that game before–quite cool! I played around with the demo for a bit, the concept is quite amusing. And also a little bit scary.

          See you around.