Saturday, March 12, 2016

ShoppyRL day one: "I'm the map, I'm the map..."

So today I made a map! It's similar to the TriQuest map (2013 7DRL) in that it's composed of "danger zones", but this time the danger zones are "fuzzed" a bit so they're not perfectly square. Well, actually they have holes cut out of them!

I've also created some creatures which are placed on the map: 5 heroes and a bunch of monsters. The terrain and the creatures can be edited in data files!

I also made a basic combat system; not sure how balanced it is, but it's similar to the one I used in TriQuest. Hopefully balancing it will require only tweaking creature stats...

Finally, there's a console app which displays the map and simulates some combat (though creatures can attack each other from across the map). I think I'll have to use some other sort of GUI, though, as the console app is way too slow then displaying the map. No idea why the Windows console can't just display a grid of characters... isn't that what it's for?

I think I'm basically on track for today, though I'll be rather busy the rest of the week so I don't really have high hopes of completing this game on time. I would have continued on with tomorrow's goals, but I'd already spent enough time programming for one day! (Even though I borrowed a lot of utility code from other projects of mine...)

Speaking of tomorrow's goals...

  • Create a real GUI
  • Oops, I forgot to finish this... let me go publish it now!

ShoppyRL day 8: "Game over, boys! No, wait, career over..."

So, I wasn't able to complete ShoppyRL this week. I already knew it on day 2 - I just had too much going on, and I was also fed up with trying out different UI frameworks. The Windows console was too slow after all (seriously Microsoft, how hard it is to make a freaking CONSOLE?!) and I tried WPF but I don't know enough about it to make anything happen in the "proper" way without what felt like gigabytes of repetitive view-model code. I could have hacked together a "fake" WPF app, or switched over to WinForms in which that sort of coding style is actually considered acceptable, but at that point I didn't really care anymore; I didn't have time for any more messing around, so I gave up. Sorry folks! Maybe I'll pick this up again someday, but I kind of doubt it... I don't even think I want to be a programmer anymore! Well, I could do it if I didn't have to write user interfaces, but good luck finding a job or open-source project like that...

Friday, March 4, 2016

ShoppyRL day zero: "Once more unto the breach..."

Time for another 7DRL! This time I'll be doing an idea that Nick (my friend who helped me with polishing up Beware of Strange Warp points a few years ago) and I have been discussing.

This one's called "ShoppyRL", and it's inspired by the PC game Recettear as well as the Android game Merchant. In ShoppyRL, you play the role of a shopkeeper by day, and switch over to controlling an adventurer by night to fend off the monster incursion.

As a shopkeeper, you'll be buying, selling, and crafting items with various town citizens, including adventurers, craftsmen, and other such folks. You want to make a decent profit, but be sure not to overcharge the adventurers, as you want them to have enough money to buy more gear later!

As an adventurer, you'll patrol the area outside the town in search of the demon gates, which are spawning the invading monsters. If you destroy the demon gates, you win the game, but of course they are well guarded by monsters, so you'll need to gather loot to improve your adventurers. Wait too long, though, and the monsters will overrun the town!

That's right, "adventurers". There will be several adventurers, and you'll be able to switch between them at any time, with the ones you're not controlling being run by the AI. I'm hoping to get some sort of "hunting pack" mechanic in there that keeps the adventurers close together (stay near the strongest ally, for instance) while also attacking nearby enemies, so they don't run off and get killed too easily. Of course, the monsters will employ this algorithm as well, so prepare for some epic battles!

Stay tuned over the next week as I develop ShoppyRL!

Oh, yeah, goals for tomorrow...
  • Create "creature", "townsperson", "hero", and "monster" classes
  • Create a map, and populate it with terrain, heroes, and monsters
  • Implement basic combat mechanics (not movement yet, just combat)
  • Create unit tests to make sure the map and combat work (since there won't be a GUI yet)

Tuesday, April 1, 2014

Beware of Strange Warp Points v1.1

With some help from a friend from the Space Empires community, I'm proud to announce the release of version 1.1 of Beware of Strange Warp Points! You can download it here. There are lots of new features and bug fixes (details are in the manual), so if you enjoyed the 7DRL release, be sure to check it out!

Friday, March 14, 2014

7DRL 2014 day 7: ITS OV4R!!!

And another exciting 7DRL challenge draws to a close, with the completion of Beware of Strange Warp Points! You can download it over at the Bitbucket page. I added a pretty comprehensive user manual this morning, so hopefully folks won't be too confused by the myriad stats and abilities!

Now to announce it over on /r/spaceempires, and maybe the roguelike subreddits, if other folks are spamming them with 7DRL announcements too...

And then I think I'm going to email Aaron Hall about this thing, and see what he has to say about it!

Thursday, March 13, 2014

7DRL 2014 day 6: Rise of the robots

So, today I worked on a bunch of little issues that I'd noticed throughout the week - bugs, minor features, and the like. Here's a quick overview:

  • Fixed a bug where enemy build rate was dependent, for some reason, on the player ship's speed. Meaning that the faster your ship gets, the faster the enemy shipyards build!
  • Changed the .NET runtime version of the game from 4.5 to 4.0, so it will run on Windows XP without using Mono.
  • Enemies are now more intelligent - they will attempt to stay at a range where they can hurt you, but you can't hurt them. Or, failing that, they'll flee (if their weapons are destroyed) or close to the range of their shortest ranged weapon (if they don't outrange you).
  • My favorite feature so far - now there are range indicators on the map for player and enemy weapons! No longer do you have to guess who's in range of whom!
  • The galaxy map now shows indicators for interesting stationary objects, such as allied colonies and enemy shipyards.
  • To go along with the weapon range indicators, there's also a range indicator for your scanners, so you can tell which enemies you can click to scan.
  • Sectors that have been swept with sensors are now shown as dark gray dots, making it easy to see where you've checked for cloaked shipyards and where you still have to check.
  • Most everything in the game has some sort of tooltip now. GameHunter won't be confused when he tries to play this 7DRL!
  • Crew and thrust counters are highlighted in red if losing another crew quarters or engine would cripple your ship. Remember to have backups!
Tomorrow, a manual and final release! But for now, a screenshot of the sweet looking range indicators:

Wednesday, March 12, 2014

7DRL 2014 day 5 - Imma firin mah LAZZ0R!

So today I added a variety of new components to BOSWP, to make the game more interesting. Not all of them behave exactly as they did in SE4, though. For instance, missile weapons have shorter range, armor is leaky, and ECM stacks, albeit with diminishing returns.

Also, the enemy shipyards are now cloaked, since I added sensors to the game. You'll have to deduce their location based on the direction ships tend to be appearing from! They also will no longer automatically build ships whenever possible when you're in their system, unless you can actually see them. You do get a free sensor range of 1, so you don't actually have to bump enemy shipyards to detect them, though. Still, a sensor range of 1 is pretty pathetic, so you'll want to buy a tachyon sensor or two when you get a chance.

The game's actually starting to be a bit fun now, though I'm not entirely sure if it's all that winnable. If you spend too much time searching for allied colonies early on, the enemy shipyards will start cranking out cruisers and battleships, which are quite difficult to take out without upgrades - and you won't be able to afford anything without killing enemies anyway! So I imagine the optimal strategy might be to pick off the scouts and destroyers, and search a bit for shipyards, then when you start taking too much damage, search for a colony to repair and upgrade at.

I've also got a list of issues I've collected which I plan to address tomorrow, now that the game is basically feature complete. And then, on Friday, I'll write some documentation, though that might not be all that necessary if I add copious tooltips!

Tuesday, March 11, 2014

7DRL 2014 day 4 - Buy somethin', will ya?

Today's task was much easier than I'd anticipated. I generally don't care much for UI work because it involves lots of fiddly data binding, but most of the UI work I did today for the shop screen, I was able to copy over from yesterday's ship report. So I don't have a screenshot today, because it's not really all that interesting!

As for game mechanics, you get salvage equal to half the cost of any remaining components on destroyed enemy ships, and half the saved build rate of destroyed enemy shipyards. I might have to adjust this (or make the starting player ship weaker), though, if this makes the game too easy. You don't get free minerals when you discover an allied colony, but once you discover it, you can bump it at any time that there aren't enemies in the system to get free repairs and to buy new components. Don't worry, the game won't let you buy a component if it would make your ship go derelict due to lack of engines or crew!

Each colony has a random selection of 5 components that you can buy from it, with infinite stock of each. Of course, there are only 3 components defined in the data files so far, so all colonies sell the same things for now! But things will get interesting tomorrow once I start adding more components!

Monday, March 10, 2014

7DRL 2014 day 3: Gotta go fast!

Today I added components to BOSWP. I actually didn't do it quite the way I planned - I'd originally intended to have separate classes and data files for each type of component (e.g. engine, weapon, shield), but I realized I could just make one generic component class which can have all the various component attributes. This way you can make a component that's both a weapon and an engine, for instance! (Thraddash afterburner from Star Control much?)

I am storing the component data in a JSON file, though. Components have a name, description, cost, mass, and max hitpoints, and then the optional abilities, which are currently limited to crew, thrust, and weapon, though I'll eventually add more like shields and scanners. I was going to have a "bridge" component which destroys the ship when lost, but that seemed a bit unfair, so I limited ship destruction to reduction of speed to zero (dead in space) or crew count below mass (drifting away aimlessly). Or of course loss of all components, but in pretty much all cases, one of the other scenarios will happen first!

It's interesting to note that as your ship (or an enemy ship) loses components other than engines, it will actually go faster, since its mass is reduced but the thrust stays the same.

Enemy ship designs are stored in a JSON file as named lists of components. (The player's starting ship is of course stored in its own file.) I replaced the generic red "J" for enemy ships with the first letter of the ship name, so scouts will appear as "S", destroyers as "D", etc. This should help with threat analysis! Of course they won't change to other letters as they lose components, so you'll have to keep track of them. Enemy shipyards will tend to save up for the most expensive ship possible (currently a battleship), though they have a small chance each turn of splurging on whatever they can afford on any given turn. (Might want to check that that's game turn, not player turn, now that I have a proper speed system!) They will also build immediately (if possible) to defend themselves when the player ship is present in their system.





Sunday, March 9, 2014

7DRL 2014 day 2 - Real time enemies, turn based player

So, today I implemented enemies, and a very basic form of combat. Basically, your ship automatically fires at the nearest enemy that's within 3 squares (though it prioritizes shipyards over ships - if you want to attack a ship, just retreat from the shipyard and the ship will gladly follow you). The enemy ships will of course fire at you, too, and they will try to pursue you. Eventually when I add different weapons, I might have them try to stay at some optimal range, but for now they just try to get right up in your face. If you're not in the same system as an enemy ship, it will instead randomly patrol the galaxy, going from warp point to warp point.

There really aren't all that many enemies spawning at the moment, but the game is still pretty hard, if not impossible, because there's no way to repair your ship between battles. I guess when I add friendly colonies, I'll have to add repairs, too. Since destroyed components will be permanently lost, I think giving the player free repairs to any components that are damaged but not destroyed should be reasonable, assuming there aren't too many friendly colonies. And maybe the player can only be repaired while there are no enemies in the system...

A funny thing happened with the enemies, actually. As soon as I added the enemy shipyards, the game froze! At first I thought it was because the code to build enemy ships was extremely inefficient, but I optimized it, and it still froze. Then I noticed that the shipyards were churning out ships very fast, and their saved build rate was shooting up to ridiculous numbers! (It costs 1000 points to build a ship right now; I saw a shipyard with over 200,000 build rate saved!) Then it occurred to me - I was letting the enemies take turns continuously between player turns! So I made it so the enemies could only take one turn per player turn, and that solved my problem. Of course, tomorrow when I add components like engines, I'll implement a proper speed system, but for now, a 1:1 player/enemy speed ratio should be good.

Saturday, March 8, 2014

7DRL 2014 day 1 - Beware of warp points leading nowhere!

So, I think I accomplished my goals for today. And it's only 8 in the morning, how about that! I've got a cave-like grid of star systems, and each system contains a star, some planets, and warp points leading to the adjacent systems. The player can move his @ about on the star system map, and moving onto a warp point teleports him to the next star system over. (I decided to make warping automatic instead of requiring a keypress just to keep things simple, and not require that the game allow more than one space object per sector.)

If you'd like to check out my code, you can grab it over at Bitbucket. I've also got a screenshot in case you just want a quick glimpse at the game:


Wednesday, February 26, 2014

7DRL 2014 plans

I figured it would probably be a good idea to set goals for myself for this year's 7DRL challenge, like I did last year, so here goes:

Day 1: Map generation. This involves creating a network of linked star system maps ("rooms"), connected by warp points ("doors"). They'll probably be laid out on a grid to simplify map generation code, and so I don't have to swipe code from FrEee to do that. And of course, the stereotypical @-ship running around on the galaxy-map!

Day 2: Enemies and combat! This means enemy shipyards (which will start off as visible, until I implement tachyon sensors) that spawn enemy ships. Combat will be simplified, since I won't have ship components yet.

Day 3: Ship components. For both the player and enemies! Will be defined in JSON files for easy moddability. Won't have generic "abilities" like in SE4; that's too much work for a 7DRL. Instead, each component will have a single function, and each JSON file will contain only components of a single function (e.g. weapons.json or engines.json). Not all components will be defined yet; only a basic subset of them as a proof of concept.

Day 4: Shopping shopping shopping shopping! Killing enemies should give the player minerals, as should discovering allied colonies. Allied colonies should also allow refitting of your ship using some sort of shop interface.

Day 5: More components! Just filling out the data files here with more components to make the game interesting, now that we have shopping. This is when the enemy shipyards become cloaked, since now you can buy tachyon sensors.

Day 6: Testing & bugfixes. Let's make sure the game is winnable, and it doesn't crash (very much)!

Day 7: Extra day planned into the schedule in case I'm not up to working on the game some other day!

Thursday, February 20, 2014

7DRL 2014 ponderings: Beware of Strange Warp Points

So I thought it would be fun to do a Space Empires themed roguelike for this year's 7DRL challenge. I think I'll call it "Beware of Strange Warp Points". It will play out sort of like the old DOS Trek games (could those perhaps be considered early roguelikes?), or like last year's KlingonRL - you're the captain of the last surviving ship of the Terran fleet, and it's your job to stop the Jraenar invasion!

I'm thinking the map will be laid out on a grid, with star systems being like "rooms" and warp points being like "doors". I say a grid and not a freeform warp point network because grids are easier to program. That said, I'd like for there to be "holes" in the galaxy map, so it resembles a cave level in a traditional roguelike.

The player will start with a basic ship, and will be able to upgrade it at a spacedock using minerals he collects, either from defeated enemies, or from allied colonies. Unlike in traditional Space Empires games, ship design will be a bit more freeform - there won't be any preset "hull sizes"; instead, you can just install whatever components you want. The more components you install, the heavier your ship becomes and the slower it goes, unless you install more engines to counter this effect. I guess it's kind of akin to a traditional roguelike's inventory system - you carry more equipment, it slows you down; you drink strength potions, it lets you carry more stuff!

Since most weapons in Space Empires are ranged, and targeting ranged weapons in a roguelike is a pain, I thought I'd do something a bit different with the combat system. Weapons will automatically fire at a randomly selected (or perhaps the closest, if there is ranged accuracy/damage loss) appropriate target every time they are reloaded. So all you have to worry about is maneuvering your ship to stay in range, but out of range of too many enemies' weapons!

I'm thinking the goal of the game will ultimately be to destroy all the Jraenar shipyards scattered around Terran space. Perhaps they will be cloaked, so you'll need to upgrade your ship with a tachyon sensor to detect them! Destroying the Jraenar ships is ultimately a diversion; once you take out all the shipyards, the game would only get easier from there, so there's no point in dragging it out.

I haven't decided how I'm going to handle missiles and units yet. Perhaps missiles will behave the same as they did in SE4 - move at a set speed toward their target, and be able to be shot down by specialized point defense weapons. Or, if I'm feeling lazy, they'll just be long-ranged weapons with 100% accuracy but high cost and low fire rate. Another alternative is a MOO2-style "missile evasion" stat, which the point defense weapons would increase, abstracting away the missile/PD balance while still keeping it in play.

As for units, I suppose there's really only a few kinds that I'd need to worry about. Troops and weapon platforms are pretty much irrelevant, unless I actually want to include planetary combat. Drones are basically just fancy missiles, so I don't really see the need to include them. Fighters would be interesting - have them controlled by AI and pursue the enemy (or you, if they're enemy fighters)? Mines would also be interesting, especially if they're invisible like in SE4! Satellites are basically just giant immobile fighters, so I'm not sure if they're really all that necessary.

Sunday, December 8, 2013

Infinite diversity in infinite combinations? Not so great after all.

Suppose there were, as some scientists have proposed, an infinite multitude of parallel universes, each differing from the next in only the minutest detail. For instance, in one universe, my favorite color is red, while in another, my favorite color is blue, and in a third, I still can't make up my mind.

This might sound like a wonderful thing - it means that anything truly is possible. But is it really all that great? I think that if such a thing were true, it would mean that we actually have no free will. Because all the choices we make would be preordained at the creation of our universe, our actions would have no meaning - for every choice I make, my counterpart in another universe would make a different choice. For every time I say "yes" when my sister asks if I want to play a game, there's a universe where I say "no". There's also a universe where I walk off silently, a universe where I punch her in the face, and a universe where I spontaneously combust, then teleport to Mars. What kind of freedom is that if I'm constrained to do only what's within the parameters of our particular universe?

Now it could be that there are so many universes that there's room for more than one identical copy of each. That would allow for free will, and it would be the ultimate expression of God's creative power. But is that actually a good thing? A simple look at history would say: almost certainly not. You thought the Holocaust was bad? Multiply that by infinity! Of course, there would also be universes where the world was at peace all along, and unicorns frolicked among the verdant truffula trees. But would God actually allow an infinite amount of human suffering? Somehow I doubt this; it seems beyond cruel, even if he can make it up in the end.

So, I'd have to say that if there are multiple universes (whatever exactly that means*), there are only a finite number of them, because if there were an infinite number, either life would be utterly meaningless or God would be infinitely cruel.

*What's "multiple universes" mean? Well, I suppose that a "universe" can be defined as a self-contained region of spacetime to which there is no entry or exit. So, obviously, the universe we live in is one, as there's no way to enter or escape it. Also, any alternate dimension is a universe, as we can't get there, and whoever lives there can't get here. A black hole, though, while it might appear to be a universe, is not, because it has a connection (albeit one-way) with the outside world. Likewise, a warp bubble as envisaged by Star Trek is not a universe, because even if it is isolated spatially from the outside world, it is still connected via time at the moment the ship enters or drops out of warp.

Tuesday, November 19, 2013

Why I love Mega Man (and Rogue Legacy, and Zelda, and Metroid)

This morning I was playing the excellent indie platformer Rogue Legacy, and something occurred to me - there's one way in that Rogue Legacy is like one of my favorite series, Mega Man. It's that both have steep difficulty curves early on, which level off as you progress, with occasional spikes throughout the game.

See, in Mega Man, you start off with pretty much nothing. All you have is your wimpy (except in Mega Man 5) mega buster, and maybe a few special moves like a slide or a Rush Coil. You have to claw your way to the top of the robot pack, defeating robot master after robot master, growing stronger all the while, until you're finally ready to take on Dr. Wily. It can be insanely difficult early on, especially for someone new to the series, and I'd have to say that the game actually gets easier as you progress - at least until the final stages when you confront Wily!

In Rogue Legacy, you again start off with pretty much nothing. 100 HP, 100 mana, only a few classes to play as, and no special equipment. Throughout the game, you can find and buy upgrades, which you get to keep even after your character dies and you start a new one (hence the "Legacy" in the title). The game, like Mega Man, is brutally difficult at first, but once you get used to the controls, and upgrade your HP, mana, classes, and equipment, it becomes... well, only moderately difficult. (There's actually an item you can equip that depowers enemies at the cost of reduced gold drops!)

So why do I enjoy these games so much? Is it because I'm a masochist? Well, no, I'm not a masochist. (At least, I don't think I am!) I think it's actually because there's a sense of accomplishment that comes from pressing on and finally defeating the initial challenge of the game, making my character powerful enough to tackle the rest of the game. Then when I get to the grand finale, and the difficulty ramps up again, I can really appreciate how much I've progressed.

To take an example from one of Jirard "The Completionist" Khalil's favorite games (and one of mine as well), in Mega Man X (which he does an excellent review of in his first episode of his YouTube series), at the beginning you as X are pretty wimpy, and have no hope to defeat Vile (though to be fair, he was riding in a mech...); you're saved by Zero, who says that someday you may be as strong as him. Well, sure enough, at the end of the game, Zero gives you his weapon (which lets you charge up any weapon you have captured from a boss, which is totally awesome)... but then Zero gets into another fight with Vile, and blows himself up to destroy Vile's mech so you can take out Vile himself. And sure enough, the fight with Vile is challenging, but not impossible. It's awesome to be able to fight for Zero, just like he fought for X in the beginning of the game, using all the new powers you've acquired throughout the course of the game!

Another series which has this sort of inverted difficulty curve is the Zelda series. In some of the games (such as the original Legend of Zelda, Ocarina of Time, and Wind Waker), you don't even start with a sword! Of course, there's not much actual danger at that point (except in the original Zelda), so that doesn't really count. But once you start exploring, you'll find yourself confronted with seemingly insurmountable obstacles, such as those annoying centaurs that shoot deadly sword beams at you and take way too many hits to kill in the original game. Eventually, though, you'll find some item that makes you start to wonder if you've somehow become God incarnate, because it makes dealing with the lesser challenges a complete cakewalk. Master sword that does 4x normal damage? Check. Blue ring that halves all damage taken? Check. Double hookshot that lets you zip around the sky level like Spider-Man? Check. Once you have these items in hand, you realize that maybe it's time to take on some of those obstacles that previously seemed impossible - and what do you know, they're not so hard after all!

And then there's Metroid. You start with 99 max health, a wimpy blaster that (in the original at least) doesn't even shoot all the way across the screen, and no advanced weaponry like missiles or bombs. But when you get to the end of the game, you can have over 1000 health, a wave spazer plasma ice beam that freezes and/or obliterates multiple enemies at once, 100 missiles, bombs, a dozen or so each of super missiles and super bombs, and the screw attack. Yeah, the screw attack. Seriously the most overpowered item in all of gaming. (Except in Metroid Prime 3; there it kinda sucked.) It lets you literally jump through enemies to kill them, as if they were balloons waiting to be popped. And you still get health and missile pickups! Oh, and did I mention you can use it repeatedly in midair, allowing you to kill lots of enemies at once, or just air-climb up to high platforms? And yet still, all these weapons aren't quite enough to defeat Mother Brain (at least in Super Metroid) - you still need the hyper beam!

Come to think of it, the inverted difficulty curve isn't all that uncommon. It's especially prevalent in roguelikes such as Angband, where progress is measured not just in terms of character stats and equipment, but also in terms of player skill, as characters are expected (as in Rogue Legacy, which draws inspiration from roguelikes) to die like Chicagoans vote - early and often! Permadeath games in general, such as The Binding of Isaac and FTL, don't necessarily qualify, though, as they usually get much harder as the player progresses to compensate for the lack of length. I included Rogue Legacy because your accomplishments carry over from one game to the next, making future playthroughs easier, and Angband because the difficulty curve, while sloping upward, does so gently, what with the game's ridiculously long length; the real difficulty comes from mastering the game's mechanics and strategies. Not that games with upward-sloping difficulty curves are less enjoyable than games with downward-sloping curves with the occasional spike; each style has its own unique charm!

Friday, May 31, 2013

The 4 X's of game enjoyment, or "Hi, my name is Ed, and I'm an explorer." ("Hi, Ed!")

In 4X games, such as Space Empires and Master of Orion, my favorite part of the game is researching new technologies for my empire. I especially like when the tech tree is randomized from game to game, as in Sword of the Stars and Master of Orion (if you're playing an Uncreative race).

On a (seemingly) unrelated note, I don't like to play roguelikes that are not under active development. Somehow they seem "stale", even if the game mechanics and UI are perfectly polished. I'd play Dungeon Crawl Stone Soup over Nethack any day! (Well, that's not the only reason, but you get the point. I'd use ADOM in place of Nethack since it's more polished, but, well, ADOM is kind of under active development again...)

It never occurred to me until now, though, that these two concepts could be related. I guess you could divide people into 4 categories (named after the 4 X's) based on how they get enjoyment out of games.

Explorers (that's me) enjoy playing games to discover new things - new game mechanics, new unlockable features/characters/weapons/whatever. They tend to be completionists, although explorers may also complete a game 99%, then decide that that last 1% is too hard to bother with.

Expanders are also completionists, but unlike explorers, 100% completion is their primary objective. An expander will not stop until every last bit of unlockable content is unlocked. They don't really enjoy actually playing the game as much as explorers do - instead they get a huge adrenaline rush at the end when they finally complete everything.

Exploiters are minmaxers. Not content to have a +10 sword of awesomeness, they will find loopholes in the rules to get a +11 uber miracle sword of awesomeness and slay everything. They draw enjoyment from the process of devising these schemes, and also somewhat from laying the smackdown on opponents with their cool toys.

Exterminators, of course, are in it to win it. An exterminator is not happy unless he eradicates every last one of his opponents. Exterminators might also like to taunt their opponents and kick them when they're down. They absolutely hate losing, obviously.

Actually, I guess you could pretty much equate these categories to the "classic" 4 categories of gamers:

Explorers = Real Roleplayers
Expanders = Loonies (the weakest correlation of the bunch - hey, someone had to be Loonies!)
Exploiters = Munchkins (obviously)
Exterminators = Real Men

Maybe I should get into some D&D sometime, if I'm that kind of player...

Friday, March 15, 2013

Miracles vs. Magic: What's the diff?

Years ago, I remember being annoyed at the depiction of religion in the computer game Space Empires IV. Even though I was an atheist at the time, I somehow saw it as almost offensive that you could just build religious buildings and get some sort of supernatural benefits from them. So when I went to make my own mod for Space Empires IV, I wound up explaining this away by treating the effects of the buildings as, well, basically magic in the descriptive text. "It's so because we believe it to be so", in other words - the placebo effect in action! That was probably even more offensive to people who were actually religious, though...

But then if religion isn't magic, how do we explain miracles? I think the answer is clear - it's divine intervention with the laws of nature. What about actual magic, though? Is it real? And if so, where does it come from?

If it is real, I'd have to say it's probably Satan's attempt to mimic God's miracles. We see this in Exodus, where God, through Moses, sends the ten plagues upon Egypt; the Egyptian magicians in turn try to duplicate them (why they would want more plagues, I don't know, maybe they just wanted to show that they were powerful magicians?) but their attempts are nowhere near as impressive as God's. We also have Elijah's competition with the priests of Ba'al; Elijah is so confident that God will set his offering ablaze that he douses it with water first to prove that it really was God and not some parlor trick! The priests of Ba'al of course are unable to duplicate this marvel.

So what does this say about portrayals of magic in games and media? Do we need to stop playing D&D and reading Harry Potter because they're "satanic"? I don't think so. People are capable of telling fantasy from reality, and there's nothing wrong with a little escapism so long as it doesn't consume one's life. Does playing Grand Theft Auto turn people into criminals? Does watching Jackass turn them into idiots? No, it's just entertainment. Mostly harmless, as Douglas Adams would say.

Back to Space Empires IV, then. What's up with the religious buildings providing wide-ranging effects such as bonuses to ship combat effectiveness (War and Death Shrines) and renewal of planets' natural resources (Nature Shrines)? I'd have to say that it's simple - Space Empires IV is set in a polytheistic universe, so there are actual gods answering the prayers of the worshipers at these shrines. But the gods are unnamed, for whatever reason. Maybe someone will make a mod which expands on the religion system, naming the gods. Maybe someone will even make a mod for Space Empires V which has scripted "religion spreading" events, sort of like Civilization IV and V. (You couldn't do that for Space Empires IV because it didn't support scripting.) Who knows? But again, it's just escapist entertainment.

7DRL 2013 day 7: ITS OV4R!!!

Well, I finally completed my 7DRL for this year You can go and download it here:

http://edkolis.exofire.net/triquest.php

Things that are new since yesterday:

  • Added a user manual
  • Added victory conditions (as yet untested, the game's kinda hard!)
  • Added "memory sight" (you can see terrain that you've already explored on the minimap)
And as always, you can check out the source code here:


Enjoy!

Thursday, March 14, 2013

7DRL 2013 day 6: Itemized Deductions

Today I implemented items for TriQuest. Since this is a 7DRL and I wanted to get things done quickly, though, I took a slightly unconventional approach to the inventory. Instead of being able to carry around duplicates of all your items, each item type just has a flag to say if the party has found it or not. If it's been found, you can equip it; otherwise, you can't until you find one. Also, consumables (health and mana potions) can't be stored; they're used immediately as soon as you step onto the tile containing them. If you want to save them, you'll have to avoid stepping on that tile until you need them!

That said, there are a few interesting inventory mechanics. For instance, there are two kinds of health and mana potions you can find. The "pack of small potions" restores the health or mana of all party members by 20 points, while the "large potion" restores the health or mana of the most injured or depleted party member by 60 points. Also, no item is designed to be superior to any other item; they all have their strengths and weaknesses. (Though I might want to increase the defense penalty on the warrior's heavy weapons since I bumped up the positive stats of just about everything during testing to make the midgame more survivable! And I still haven't found the final boss yet - I hope he's at least theoretically beatable, not to mention extant!)

Again, no screenshot today, because not much has changed visually - all you'd see different is maybe a blue % sign indicating a pack of small mana potions lying somewhere on the map!

Wednesday, March 13, 2013

7DRL 2013 day 5: Skilled Labor

Today I added skills to TriQuest. Skills are basically special abilities that a hero can use that affect a whole formation. Most of them are used against enemies, although the Priest's Heal Wounds skill is used on the heroes, naturally enough.

To use a skill, first you need to maneuver your party so that it is directly adjacent to and facing whatever enemy formation you want to use it against. Then you press the "s" key to bring up the skill menu. Next you choose which hero is going to use his skill - only one skill can be used per turn, even though there are three heroes. Finally you choose which skill the hero is going to use - each hero has two to choose from.

No screenshots today, since the game hasn't really changed much - OK, I did add a display of how much mana your heroes have next to their health (mana is used to perform skills), but that's nothing to write home about! Instead, I'll describe each of the skills, though a short description is also available in-game in the skill menus.

Warrior skill 1: Omnislash - This attack hits all targeted enemies with a physical attack which never misses, regardless of range.

Warrior skill 2: Berserk - This skill temporarily increases the Warrior's Attack and Body stats, at the expense of his Defense and Mind stats. Using it again while it is still in effect will extend the duration.

Mage skill 1: Fireball - This attack hits all targeted enemies with a magical attack which never misses, regardless of range.

Mage skill 2: Slow - This skill permanently reduces the speed of all targeted enemies by half. Note however that it only works once on each target; casting it twice on the same target will not slow it any further. It would be wise to save some mana to use this on the final boss...

Priest skill 1: Heal Wounds - This skill heals some HP to all of the heroes. Heroes with more Body stat will be healed more, though, so it will be hard to heal the Mage and easy to heal the Warrior.

Priest skill 2: Banish - This skill teleports the targeted enemies to a random location. Handy for when you're surrounded!