Author, Programmer, Bag of Wind(TM)

Profile
Racine, WI, USA
Adding Intellectual Overhead Since 2006!
557 comments
292 entries
Advertisement
TANSTAAFL
June 01, 2005
We interrupt JetLag to bring you Snake 1.0.0.2!
Snake!

Some folks (who I know IRL) have become addicted to Snake! and they noted a bug, which I fixed. Since I was updating it anyway, I threw in two "enhancements", one is a length counter in the lower right corner, and the other is a "bulge" where the snake has eaten a pellet.

They have become fie…
444 views
TANSTAAFL
May 26, 2005
JetLag 2005  Alpha
JetLag 2005 Alpha, version 20050526

The top scores stuff isn't in yet. The game itself is in a working state. I'm looking to balance out the game.

The controls: left and right arrow to move the dude. The control key sets off a bomb. 1,2,3,4,5,6,7,8,9,0 spend 1,2,3,4,5,6,7,8,9, or 10 "rings", whic…
327 views
TANSTAAFL
May 20, 2005
Add Class to your Project!
Dunno why it took so long for this to strike me as funny, but it finally did.

222 views
TANSTAAFL
May 16, 2005
The Final Four!
I've come up with the final four jetlag lucky charms:

Barrier: a set of four adjacent blocks, the same color as the wall(so invincibility and bombs won't help).

Shift up and down the screen: in older versions of jetlag, the character always stayed on the same row. These charms move the character up a…
250 views
TANSTAAFL
May 06, 2005
!SOP


Normally, I do not make the title screen of a game I am writing as the first things. I learned long ago that this lead to having a whole bunch of title screens, and no games. The main reason for winding up with a bunch of title screens is that I would have a super-neat-o idea that was way too lar…
367 views
TANSTAAFL
May 05, 2005
It's Looking Like JL2k5
I recently have been working with the PopCap framework, and just before that I was working with Flash and many of my recent games have had a global top scores list.

I tried out that C#->swf compiler. If you're making a form based app, I say use it. If you are making a game, I say don't.

I have b…
247 views
TANSTAAFL
April 27, 2005
Just Married
I just got married on Sat, Apr 23, 2005. It was a nice ceremony and reception.

388 views
TANSTAAFL
April 19, 2005
Fiction Post?
So, I recently have decided to retake up an old interest of mine, which is writing fiction... typically science fiction or fantasy fiction.

I looked around the web, and found a *FAN* fiction site where one can post their stories, but I have yet to find just a site where I can subject others to the d…
338 views
TANSTAAFL
April 13, 2005
Wonderful, Wonderful Words
portmanteau
backronym
frankenword
retronym
neologism
meatspace

298 views
TANSTAAFL
April 07, 2005
And, as usual, I blame John Hattan
For reference


So, yeah. There's a C# compiler that'll make SWFs. Rather than talking about how it has great potential and may indeed be the holy grail, I figured I'd just show you how easy it is to make something.

I made a simplistic app that allows you to move a hexagon (which blinks red and blue) …
326 views
TANSTAAFL
March 30, 2005
Numerology
If you've looked at numerology at all, you will know about the way that positive numbers are reduced by adding together digits to make new numbers until there is only one digit left.

For example, the number 561 is first reduced to 5+6+1=12, and then to 1+2=3.

often, a numerologist will take the digit…
288 views
TANSTAAFL
March 25, 2005
Ack!
And the following isn't real code (like in the last post), but it is UGLY.

	try
{
try
{
for(int a=-1;a<2;++a)
{
try
{
for(int b=-1;b<2;++b)
{
try
{
for(int c=-1;c<2;++c)
{
try
{
printf("%d %d %d\n",a,b,c);
throw int(a+b…
260 views
TANSTAAFL
March 24, 2005
Any Suggestions?

BOOL GetVideoCaptureRegistryValues(VIDEOCAPTUREREGISTRYVALUES* pValues)
{

BOOL Result=FALSE;
HKEY hKey=NULL;
DWORD dwType=0;
DWORD dwSize=0;
char str[256];


do
{

if(!pValues) break;

if(ERROR_SUCCESS!=RegOpenKeyEx(HKEY_LOCAL_MACHINE,REGISTRY_PATH,0,KEY_QUERY_VALUE,&hKey)) break;

if(!hKey) brea…
393 views
TANSTAAFL
March 24, 2005
Lessons Learned
In playing with the PopCap framework, the whole "how things should be done" becomes readily apparent.

In the demo programs, there are the following files:

A file containing the WinMain function. This WinMain function is the same in all demos. This means, IMO, that it should be hidden in the framewo…
210 views
TANSTAAFL
March 23, 2005
Exercise for the day:
The following code is poorly written. How /SHOULD/ it be written? A big plate of virtual crawdads for the first person to get it right.


void ResourceManager::DeleteMap(ResMap &theMap)
{
for (ResMap::iterator anItr = theMap.begin(); anItr != theMap.end(); ++anItr)
delete anItr->second;

theMa…
334 views
TANSTAAFL
March 20, 2005
Snake Options Menu


Finally got this part working. It allows you to customize the game in the following ways:

* You can select the width and height of the playing field, as small as 10x10 and as large as 40x30, in multiples of 5
* You can select the speed of the snake, from 5 to 25 cells per second, again in multiples …
320 views
TANSTAAFL
March 19, 2005
New Snake Screenshot


I don't have a new download, as the code is in a slightly transitory state at the moment.
237 views
TANSTAAFL
March 19, 2005
Working on Snake
So, I got some time today to work on "Snake" and see what I can do to help bring it up to production quality.

My first task is to switch from the way I'm currently loading resources (which is one at a time) to the PopCap way, which is to make use of their nifty resource manager class, and show a pro…
264 views
TANSTAAFL
March 16, 2005
Production Quality Snake?
So, I've been working on Snake a little longer than I expected to. Sure, it was "done" not very long after I started working on it.

But now, I'm thinking about Production Quality Software, and getting my little stupid Snake game up to that level.

This is the difference between "done" and "finished".…
469 views
TANSTAAFL
March 14, 2005
Having a Gool Ol' Time!


(It's not /quite/ ready for primetime yet, but it's fully functional, and I'll have it for you before too long)

Yes, it is Snake! Made with the PopCap Game Framework

And the cool part: it is slightly more than 250 lines at this point (I expect it to swell to a mighty 300 or so in order to be done), a…
230 views
TANSTAAFL
March 14, 2005
Bass.dll
update on bass.dll:

http://www.un4seen.com/

It turns out, bass.dll is a product that can be rather costly if you make use of it for non-commercial products(it is free for non-commercial products). It is 100 euros for a shareware license, 850 euros for a single commercial product, or 2250 euros to do…
340 views
TANSTAAFL
March 13, 2005
PopCap Game Framework, III
Pong, using PopCap Game Framework

In a matter of a couple of hours, I was able to whip up this Pong game.

I'll probably post the source a little later.
495 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
10 Followers
15 Entries
11 Followers
johnhattan
Programmer
1,277 Entries
48 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement