Swear (151)

1 Name: !WAHa.06x36 : 2005-11-03 16:38 ID:4ECwyo7f (Image: 495x495 png, 43 kb) [Del]

src/1131061133777.png: 495x495, 43 kb

And now for something completely different: Swear is a game I wrote a long time ago (the original version ran on the Amiga!). I never got around to doing a proper release of it, although it was pretty much finished (there might be a bug or two left in, though). But now that I have this fancy site and everything, I figured I might as well try and do a release of it. It's multi-platform, using the Allegro library. You can download it here:

Mac OS X: http://wakaba.c3.cx/releases/mac/Swear.zip
Windows: http://wakaba.c3.cx/releases/other/Swear_win.zip
Source: http://wakaba.c3.cx/releases/other/Swear_src.zip

Theoretically, it should compile on Linux computers too, if they have the Allegro library installed, and you run make os=unix. However, this is largely untested.

As for the game itself, it's the old classic worm game, played in non-euclidean space. That is to say, it is played on the surface of various three-dimensional shapes. It's a pretty simplistic game, and it's old enough to use no hardware acceleration of any kind, so performance may vary (on my Mac, it's leaves something to be desired). There are a lot of tweaking options to play with, though. There's also a feature to merge highscore lists, and I might post mine later if someone wants to try and beat it.

Realistically speaking, I probably won't do much development on this from here on out. If you want to report bugs, go ahead, but there's no guarantee that I'll do anything about them. If you want to take the source and run with it, go right ahead. An obvious thing to do would be to change it to use OpenGL under SDL instead of Allegro, for fancier and faster graphics.

Above all else, have fun!

102 Name: Anonymous : 2008-10-17 17:47 ID:eUiPI9Zb [Del]

I don't suppose you would be willing to port this to iPhone/iPod touch? I know it would garner lots of eyeballs--not that many games on the App Store are that fun--, but it looks like it would require a complete rewrite.

103 Name: Dax : 2008-10-18 11:32 ID:jXNRztb8 [Del]

Please more levels :)
Maybe something like this:
http://www.gomboc.eu/site.php ;
http://www.gomboc.eu/site.php?inc=0&menuId=8 ,
Metacage 2,or hollow sphere with some small perforations? :)

104 Name: Dax : 2008-10-18 11:35 ID:jXNRztb8 [Del]

Please more levels :)
Maybe something like this:
http://www.gomboc.eu/site.php ;
http://www.gomboc.eu/site.php?inc=0&menuId=8 ,
Metacage 2,or hollow sphere with some small perforations? :)

105 Name: !WAHa.06x36 : 2008-10-19 13:48 ID:RSKjZYuU [Del]


For the low, low price of buying me an iPhone, I can deliver an iPhone version!

106 Name: !WAHa.06x36 : 2008-10-19 13:51 ID:Heaven [Del]


Funnily enough, http://wakaba.c3.cx/s/lotsablankers/lotsaglass.html uses almost exactly the same method mentioned in that last link.

107 Name: Anonymous : 2008-12-19 14:34 ID:Heaven [Del]

Just thought I'd comment on this game, it's amazing! I think I'll be keeping this one around forever. Thanks for it!

108 Name: Nilpferd : 2009-01-05 12:31 ID:yMRa74mu [Del]

Oooh should be made for iPod touch app sehr gut!

109 Name: Truckosaurus : 2009-01-18 19:02 ID:MaXGzHPp [Del]

Amazing game, I've been playing in the Klein bottle and... it made me realize how lousy my spatial vision is.

Anyway, this game is great in every detail: the evolution of the classic snake concept, the graphics, options, levels, the overall awesomeness factor... thank you so much for developing it.

But, if I had to point out an imperfection, it would be the application ICON. In my humble opinion, it doesn't do any justice to the stunning look of the game. If you know what I mean, there are lots of people out there who "judge books by their covers", and the corollary of that is that they also judge free games by their icons. I hope that you'll change the icon to reflect the graphic goodness of this game.

Bye, and I hope I didn't offend you in any way, my intention is good.

110 Name: HTYT : 2009-06-02 08:31 ID:57epNHth [Del]

it's like a wireframe version of snake. and very addictive!

111 Name: Boki : 2009-07-03 21:13 ID:ghF6acTE [Del]

This is one cool game! It's really fun to play! It may have been initially inspired by the classic worm game, but with the hunt mode on, it is an entirely different experience, nothing like the classic worm game!

Would it be possible to add a full screen menu option (Command+F)?

Also, a head/mouth for the space worm would make the character more interesting/believable.

What about anti-aliasing? I know, with the spinning action the game doesn't really need it, but the space worm does, as he is pixelated (when he turns).

The game also needs a Leopard sized icon.

112 Name: Boki : 2009-07-03 23:02 ID:ghF6acTE (Image: 0x0 icns, 358 kb) [Del]

And here's the Leopard-size icon! If you like it, download it and use it. Free to share, not to sell. The wireframe sphere is H3g3m0n's work, the icon is mine.

To replace the default icon for the game, (on Mac OS X) right click on the application and choose "Show Package Contents". Navigate into the Contents folder, then into the Resources folder. Copy and replace the swear.icns file. Done!

113 Name: Boki : 2009-07-03 23:20 ID:ghF6acTE [Del]

Whoops, that didn't work. Here:
Click "Download".

114 Name: Anonymous : 2009-09-24 21:54 ID:6y6cf1QG [Del]

how about if i buy you an ipod touch?

115 Post deleted by user.

116 Name: Ivan !MacOSuWib2 : 2009-10-15 20:39 ID:N2krxthL [Del]

wow, this is a fun and addicting game. nice!

117 Name: Gman : 2010-02-16 16:38 ID:dNjL4Aah [Del]

!WAHa.06x36, it freezes on windows when I go through the surface intersection in the bottle. Maybe this can tell you where the bug lays.

118 Post deleted by moderator.

119 Name: Anonymous : 2010-02-17 21:00 ID:Heaven [Del]

oh god i hope i forget seeing that before i go to bed tonight. i really don't want to know what kind of nightmares that could cause.

120 Name: Ned999 : 2010-03-16 12:05 ID:uhoL+Qsk [Del]

Very nice game! Simple concept, simple -but awesome- graphics, challenging levels, and minimal resources used.. i absolutely love this

121 Name: MM : 2010-06-01 10:49 ID:8NXhGQLX [Del]

I've been doing a little work on a cross-platform SDL version in some bits and scraps of spare time. I'm using the OpenGL code to render the game, of course. But from here, I don't know whether I should be porting the old menu code or just hacking together a new menu. What's the origin/license of this menu code? I couldn't immediately tell. If it's legally unencumbered, I might think about porting it. I've already thrown together a little class to let me render the fonts...

122 Name: !WAHa.06x36 : 2010-06-01 15:11 ID:Heaven [Del]


Everything should be as free as it gets.

123 Name: MM : 2010-06-14 00:05 ID:8NXhGQLX (Image: 637x475 png, 170 kb) [Del]

src/1276499107178.png: 637x475, 170 kb


Great. With that in mind, this weekend I started porting the menu code over to SDL/OpenGL. It's not a beautiful job, but it is starting to work. Can always clean it up later. :)

WIP shot shows the main menu pretty much drawing.

124 Name: !WAHa.06x36 : 2010-06-14 10:25 ID:Heaven [Del]



125 Name: dm : 2010-07-14 13:59 ID:jQHlgQnf [Del]

by playing this game every day i will become a super genius

126 Name: Dax : 2010-07-22 09:54 ID:sox6RDUD [Del]

Where to put our highscores?

127 Post deleted by user.

128 Post deleted by user.

129 Name: Fire17 : 2010-12-22 07:07 ID:2kmO1i3j [Del]

AWESOME GAME!!! THX !WAHa.06x36 !!!
a friend of mine showed me this game a few years ago and it came across my mind when I looked up snake games in itunes...
it took me forever!!! but I found it :D

also the last maps (trefoil knot, mobius strip & twist, and Keiln bottle) immediately freeze when I run them.
running Win7 64 bit
any ideas?... cause they seem like the coolest levels...

and if you make an iphone app of this... i will buy it :D

130 Name: Anonymous : 2010-12-23 10:53 ID:Heaven [Del]

> also the last maps (trefoil knot, mobius strip & twist, and Keiln bottle) immediately freeze when I run them.
> running Win7 64 bit
> any ideas?... cause they seem like the coolest levels...


131 Name: Anonymous : 2010-12-30 12:10 ID:l4fbZQ/5 [Del]

Don't forget that in order to build an iPad/iPod/iPhone app, you'll need XCode. And to run XCode you'll need at least a Mac Mini. On top of that, you'll need a $30 (IIRC) developer license if you want to release the game commercially (don't know if you need it if you're not a corporation).

Also, I got it to compile but it gives a guru meditation error. I'm using Bazaar btw, if I get it to work I'll upload it somewhere so you can merge it.

132 Name: Anonymous : 2010-12-30 12:19 ID:l4fbZQ/5 [Del]

I'm havig trouble fixing it, load_datafile in main.cpp:59 returns NULL.

133 Name: Anonymous : 2010-12-30 12:22 ID:l4fbZQ/5 [Del]

Lol, had to get it from the Windows zip. It works now, though I'm keen to know how you made that file.

134 Name: Anonymous : 2010-12-30 13:41 ID:l4fbZQ/5 [Del]

These are the minimal changes for i586:

<code>=== modified file 'creatures.h'
--- creatures.h 2010-12-30 19:58:42 +0000
+++ creatures.h 2010-12-30 20:04:37 +0000
@@ -65,7 +65,7 @@
void place();
void live();
void draw();
- bool skittler::collide(const vector &other,const vector &other_normal);
+ bool collide(const vector &other,const vector &other_normal);

worm *w;

=== modified file 'lib/goa/allegro/misc.cpp'
--- lib/goa/allegro/misc.cpp 2010-12-30 19:58:42 +0000
+++ lib/goa/allegro/misc.cpp 2010-12-30 20:02:54 +0000
@@ -38,7 +38,7 @@

-#ifndef OS_MACOSX
+#ifdef OS_WINDOWS

static LPTOP_LEVEL_EXCEPTION_FILTER prevExceptionFilter = NULL;</code>

135 Name: Anonymous : 2010-12-30 13:42 ID:l4fbZQ/5 [Del]

Oops, it got screwed up. But you get the idea ;)

136 Name: MM : 2011-07-26 00:46 ID:8NXhGQLX [Del]

Just put in an hour or so on the SDL port after not having had time to mess with it for quite a while. Here's a reasonably complete work in progress Windows OpenGL version.

137 Name: MM : 2011-07-26 00:48 ID:8NXhGQLX [Del]

138 Name: Anonymous : 2011-07-26 14:02 ID:Heaven [Del]

nice... the worm is a bit hard to see sometimes, tho. it makes it really hard to play on the klein bottle. are you going to publish the source code? if so, it might convince me to finally get around to getting a version of this working for nintendo ds...

139 Name: !WAHa.06x36 : 2011-07-28 13:30 ID:Heaven [Del]

I should probably link this in this thread, too:


140 Name: MM : 2011-07-28 18:31 ID:8NXhGQLX [Del]

Indeed. Really dig some of the new graphics modes, by the way!

Yeah. I think I may actually have messed up the blending modes a bit in the build in the zip file. My latest build changes that around a bit, adds ability to (partially) turn off antialiasing, and makes some of the line thickness selectable (so you can have a thick worm, for example). I'll be releasing the source at some point (or just making the repository public) if for no other reason than I'd like someone that isn't me to maintain a Debian package of it. :) It's kind of a mess, but such is life.

141 Name: MM : 2011-07-30 17:57 ID:8NXhGQLX (Image: 468x274 jpg, 44 kb) [Del]

src/1312073867168.jpg: 468x274, 44 kb

Incredibly buggy, but...

142 Name: Anonymous : 2011-08-05 14:46 ID:FpaX0hxg [Del]

now that's a game that could really take advantage of the 3d screen on my evo 3d!

143 Post deleted by moderator.

144 Post deleted by moderator.

145 Post deleted by moderator.

146 Name: Anonymous : 2011-08-25 15:22 ID:f9+weKSM [Del]

Man, this game is AWESOME! I know that you're not fixing bugs, but i just want to say that when i try 4d objects my game crashes. And btw, i have an amiga and im like oh my god! it's an amiga game!

147 Name: Anonymous : 2011-08-26 10:13 ID:f9+weKSM [Del]

Why is it called Swear?

148 Post deleted by moderator.

149 Name: Anonymous : 2011-12-21 19:42 ID:HXIN6Wg9 [Del]

Love It!

150 Name: Anonymous : 2013-01-28 19:18 ID:wgufy2yu [Del]

Such humble beginnings...

151 Name: Anonymous : 2013-03-05 11:16 ID:Mcvdenh2 [Del]

I still play this game. It's wonderful.

Name: Link:
Leave these fields empty (spam trap):
More options...