August 20th-23rd, 2010
Theme: Enemies as Weapons

Back to Browse Entries

I <3 Tractor Beams

by drakfyre - Competition Entry


Your triangular transport ship has entered an asteroid field! You have no weapons or drilling equipment, and so must use your trusty tractor beam to defend yourself. GO FOR THE KILL SCREEN!

Arrow keys move, pressing and holding Z activates your tractor beam. The beam is auto targeting and will grab the nearest enemy. While the beam is on, it is locked at a specific length.

Technical notes: This was made using the following libraries: Box2d, OpenGL, SDL, SDL_image, and SDL_mixer. It was compiled on a Mac using XCode for the Mac version, and compiled on a Mac using a mingw port of g++ for the Windows version. I have included the original source and the updated source for the PC port. The only difference is that I changed the c files specifically to cpp files (I was compiling them as such in the Xcode project but I didn't want the hassle when dealing with g++) and changed the mix channels to 2 (4 was causing a crash for some reason)). I have included the Windows makefile but I don't even know where to get that mingw toolchain anymore, so I can't really provide support there, however, if you want to compile it for windows on a windows machine, I can probably help you get set up. If you get the game compiling, and it doesn't work when you try to run it, remember it requires some game assets that are available in the game zip file. Also remember it requires SDL, SDL_image, and SDL_mixer, so you may need to install the runtime libraries or include them in the app file (Mac) or the project directory (Windows).

(Dev notes: Procrastinated too much, especially considering that I decided mid-development to try implementing Box2d for the first time. It was actually very easy to add and use but it cost me time. I still like the game, and I hope you all do too, but I wish I had more enemy types. And yes, the game has a kill screen, and crashes nicely if you reach it. I haven't pulled it off yet because I get too greedy in the game and have too much fun spinning enemies around.)

Downloads and Links




L says ...
Aug 23, 2010 @ 12:43am

It's kind of unfortunate that if you never use the beam, the obstacles pose no threat at all and the game becomes trivial.

timgarbos says ...
Aug 23, 2010 @ 6:16am

It can't be played on anything but OS/X?

drakfyre says ...
Aug 23, 2010 @ 10:18am

If you never use the beam you'll never get any points. (Okay, you'll get a few when enemies start spawning on top of eachother, but you won't beat someone who is actively using the tractor beam to kill enemies). And yeah, I haven't gotten my PC port working yet. I will be doing that tonight after work.

drakfyre says ...
Aug 23, 2010 @ 7:23pm

Windows version is now available!

ChainedLupine says ...
Aug 24, 2010 @ 2:41am

I like how you can either use the captured enemies as rams, or sling them into each other.

Covenant says ...
Aug 24, 2010 @ 12:20pm

Nice one... it's indeed fun to spin them around... :D

Surrealix says ...
Aug 25, 2010 @ 3:26am

10k points!

It's a fun concept, and very satisfying spinning a box around and knocking all the rest out of the way.

I think it would have benefited from mouse control, it was hard getting the ship to move in the right way to start the box spinning.

The highpitched 'ping' sound when the boxes died was very satisfying.

Hempuli says ...
Aug 25, 2010 @ 6:53am

I found it a bit hard to grasp the way the tractor beam worked. The engine was rather solid, though.

Dslayer27 says ...
Aug 27, 2010 @ 10:06pm

nice, I begun to use the enemies as wrecking balls lol and got some good chain reactions

Spooner says ...
Aug 28, 2010 @ 6:51am

Why were tribes of cats living on the asteroids? They made a horribly heart-twanging sound as they were thrown off their homes into space (Simple graphics + fine sound effects + too much imagination).

As someone said, there wasn't an actual challenge, but it was fun to swing and fire asteroids around. Not sure if you got a huge bonus for sling-shotting, but there should have been (I could only hit things while swinging). Some flying saucers with lasers might have improved the experience and given more incentive to grab an asteroid.

I would have preferred a larger window with pixellated graphics, but it was surprisingly playable in spite of that.

HybridMind says ...
Sep 3, 2010 @ 4:51pm

Fun concept. Gets boring too fast since the enemies don't end up doing much after awhile. I played till like 5k points to see but they don't start moving or have any new ones appear.

Really like the physics in this one though and it is cool to get an enemy swinging around like a psycho morning star.

Would be fun if developed further.

You must sign in to comment.

[cache: storing page]