Saturday, November 20, 2010

Asymmetry

previous posts in this series
Intro
Randomization
Engagement


Asymmetry

Before writing this I tried really really hard to think of a sport that is asymmetric. Baseball and Cricket are played asymmetrically, with one team in the field and one team at bat, but the game requires each team to take turns at bat or in the field, making the game, overall symmetrical. It is possible that you could consider hunting and fishing to be asymmetric sports, with the hunter versus the prey. Hunting is not really a game, but a primary survival skill of human beings, as predatory animals. As a survival skill, people finding fun and engagement from hunting is fairly easy to understand. People also enjoy eating and using the toilet. These are not things that most would consider games. If there is any game to be made of hunting, then it is a competition between the hunters and not actually between the hunter and the prey. Of course that makes hunting and fishing, again, symmetric.

Many games (board games, and video games) have played with the idea of asymmetry. The playground game "tag" is a great example of an asymmetrical game. Playing a game of tag never requires every player to be "it". A player could play tag for hours and never be "it". For the players that aren't "it", the game can be fun and engaging, but, as any kid will tell you, tag is more fun when you are "it". Video games, likely starting with breakout, but then really with space invaders, made sure that the player is always "it".

The really difficult design problem that space invaders, being a video game, solved is that it sucks being the guy who is supposed to lose. It is much more fun to catch one player after another as "it" than to be one of many people waiting to be caught. No human would ever willingly play as the space invaders. This is the playground role handed out to little brothers and sisters for centuries. The dutiful punching bag. This is a role only a computer opponent could relish. A cursory glance at the standard game board of space invaders would lead most to believe that the player is faced with overwhelming odds and will need to call on all their dexterity and focus to prevail. That only becomes true as the game progresses. For the first few minutes the player is omnipotent. You are the one in control of the game and the computer will suffer the beating you dole out and keep coming back.

Maybe I should change my terminology. It is probably not so important that space invaders be a "video" game. It could be an incredibly complex mechanical shooting gallery. What is more important is that it is a "computer" game. Sure, you could compete against other players to see who can set a higher score, making space invaders a symmetric game, but it doesn't require another human player to be a complete game. It only requires a computer. A computer that doesn't care that its only role will always be the "not its" to the players "it".

Having this perpetual digital soup can available for the beating, changed game design. Ideas that you would never be able to get a team of real humans to rally behind, became the norm for video games. The next time you have a bunch of people around getting ready to play, soccer, hockey, baseball, football... or really any other sport, ask them if they would all rather line up and run straight at you while you punch them, one at a time, in the nose and crotch. They will probably tell you that idea doesn't sound like much fun. Then ask a computer. Computers are always up for it.

Sunday, October 31, 2010

Engagement

previous posts in this series

Intro

Randomization


If it wasn't already painfully clear, I really am not speaking from a place of authority here. I really don't know if what I'm writing is accurate, or completely ass backward. I'm exploring what I think makes a game a game. These three elements are what I've managed to come up with so far. Feel free to tell me if I'm completely out to lunch.

Engagement

This is one of those words that can be used very vaguely. Like describing something as artistic, or jazzy. When someone is describing a game and they can't come up with any nuanced description of why they kept playing, they sometimes say that it is engaging. That's really it... engagement is whatever keeps someone playing. It's a catch all. Engagement can come from almost any source. It might be a genuine interest in the game mechanics. How much you like the people you play with. Neurotic compulsion. Flat out, unhealthy, addiction.

Engagement changes a series of random events into a game. This is where the rubber meets the road. Literally. In physical terms, engagement is joining two or more objects, imparting the motion of one on the other. Either object can be the instigator of motion, and they can reverse rolls, but the end effect is that engagement of two objects propels the whole forward. Or backward. The effects of engagement don't need to be positive. They only need to be continuous. If one object repels the other, they are no longer engaged. The game ends.

Engagement, when used to describe game play, means that the player is invested in the game beyond the "fun". Beyond the random. Dice roles are not engaging. Flipping over cards is not engaging. Nearly all card and board games build engagement the easiest way possible... by having you play with other people. Probably people who are your friends. You will play shit that bores you to tears, because you enjoy your friends. In the absence of other people, most video games create engagement by pretending to be other people playing against you. If there was no randomization or the randomization was not obfuscated, the player would feel like they were fighting a game system rather than invaders from... you know... space.

Sometimes that system might be enough. Solitaire is intensely engaging, but the mechanics and the randomization are outright blatant. Not obscured at all. For me the engagement in solitaire comes from the brevity of the game... one round tops out around 10-12 minutes, and the rapid fire reveal of the randomized cards. Every flipped card could change the whole game, and you are flipping one of those buggers every couple seconds. Aside from games like poker or backgammon that let the other players engage you, most types of gambling engage in the same way. Speed and repetition. The promise of money doesn't hurt either I suppose.

Space Invaders builds engagement in a couple different ways. First, there are the random events. Bomb drops mostly. People can't help but try to find pattern and intent in random events. Especially if those events are not explicitly random. We can't see past the graphics on the screen to divine if the game mechanics and systems are random or intelligent and directed. Whenever that happens, people default to intelligent and directed. That's just what we do. Exploiting that aspect of our collective psychology is a constant source of engagement for many, many games. Works for religions too... but I don't think I'll get into that.

Secondly, space invaders builds engagement in almost the exact opposite way. The movement of the invaders is plodding, predictable, and almost entirely unchanging for as long as you play the game. This absolute rigid system is easy for a player to absorb. You know exactly where every invader is going to be at any given time during the game. While the random elements provide the moment to moment, heart skipping tension, the pattern and repetition allow the player to develop a longer term strategy.

Those seem to be the key two ways the game engages the player. Of course, what works for some people, won't work for others. The main draw for some people might be the distinctive glow of the phosphors, or some specific tone in one of the sound effects. It's hard to tell what might butter a dudes bread. Certain ticks of our individual psychologies are similar enough that a persons responses can, occasionally, be predicted with some amount of accuracy.
People like patterns. People like being surprised. People like to get better at predicting, and reacting to, subsequent surprises. Predictable surprises form patterns. Loop.
This is the recipe for engagement.

It all boils down to this.
Randomization = Play
Randomization + Engagement = Game

I have one more element to cover. Asymmetry. Games don't require asymmetry, but Space Invaders does. I'm going to attempt to cover why asymmetry is the basis for modern video games, and why it's what makes video games different from most other forms of game. My post on engagement went way longer than I had hoped ( and still barely covers the topic ), so I'll save asymmetry for next time.

Friday, October 22, 2010

Randomization


Randomization

Most, if not all games, contain some element of randomization. I'm talking games here, all games, not just video games. Ball bounces, dice rolls, card shuffles, are all complex enough equations that, as far as the average human brain is concerned, they are effectively random. Often, as is the case with chess or checkers, the random element is provided by a second human. Maybe this is not so much "random" as it is simply the obscured or inscrutable tactics of another human player. The end result is the same. We simply don't know what will happen moment to moment, and we need to react to events as they unfold. Successfully predicting, or reacting to a random event makes people feel excitement, elation, a sense of accomplishment. Otherwise known as fun.

In a round of space invaders, while the enemies will always march back an forth across the screen and descend one step at a time until they reach the bottom, apparently crushing the feeble defenses the earth has mustered against them.

That is all you know for certain.

When will the enemies excrete their squiggly bombs. When will the mother-ship grace the screen, enticing you to chase it for some easy points, even if it means leaving protective cover. That information is completely obscured from the player. These moment to moment reactions create the tension required to make you feel like you have bested the invaders. They attacked. You out thought and out fought them. It was probably fun.

Fielding a few grounders can be fun, but you can't really call it a game. Randomization alone won't hold a players interest for long. You need a second element. Engagement. By keeping the randomization hidden from the player, it's easy for them to interpret an invaders random bomb drop as a deeply malicious and directed attack. I'll dig into that in a bit.

There is, seemingly, an alternative to the randomization = fun theory. Puzzles. Puzzles are a strictly linear problem to solve. They are, in fact, not random at all. In practice however the effect is the same. The solution to a puzzle is hidden from the player in such a way that it may as well have been random. A puzzle is like a dice roll that comes up 4 every time. Predicting or reacting to the dice roll the first time will provide the player with that feeling of fun. Once. Working through, and solving a puzzle will also provide the feeling of fun once. Puzzles by themselves are like fielding grounders. They aren't games, but string a bunch of puzzles together and you start to see the makings of a game.

So if randomization can create fun, but random events aren't, in and of themselves, games, what else is required?

Next up
Engagement

Saturday, October 16, 2010

quick aside

just a quick aside.

Before I put up my post on randomization in video games, I thought I should make a comment on the latest build of "colour game" (working title).

The latest build of the game is up. I had previously, incrementally updated the graphics every few builds... in this build I ripped them out entirely. Every object in the game is represented by some primitive (sphere, cube, etc.).

I found that I couldn't even look at the game without wanting to change something about the visual state of that nonsense. I like working on the art side. I find modelling enjoyable, and photoshop can be downright relaxing, even under deadlines. Even thought the art wasn't even 20% of the way completed, I just couldn't stop thinking about it. It was definitely having an effect on how much thought and effort I put into the code and game play. The solution was simple. Remove art from the prototype. Any art and graphic design I do for the game is now on paper or modeled separately and not imported into the game. This also forced me to create a more clean and clear hierarchy structure for all my game assets that lets me swap out the primitives with finished models fairly trivially.  Good stuff.

I'm pretty sure that this is the way I will prefer to work moving forward. When I used to do vinyl vehicle wraps and decals we always used the nastiest magenta illustrator could muster as the stand in colour. If the area was part of the design that was supposed to be cut out, or just an area where the artwork wasn't complete, it would always be that terrible magenta. The reasoning was that if whoever was running the printer at the time saw that they would know not to print the file, because no client would ever want that colour on their vehicle. Valve uses a similar approach in level design by building everything out of orange boxes. If I could find something to use more hideous than a flat lit cube as my stand in prototyping object, I would. 

I also spent the last month just stripping the game down to the nuts and rebuilding most of it from scratch. It really didn't take very long, since I work on this less than an hour a day most weeks. Less on other weeks. I had learned quite a lot building everything the first few times, so it was time to toss out all the, sprawling, old broken code and write some new, tidier, marginally less broken code.

Next post:
a thoroughly absorbing and delightful mess of pedantic nerdy bullshit.
Randomization

Wednesday, October 13, 2010

Space Invaders!

Space Invaders

That's it. I'm making space invaders. Enemy blips locked in an inevitable march toward one lone protagonist.

I think I come by it honestly. An awful lot of video games are space invaders. Think about all the video games you have ever played... now really think... how many of those are the spawn of space invaders. Galaxian and Galaga are direct descendants of space invaders, but so is tempest, albeit oriented in a ring rather than vertically. Xevious, 1942, also space invaders... but now the background scrolls. Robotron 2084 is space invaders with no constraints on axis for the player or the enemies. I think the simple reason is, space invaders only works as a video game. Sure there are video games that predate space invaders, even other shooting gallery video games, and space invaders itself has roots in the electromechanical shooting galleries popular decades before. Space invaders added a level of randomization, engagement, and asymmetry that didn't exist before then. Most video games before then were either two player affairs, or very repetitious and predictable games like breakout. While having another player definitely adds the randomization and engagement, it almost by definition requires a level of symmetry.

Randomization, engagement, and asymmetry. I have whittled it down in my brain to these three elements. These are, what I believe, the elements that make Space Invaders the starting point for the modern video game. They are also central tenets of video games that differentiate them from most other types of games (board games, sports, etc).

I was in the process of writing one epic post all about what I think makes a video game different from other forms of games. Instead I'll offer a reprieve from my long winded nerdformation. I'm gonna break this description into a bunch of parts and post them one at a time. Eventually I'll probably stumble over what this has to do with the game I'm making.

next time on games by mistake

Randomization

Wednesday, August 25, 2010

game : found

I started out building a test for one game. There was this one simple mechanic, mixing primary colours to match a another "enemy" colour. There was a greater game idea that used this mechanic in various ways. That was the direction I was heading.

That is not the game I'm making.

Writers always say that their characters and stories tell them what they need to write. This word comes after that one because that is what this character would say or do. The writers task then, is to continue, slavishly  putting one word after another and prune the result into a readable, hopefully harmonious, form.

I have some experience with that mindset creating commercial art and design. There are requirements that are set forth by the client, but after that you enter into the grey area. Does this line meet that edge in an appropriate and harmonious way. Do those colours jibe with that form. There is almost always a point in this journey where I know that the piece could stand as it is. It does it's job and isn't displeasing to look at.
But.
This is that moment for me. If I listen, the piece will tell me what it needs. Something added, something removed, a slight or gross adjustment. The difficulty is never figuring out what the piece needs, the difficult part is listening. It's easy to put your head down and blindly work, "zug zug" fashion, but stopping to listen, that's tough.

If you thought that maybe I went all artsy fartsy there, this is the kicker.

For me, that moment almost always happens when I'm on the toilet.

Maybe it has something to do with having my privates exposed, or having my tract feel relaxed and comfortable, but a problem I have been working on will coalesce from all the tiny bits and pieces in my head in such a striking and clear way that there has to be a physiological reason for it. This happened with such frequency that coworkers brought it to my attention. After coming out of the washroom and immediately blurting "I figured it out!", they posited that I might be doing something abnormal  in there.

And it went that I entered the washroom with a head swimming with ideas that could work in some vague fashion, and I left with a crystal clear idea of the game that I was going to make. Actually it was the game that was always there, telling me to create it. I just need to drop my pants to hear it.

Wednesday, August 4, 2010

time for a new checklist

Months ago I wrote a checklist. I did a breakdown of my short and long term to do's. When I went to look them over today I found that I had done them. all of them.

umm... I sort of didn't expect that.

The checklist was only for the proof of concept demo... basically could I make some shit move around the screen in response to input. could I do it in less than an hour a day, while learning the tools and C#... in that same hour. I suppose the answer was, yes, yes I could. Dullard as I might be, I managed it.

so, what now. now the tough part. can I take this proof of concept and turn it into a game.
I have started on version 3 of the interface, which includes all the required elements for versus and single player modes. I have my new checklist going that includes all the gamey elements, like stats and a parser for moving all the gamey data to and from some xml files. Some character and enemy designs... really the part I enjoy most.

I think the biggest change in the near future will be moving the colour mixing model from the overly simplistic wheel to something a bit more fluid. I'll still be using a red, yellow, blue, colour model, which, yes I know, isn't really accurate in any study of colour theory, but it is easy to wrap your head around. Sure, you have your rgb, cmyk, lab, and whatever is in your pantone fandeck, but honestly, I may have fudged the gamut, but everyone knows that red and yellow make orange, yellow and blue make green, and blue and red make purple (they really don't but if you don't tell, I won't).

so here's to hoping that in a few months you might be able to load up the newest build and fight a monster... with colour!

also, if you've read this far, what else would you be interested in reading... or seeing. concept art? design docs? code? let me know, maybe I'll put in a post.

Friday, July 23, 2010

New Graphics

New Graphics!
Yay!

'cept they are only marginally better than the old graphics, you might say.
you would be right. but the groundwork is there for them to improve a bit at a time now. The old version had too many problems with pivot locations and ambiguous rotation angles. What was very broken is now less broken.

or you might say I still don't know what's going on here.
you are in good company. I have an idea where this is headed and it still looks like thick nonsense soup sometimes.

or you could even ask, is this really even a game? it doesn't seem... you know .... fun.
probably isn't. on both counts. I have spent the last month or so gutting out the junk and replacing it with the bones of an actual game.

So here is my problem. I work on this game for maybe an hour or so a day, on average. If I am coding I can usually make decent use of that time... if I am doing anything graphics related, forgetaboutit. I have the ability to pour a ton of time into anything graphics. 3D, 2D, video ... whatever. Now, I've done graphics work under deadline. Quite a lot of it, and some real bastard hard deadlines too. That I can do. There is an end that you are trying to achieve. As soon as I leave that focused mentality and give in to the meandering undulations of "concept development" I might be better off just shutting down the PC and staring at the wall. I could sit in front of photoshop or maya for days, feverishly grinding away, and have jack all to show for my time by the end. I'm honestly doubt that it is a problem unique to me. Maybe I should just try to work on any art on this project in short focused bursts, rather than, once again, rebuilding the entire interface from scratch.


Friday, June 11, 2010

learning

So my UI design was lousy. really really lousy.
but that is A-OK.

See, the real purpose of doing this game... and writing this blog, is just to learn.
I set about the task of creating a throw away game... something that I would build to learn the tools, learn some coding, just simply get something built. Now if it turns out the game is any fun, then I would dive right in and finish the thing, but this will not likely be the case. This game will probably always suck. that is A-OK too.

I am rebuilding the game graphics, and therefore the entire UI to make everything a bit more clear... not a ton, but a bit.

This is the fourth full go round on the graphics, not including minor tweaks and additions. This is also the third time I have programmed it. The game started out on the xna framework and then I quickly moved to the unity engine.... much better. I started coding it in javascript and then moved over to C#.... also much better. Every time I learn more and more about the nuts and bolts. Occasionally I learn something about actual game design, but that seems to be a long term education kind of thing.

In redoing the graphics I'm trying to learn how to create a more clear and usable UI, while resisting the artist tendency to try to build "finished" assets.

Of course all this learning is difficult when you are, occasionally, as profoundly stupid as I can be.
but that is A-OK.

Sunday, May 23, 2010

iteration

I put up a new build a bit ago, but you probably won't notice any differences. All th changes are under the hood. I'm rooting through and cleaning up code as I go. Bad shit goes out and slightly improved shit goes in.

This is all part of the iterative process.

Also being iterated, are all the graphics. The final look will hopefully be somewhere between story book paintings and slick art deco design. Figure that out... I haven't.

At the moment I am relearning some art tools that I used to be quite proficient at. I always spend so long between using certain tools that I almost always forget some of the most basic things about them. Every time that happens, it always reinforces this one theory in my brain. I think that a person can become an expert on a topic or at some skill, extremely quickly. Most individual skills can be picked up and developed in a matter of months, or even weeks. If you work on them continually for 1 or 2 years, you will most likely be an expert. Becoming a master will probably take the rest of your life, but becoming an expert... thats a pretty quick.

Only thing is, I don't think most people see it that way. I've had so many wildly different jobs in a fairly short period of time, that I have been forced to pick up new skills, become and expert in some, and then drop them to pick up an entirely new set of skills. Most of these skills are either so encrusted with rust that it would take a few weeks to get back up to speed, or they have been flat out forgotten.

Right now I'm learning to program in C#. If I kept at it, in a few years I would probably be an expert in whatever I was programming. That's not me being cocky, I think it really is just a matter of time and exposure to the task. If you ask me right now, I'm really not sure if I'll keep at it or not. I would definitely rather steer more heavily toward the art. Right now, I think I'll go reacquaint myself with some tools I used to be an expert in.

Monday, May 17, 2010

cheat added

so you want to be a cheater, and cheat.
I added a little reset button there in the bottom right. That button resets the color gauges and lets you keep messing around with the colors without having to restart when you run out.

cheater

I put that button in there for testing purposes, while I put in the code that lets you earn back color for making a close match. I will also be adding a cumulative score.

some better graphics and animated bits are in the works too. Soon it will be much nicer to look at, while you wonder why it isn't any fun.


Friday, May 14, 2010

new build and remembering activision

I put up a new build. I fixed some of the little quirks and pretty much moved everything over to mouse control. I added a little glow mouseover effect that I am not at all happy with yet... but what the hell, I'm gonna rip all the art out pretty soon anyway.

I've been reading this history of video games book... for the third time. I remembered something I thought I would jot down here. I got to the part about the founding of Activision... the company pulls in the GDP of a mid sized country now, so it's kind of fun to read about this company started by a hand full of dudes.

One day I was playing Sky Jinx on the old Coleco Gemini (a knock off of the atari 2600) and I remember reading in the manual that it was created by Bob Whitehead....

well holy crap

I knew on some level that people actually made these games, but to my feeble brain, it may as well have been sorcery. This dude. This fairly normal looking guy, he made the game I was playing. Didn't look like a sorcerer.... just a guy.

I spent a lot of school bus rides drawing game levels on foolscap after that.

Seems to me, I just never stopped doing that. Doubt that I ever will.

Monday, May 10, 2010

int? and mouse control

so if you want an integer to be null you have to type your variable as int?

and if you need to access a method in another script there is a really specific way to do that using c# for unity.... good things to know

so I have the last part of the mouse control working. You can now click on the center gem to lock in your color mix.

the next part is to add in the running tally of your score and add a way for you to earn back some color into your reservoir. At the moment, once you run out of a color you just can't mix any more... game over. not really much of a game is it.

There will also be a total overhaul to the graphics coming very soon.

Monday, May 3, 2010

more tweaks

today I made some more tweaks and edits to the resource management system.
now i just have to make it interesting or, god forbid, fun.

Sunday, May 2, 2010

some tweaks and thoughts

I set up the resource gauges today. I'm one step closer to this actually being a game rather than some odd widget. Pretty soon here I will go into some detail about what I'm building. I'll probably just post up the link to the dev versions and let folks bang on it. The grand experiment would be to just do game development with the kimono wide open . Really give away all the details... I'm not sure if I have worked up the courage for that just yet.

I'll think about it.

Wednesday, April 28, 2010

games by mistake

So I'm making a game. I don't know what I'm doing. That must be fully understood by anyone reading this.

Not a goddamn sniff.

Not to mislead anyone, I've worked on games before. I've made art and animation for this and that. I've even written some code. Badly. Always badly. The art stuff I think I take care of in a reasonable competent fashion. Writing code is like trying to order food in another language. I know what I want I just don't always have the words to describe it. Short of going into the kitchen and pointing at shit, I'll just have to flounder around and hope I don't get chicken arseholes floating in some soup.

So I'm making a game. If you play it, I'll try not to put too many chicken arseholes in there.