Stuff from eBay… Part 2!

Posted in stuff from ebay on April 4, 2008 by brandonman

First, Alien Invasion is now free on my site!

Now then, here we go, missed Stuff from eBay last month. supposably a cursed, evil, rubber ducky… 13 bids! total 13.83 so far. a screw! 1 bid – 99 cents, 1 bid, 5.75 shipping cost 😀 an illinois shaped cornflake… “Not meant for human consumption” Janis Joplin chocolate milk stain. 9.98, no bids. Angel in a piece of wood. $100! 8 BIDS! Nana the Banana Octopus. ‘Nuff Said… 1 bid: 99 cents

Platformer AI

Posted in game programming on February 16, 2008 by brandonman

I took a programming break this week to clear my mind and play some CS:Source. Fun Game. Anyways, came back to Spec-Ops. I got my enemies to show, turns out I wasn’t sending them into the screen, but out of the monitor 😀 Now I need ideas for AI. I don’t want pathedic AI (Yes, it was, admit it) like Mario. I would like some sort of strategies. If any readers have any ideas, please leave a comment or e-mail brandonmanrules AT gmail DOT com

replace AT with @ and DOT with ., and get rid of the spaces and you have my email. Protecting from spam.

Stuff on Ebay

Posted in stuff from ebay with tags , , on February 8, 2008 by brandonman

I am going to try to do a little “stuff I found on E-Bay” post once a month or so. Well, here’s the first one.

Up first is… A Rusty Paperclip! 11 bids and it is at $11.

Now, we have Sammy the Sardine… a can of sardines with 9 bids at 15.50. They have a dumb back-story and everything.

Alright…… a paper happy face… 18 bids at 38.50. I’ll warn you, they have an annoying song about a happy face, so turn down sound…

Here’s one, a Mercedes logo in an onion ring. quoted: “Bring class into your home for the beginning on this new year!” Amazingly, 0 bids.

Here’s a dumb one. 3 Chinese takeout sauces. They sold for 55 cents. Now who would buy this? You can get them free at a Chinese restaurant. Take a look.

Here’s a just crazy one. This teacher wants a rich person to give her 30,000 dollars to pay her tuition. A RANDOM person on the Internet wants you to pay her 30k.


Posted in game programming with tags , , , on February 1, 2008 by brandonman

I started on a platformer today. The player is a special operations person. There are currently 5 levels I’ve designed on paper. I now have to implement them. I have the walking animation done, jumping, walking, and drawing all set up in the game. Now I need to move onto the pesky AI….


Infinity: The Quest for Earth E-mail Interview

Posted in Uncategorized on January 28, 2008 by brandonman

Hello, Brandonman here. I’m here today with Flavien Brebion, creator of Infinity: The Quest for Earth, which is in development, over email. Let’s get started!
1 ) Let’s start with some background information. Where in the world are you from, what do you do for a living, etc?
Hi Brandon. I’m 30, living and working in Belgium ( Brussels to be more exact ), although I’m French ( so no, don’t try to contact me in Flemish.. I don’t speak a word! ). I work as an engine programmer in the visualization industry, for virtual reality. I’m more specialized into graphics programming, although I’m also a general programmer, so I get to work on animation systems, scripting, sound, networking, user interfaces, all this sort of stuff..

2 ) What inspired you to start Infinity: The Quest for Earth?
The lack of ambitious space games ! While a lot of sci-fi space-based games were released in the past decade, the genre is now pretty much dead ( or at best, a niche market ) and most of them were dedicated to a single aspect. For example, Freelancer was very action / storyline based, X3: Reunion more economy oriented, and Eve Online more strategic / player-versus-player. I’ve also been disappointed by the fact that many of those games didn’t respect the scales or forced you to play in tiny areas connected by jumpgates, the last straw for a space setting..

More than 10 years ago, Elite ( and particularly its sequel, Frontier ) proposed a procedural, sandbox universe where it was possible to land seamlessly on millions of planets, and I’ve always found it incredible that no game since then dared to propose a similar concept.

3 ) Where did you learn all of the programming skills required for the game? A college course, internet articles, forums, or picking it up? If possible, could you share a few of the best with us?
Most of it is self-taught. I started programming on an Amstrad CPC at 11, and later on an ATARI ST in GFA Basic and assembly 68K. Back then, Internet wasn’t available, so I took most of my information from magazines and books. Later on I switched to the PC world on a 486, and started to learn C. At the same time I entered at university, studying computing science and design.

Of course, during all this time, I worked on various little programs and games all by myself or with a few friends.

4 ) What other games have you done or been a part of?
My two first “serious” projects started on the ATARI ST. The first one was a fantasy RPG with an isometric view and a graphical style similar to Ultima 7. I worked on it with 2 other friends, who were respectively handling the graphical design and the gameplay / world design, while I was doing the programming. We worked on it during many years, and surprisingly, it evolved into a semi-playable state, where we had a couple of maps ready with NPCs wandering in town, combat, interaction with items, skills and many spells, and even some dungeons with monsters. We got stuck the day we reached the memory limits of the ATARI ST ( at that time, 1 MB of RAM ), and so we had to abandon the project.

Another project was a humoristic sci-fi point & click adventure game that also achieved a semi-playable state. Unfortunately, at that time my friends and I took different paths for our studies, and we started to loose sight of each other and the game slowly died.

More recently, I’ve been involved in a fantasy MMO ( Archaean ) that encountered severe content problems ( lack of 3D art ), in an antique / historical tactical game ( Terra Alterna ) that encountered severe development problems ( lack of programmers ), in a futuristic racing game ( LightSpeed ) that again failed due to lack of content / artwork, and into the Minas Tirith project, that aimed at recreating the city from Lord of the Rings in a high-polycount and visualize it in real time. This was a moderate success, as the viewer part was completed, but the art team stopped the project before texturing the whole city.

I also worked on other minor games ( some successful, other failures ) and published a chapter about real time shadowing in the book “ShaderX2”.

You might notice a trend on this serie of failures, it’s that content is really one of the main bottlenecks. That’s one of the things I’ve been trying to escape at all costs in Infinity, by choosing the space setting ( less content to develop ), the procedural approach ( less world design ) and the public contributions model ( anybody can participate in content development ). That’s no coincidence 🙂
5 ) Do you have any other hobbies besides game programming?
I’m a big fan of sci-fi books ( particularly Isaac Asimov ), astrophysics/astronomy and TV/anime series such as Dr. House or BSG Galactica.

And of course, I play video games, although not as much as I’d like to, recently.. but I still play regularly to Starcraft and Ennemy Territory ( the original one ).

6 ) A question we all want to know, how do you get past coder’s block?
The trick is, coder’s block is usually temporary. So my solution is to go and do something else to relax, do some shopping, or if you’re really into programming, work on something else, maybe more challenging / quickly rewarding. Trying to force yourself doesn’t work too well, at least for me..  often, I get the solutions to my problems during the night when I’m sleeping ( or trying to.. ).
7 ) Could you tell us a little about Infinity? Some background on the project, what it’s all about, the goal time for Alpha, and any other info?
Infinity is a sci-fi massively multiplayer online game inside which players control their own ship and adventure through the galaxy to explore brand new worlds, do some trading, fill missions.. or fight against pirates or each other. I started development on Infinity’s engine back in 2004 and opened the website in end 2005 once the first planetary prototype was complete. At this point I knew I had the basics for an interesting concept. So far the game is still in development, I usually spend 30-40 hours a week on it, almost like a second job. There are 7 other people in the dev team, who are working on content ( 2D, 3D, texturing ) and storyline/background. Finally, there are many contributors – I lost count, probably tens – who work on various aspects of the game, usually modeling or texturing.

We are planning to start a private alpha test in end 2008, with maybe an open beta during 2009, but there’s no set date, really, as it’s really hard to give accurate estimations when you work in your spare time and make an irregular progress.

8 ) How did you get into game programming?
When I was young, one of my uncle had a computer. I was fascinated by it, and always spent as much time as I could to play on it. Later when I grew a bit, my parents offered me my first computer as a present for christmas. I discovered source codes published in magazines that you had to re-type on your computer to be able to play a game, but after a while I got as much interested in understanding the program’s source, than playing with the game itself.

9 ) Do you have any tips for aspiring game developers out there?
If your goal is to work on an amateur project and complete it on your own, my main advice here would be to avoid relying on others too much, and to know your own limits. Don’t aim for too unrealistic goals. Try to reduce the amount of content / work required as much as possible. Give yourself precise goals, and advance step-by-step. Find the good tools for the job, and once you take decisions, stick to it, don’t change your mind on fundamental choices every year or so. If you are aspiring to enter into the gaming industry, my advice would be to build a good programmer’s “portfolio”. Work on as many games as you can during your spare time, and show your talent and your motivation.

Thanks for taking the time to do this interview, and I hope everyone enjoyed this, as well as learned something. Thanks a bunch, and good luck with Infinity, and I’ll be one of the first customers!
Thanks to you and have a good day !
Best regards,

F. Brebion

Took my Breath Away!

Posted in Uncategorized with tags , , , , , on January 26, 2008 by brandonman

I saw a link to this on a forum I frequent, for the Infinity:  The Quest for Earth game, over at I saw this post, and followed this link. This literally just about took away my breath. Now tell me, what does that look like? If you said “Tusken Raider”, you stole mine and everyone on the forum’s words. Wow, that is just amazing. Is there life on Mars? That’s up to how you interpret this. Honestly, this looks like life to me! Too bad ‘Spirit’ doesn’t have video cameras equipped on it, we’d know for sure.

life on mars?

planetary gravity demo

Posted in game programming with tags , , , , , , , on January 20, 2008 by brandonman

I played around with some planetary gravity. One of my game ideas I’ve had sitting around is a space based Galaxy that is online. I decided to play around and do some work with gravity. I have a small planet orbiting a sun. There are no textures, but  the orbit is nice. I start by initializing some different variables.

float r;
float dx;
float dy;
float sunx=0;
float sunz=0;
float F;
float M1;
float M2;
float ax;
float ay;
float G=-5;
GLfloat z=-500.0f;   // Depth Into The Screen
GLfloat xpos = -20.0f;
GLfloat zpos = -20.0f;
float vx=.35;
float vy=-.22;

Now I set my masses.

   M1=1; //planet
   M2=332946; //sun

Then I do some math calculations and draw.

dx = xpos-sunx; 
dy = zpos-sunz;
r = sqrt(dx*dx + dy*dy);
F = G*M1*M2/(r*r);
ax = G*M1*dx/(r*r*r);
ay = G*M1*dy/(r*r*r);
dx is the distance on the x axis, and dy is the distance on the y axis (2D). The other equations are kepler’s law. This is the law of planetary motion created by Johanas? Kepler in the 15 or 1600’s. Then, I move the planet by the velocity and draw. The files I’m linking too are the EXE, the devC++ project file, and the C++ source. This is made in opengl. Just extract these files with Winrar, Winzip, etc and either run the exe or open the project and look at the source and play with it. If you use it in a game, I won’t care, but I’d be honored for you to tell me my source was used.

NOTE: my source may not be very optimized, but it works. I can’t be held responsible for any problems it may cause. Don’t use it as a guide to learn a programming style! Mine might not be that great.


Posted in Uncategorized with tags , , , , , , on January 17, 2008 by brandonman

Here’s an interesting thing I saw on the evilmadscientist blog at These guys were given a job to hang up electronic signs that had art for a movie called Aqua Teen Hunger Force Colon Movie Film for Theatres. The guys hung up the signs as promotion, and then, in the end of January, one was spotted near an overpass and police were called. The bomb squad came and the signs were destroyed with bombs. The guys who hung the signs were found and arrested after a few more signs were found. Here’s a few quotes from the wiki article.

“Repeat after me, authorities. L-E-D. Not I-E-D. Get it?”

 Massachusetts Attorney General Martha Coakley said the device “had a very sinister appearance. It had a battery behind it, and wires.”

“The majority of us recognize the difference between a bomb and a Lite-Brite,”

I think the arrest of these men was a joke. There were no bombs on the signs. Look at that second quote, that shows how much sophisticated they are… The “planters” of the signs were released on a $2500 bail! Finally, in May, the prosecution decided not to press charges, but the men were forced to do community service and apologize to the community. Man, all over some electronic art…

ATHF LED in Cambridge.jpg

Potential Fields

Posted in Uncategorized with tags , , , , , , on January 13, 2008 by brandonman

I am going to write about potential fields for AI in game programming to give everyone an understanding of it. Basically, you have a starting point (The place your AI Agent is at), and a goal, say, the location of the player. You start by creating a 2D array split into tiles. Then, you assign the location of the goal as 0. You then loop through the other locations, and make the value of them equal to the distance from the goal. Then, you loop through, and if a tile has an object on it, such as a wall, you make that tile have a value that is very high, higher than any other values in the array.

Now, each frame, you have your agent evaluate all its bordering tiles, and move to the one with the lowest value.

Wow, it’s that easy!

Note: To anyone who may have done this before, if I misunderstood or explained it wrong, leave me a comment or email me at I didn’t put it in the email format just in case of spammers. replace AT with @.

Also, if anyone would want to do a link exchange for sites or blogs, that’d be great. I could make a post with your blog/site and you could make a post with mine.


Posted in Uncategorized on January 12, 2008 by brandonman

I started reading some articles on AI today. I’m either going to use Neural Networks or Potential Fields, which basically assign a very high number to the start position and loop through and as you get closer to the goal, the number decreases. All objects are given the highest possible value. The lower values are where you want to go, and higher are where you stay away from. Then, you just loop through the pixels or tiles surrounding you and you choose the lowest of those. Pretty simple.