Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!



BitHammer, the BitTorrent Banhammer

SenorPez Re:The arms race continues (429 comments)

A loose/loose situation? Could you please explain a tight/tight situation for me?

about two weeks ago

BitHammer, the BitTorrent Banhammer

SenorPez You're Bad at Grammar, Too (429 comments)

> NOTE: BitHammer is FOR RESEARCH PURPOSES ONLY. Get permission from a network's owner before using it. You assume all responsibility for it's use.

about two weeks ago

Complain About Comcast, Get Fired From Your Job

SenorPez What 1st Amendment Rights? (742 comments)

Is Comcast the government now? Is his accounting firm the government now?

about two weeks ago

Skinny Puppy Wants Compensation For Music Used in US Interrogations

SenorPez Torture (271 comments)

I'm pretty sure using Slashdot Beta violates some part of the Geneva Conventions.

about 8 months ago

How Edward Snowden's Actions Have Impacted Defense Contractors

SenorPez What's the Big Deal About Beta? (180 comments)

Me: Beta can't be that bad, right? *clicks link to see beta version of article* Me: Wow. That's terrible. It's like Digg and Reddit had a baby. Whoever thinks it's a good design should go back to working on the latest internet startup that ends in "er" without the "e".

about 8 months ago

NASA Pondering Two Public Contests To Build Small Space Exploration Satellites

SenorPez Re:Beta (127 comments)

I, for many, do not welcome our vile beta overlords.

about 8 months ago

Designer Seeds Thought To Be Latest Target By Chinese

SenorPez Beta Developers (164 comments)

Serious question: Did the same people who developed the Beta Digg that destroyed that site develop Slashdot Beta? Because it reminds me of the exact same site-destroying arc. And when Slashdot goes down, where will I get my daily hyperbolic Bitcoin article?

about 8 months ago

Ask Slashdot: MMORPG Recommendations?

SenorPez Re:EVE Online (555 comments)

EVE definitely rewards goal-setting. Once upon a time, I think they had 30 day trials, which, IMO, was a much better program. Most people that I know in EVE didn't buy it on their first 14 day trial. They bought it after their second 14 day trial. The first 14 days is spent figuring out what the hell everyuthing is and how the game works, as it's so alien when compared to your typical, "Look, I'm a warrior, and I'm going to save your village, just like everyone else has done before," MMO. The skill system, the fitting system, the actual market, and the meta are all things that need to be understood before you can really scratch that itch. Hopefully you come back. Set a goal for yourself: What do you want to accomplish? Do you want to be space-rich? Blow up other people's ships? Explore the new sites that are everywhere now (I expect them to scale back the spawn rate sometime soon...)? If nothing else, EVE also has a great community of dedicated, helpful people. Even some of the biggest jerks in game are people I'd gladly share a pint with in real life; and in many cases, have.

about a year ago

Ask Slashdot: MMORPG Recommendations?

SenorPez EVE Online (555 comments)

EVE Online. You've got the freedom to play whatever type of game you want, within the bounds of the setting and sandbox. You can play alone when you want to be alone, and play with others when you want to play with others. They just released their latest free expansion, too, so there's a whole host of new toys to play with and blow up.

about a year ago

Woman Facing $3,500 Fine For Posting Online Review

SenorPez Activating Mecha-Streisand (519 comments)

Of course, based on the fact that their e-commerce portal looks like something out of 1998, I'd guess that they're not the most heavily-trafficked site.

about a year ago

Could Slashdot (Or Other Private Entity) Sue a Spy Agency Like GCHQ Or NSA?

SenorPez No. (188 comments)

Laws only apply to little people. Go back to shoveling dirt you peasants, and leave your governmental overlords in peace.

about a year ago

Algorithm Contest Aims To Predict Health Problems

SenorPez Hackers? (138 comments)

Is that now synonymous with programmers?

more than 3 years ago

Microsoft Unveils Smaller Xbox 360 Model, Kinect Details

SenorPez Halo + Kinect = Hilarity (277 comments)

I can't wait until a team member "lags out" of Halo. And by "lags out," I mean, "Is having a heart attack because his 350 lb. Cheetoh-laden body couldn't bunny hop across his living room anymore."

more than 4 years ago

Procedural Programming- The Secret Behind Spore

SenorPez Article Text (277 comments)

Immortalized for the horror.


If you are a maxis fan, you probably have heard of their new project "Spore." The game which was originally dubbed "Sim Everything" allows you to do just about anything you could think of, from evolving a single celled creature, to creating advanced space faring societies. Perhaps the coolest thing about this game though, is that no two player's creatures, buildings, vehicles, or even planets will be alike, and yet they are all still fully functional. How does this work when the basic building blocks of ANY of these things are just polygons? Well, to see that first we have to examine the game itself.

Spore is a game of editors. In each stage of the game, you will spend your points to change and improve different aspects of your society. You start with the cellular editor, followed by the creature editor, object editor, building editor, vehicle editor, until eventually you become able to terraform planets. The best thing about these editors: their sheer flexibility. Any number of body parts, with any number of joints and features can be stretched and pulled to any number of sizes and shapes and attached almost anywhere on your creature. The same thing goes for the tiny cell bits at the cellular stage, and the interacting material parts for buildings and vehicles. The key to making all this work? Procedural programming.

Procedural programming is a bit hard to explain, but I'll give it a shot. First lets look at what procedural programming is not. Many games and programs that you are used to use something caused "sequential" programming. Sequential programming is essentially a gigantic looped together tangle of If/Then statements. This may seem simple, but its true enough. Lets take an easy example, think back to the old days, such as street fighter 2. The If/Then statement for say, Ryu's fireball would be something like: IF your command input looks like Down, Down Forward, Forward, Punch, THEN throw a fireball, or IF the fireball image is overlapping the opponent THEN deal a certain amount of damage.

The basics of sequential programming are all object oriented. To explain this fuller, their basic building block is the object, or a thing. In the above examples, the objects were the command input, the fireball and the opponent. Programs can check whether certain objects are doing certain things by comparing their numerical values. For example if every space on the game screen is assigned a number, much like grid coordinates, the program can use simple greater than or less than comparisons to figure out where the characters, the fireballs, the floor, and everything else was.

So why can't this be used in games like spore? Well in games with so many options, the IF/THEN list becomes so long it becomes scrambled. Several calls to previous points in the list are made and the whole thing gets disorganized, something which programmers affectionately call "Spaghetti Code." Also, that much code and that many variables simply gets huge! Even though information technology has been growing at an exponential rate, there is only a limited amount of space you can put on a CD or DVD. On the PS1 there were 4 disk games, and on the PS2 there were 2 and 3 DVD games. It is only a matter of time before we have games which fill up 2 or 3 HD DVDs or Blu Ray disks.

The solution? Change the way the game thinks, and that is exactly what procedural programming does. Procedural programming dosen't use "things" as the basic building block of a program, but instead "actions." Taking the SF2 example from above "throw fireball" is one whole action, as is "Kick" "Jump" "Get Hit" and "Die" with all their particulars defined right there in the action itself. The interesting thing about procedural programming: modularity. Think of it like this: there is an action for jump and an action for kick, when you combine those two actions at once, you get jump kick. Of course its actually a lot more complicated than this, but this is perhaps the most simple way to describe it.

If you watched the spore trailers, you heard the developers comment on how nearly everything is created procedurally, and this is what makes spore so unique. There are procedures for every way a limb could move, or interact with its surroundings (including attacking, seeing, eating, and so on). Limbs and body parts are defined by these actions. The result? The program computes how the creature acts and behaves based on its construction. This allows spore's editors to contain essentially unlimited possibilities, allowing you to mold your creature, or building, or vehicle like clay, rather than create it via menus with limited choices and options.

Procedural programming can be used in just about any sort of game and has been used in emulation for years, but where it really shines is in simulation games, like Spore and Maxis' "Sim" series. Where there used to be a complex list of rules and statements, now is only a few calls to a couple procedures like "go to work" or "drive your car" for example for one of the sims in "The Sims" or one of the many inhabitants of a "Sim City".

So what does this mean for the future of sim gaming? Well first of all look at games such as Civilization. Procedural programming may mean the removal of concepts such as the "unit." No longer will you have settlers, workers, soldiers, and so forth. Instead, there may come a time in which all you have are "people" each with their own stats. You can then have these "people" do whatever you want, whether it be tending the fields or patrolling your country's borders.

As of now, the only game which is almost 100% procedural is spore itself, but fan favorites like Doom and Quake have also been largely based on procedural routines as well. This adds a realm of flexibility to FPS's. Whereas procedural programming was originally just used to dictate how certain guns and ammunition behaved, the programming can be applied to the guns themselves. Perhaps sometime in the future we will see a counter-strike type game, where instead of buying weapons you buy parts of weapons and assemble them quickly and on the fly.

Overall, procedural programming is not an advancement in technology, but an advancement in the way we think about technology. Procedural programming essentially shrinks the technological world, allowing us to fit a lot more information in limited space, and allowing this information to interact in near infinite ways. Games will continue to become more and more procedural as time goes on, increasing their flexibility as they do.

more than 7 years ago


SenorPez hasn't submitted any stories.


SenorPez has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?