Hacker News new | past | comments | ask | show | jobs | submit login
Teeworlds for Mac, Windows, and Linux (teeworlds.com)
130 points by dyscrete on Jan 11, 2014 | hide | past | web | favorite | 45 comments

What I appreciate -- and I realize this is a bit more meta than about the game itself -- is that when it says "for Linux", it really means "for Linux" and not "for some specific versions of Ubuntu and maybe a 32-bit Red Hat thrown in for good measure".

The game is actually in the package manager for my distro, but just for fun I downloaded the binary off the site. I ran it. It worked.

That's an amazing technical achievement that many cross-platform games today (even the commercial ones) have not managed to attain.

Massive props.

The thing is, there's really is no such thing as a generic "for Linux". It's not just a matter of packaging systems, although that's a factor too. If it's anything nontrivial, it'll be linked against certain versions of certain libraries, and which libraries and which versions it depends on will prevent it from running (out of the box, at least) on distros which don't have those versions of those libraries.

I didn't look at the binary, but another commenter implied that it achieved this portability via static linking. This does get rid of a lot of the dependency issues that might cause problems, but it's not a solution either. You do not want everything to be statically linked, that would be a nightmare.

"You do not want everything to be statically linked, that would be a nightmare."

For a desktop system, you really do. The space and storage drawbacks are history with modern systems; the only remaining issue is that a user has to wait for the developer of their application to release a new version to get security updates, and that's not nearly as much an issue for a desktop system, where a user can just choose not to use software that's not updated promptly.

So you don't mind downloading a gigabyte of updated packages every time libc is updated?


What makes it a technical achievement is that in order for static linking to be viable, the packager has to be very aware of dependencies and library ecosystems. The developers will also need to consciously constrain their design choices to ensure that the surface area of their package is small enough to deploy reasonably.

[nathan@ebisu ~/opt/teeworlds] du -h . 9.7M .

That seems pretty impressive to me.

Reminds me of Heroes of Newerth back in closed beta and early launch. The game would run on any platform - Linux, Windows or Mac. Everything worked out of the box 100% properly.

It's a shame that the game lost the MoBA wars since their client was and still is the best one out there.

Agreed - HoN has the absolute best game mechanics in the MOBA world (and arguably the best heroes selection, although I miss some original ones like PL or PA). What makes them slowly fall into irrelevancy is the quality of S2 and their developers. While Dota 2 and LoL kept innovating, the differences between HoN and the beta that came about 3 years ago are relatively minor. 95% of their (painful, btw) updates are new hero skins. They added a lot of shit in their quest of making money off it (started as pay-once, then shifted to premium model, now they just sell vanity stuff) while ignoring basic bugs (e.g. the reconnect bug, untouched since the beginning). And, most annoying of all, it runs infuriatingly badly on OSX, for some reason. The game drives any system I run it on close to 100% CPU for some reason. My bitterness aside, the game mechanics are perfect, so chapeau for that.

Source: MOBA player for 7-8 years, including Dota, Dota 2, LoL, Demigod, and obviously HoN

HoN was a good stopgap between Dota and Dota 2 - the engine was smooth and in the early days when they still worked with Icefrog the balance wasn't even too bad.

But I really think D2 outshines it in every way possible, mechanics, engine, art, balance, valve didn't sell my email to spammers, etc.

I like both Dota 2 and HoN, but HoN definitely has the upper hand with regards to fast-pace twitch-based gameplay. The first thing a HoN player notices when trying out Dota 2 for the first time is that input delay.

Supposedly part of the problem is that Dota 2 uses the Source engine with netcode designed for FPS games; hence it does prediction and interpolation which works well for those games but not as well for RTS games. For more info: http://pastebin.com/ekk07PKn

> an amazing technical achievement

static linking?

whatever be the technology, it really was surprising that it just worked when I double clicked on the binary just after extracting! That is some user experience not quite associated with games on Linux based distros

This was fun! Anyone else feel this is kind of a real-time Worms 2D?

Wonderful to see "Download for Linux" on the frontpage, even better to see it's available in the Arch repos.

Where is the donation button, though?

Yeah it does look like RT Worms 2D but I think the real first game of this genre was Liero http://www.liero.be/ Pixelated but fast and responsive as console games (ex SNES). I have spent countless hours in the past playing Liero with my brother on the same monitor sharing a keyboard. Fun times :)

There's also an open source Liero: http://www.openlierox.net/

Thanks for mentioning that game! :) (I'm one of the core developers, from our small team of mainly 3 devs, where all of us are currently busy with other things.)

A while ago, I also added support to load TeeWorlds levels. Also, Gusanos level/scripting support was added. (Gusanos was another Liero-clone.)

After all, the concept of TeeWorlds and OpenLieroX aren't too different, except that TW is played with mouse and OLX purely with keyboard. Also, the rope is much longer in OLX and there is destructible terrain.

OpenLieroX is not Liero. There is an open source Liero on the site (I'd suggest https://gitorious.org/lierolibre at the moment).

Liero is distinct though in that it's balanced for 1v1. This creates tremendous differences in terms of the cat-and-mouse mechanics, the long reload times, the tricks to digging and covering your exit.

Once you switch to a deathmatch-style, the time-intensive mechanics of cat-and-mouse fall apart because DM requires you aggressively chase the next kill above all else. This makes them very different games.

Would that still work in modern keyboards without N-key rollover?

Yes. Sometimes, laptops with crappy keyboards have issues, but a standard keyboard should work just fine if the right player uses CTRL, SHIFT, ENTER and the arrow keys (those are usually connected with an extra wire, increasing the possible amount of keys pressed simultaneously.) Of course, it depends on the keyboard, I'm sure you can find one that's particularly bad and doesn't work well.

We removed the donation button because we don't really have any running costs to cover.

Oooh! Nice to see this on HN! If anyone has played soldat, this is a neat free alternative and one of the more polished opensource games today.

I didn't think it was open source though? According to wikipedia it's shareware, with further features opened up upon registration?

Regardless, it is a great game!

It doesn't have a nice prominent GitHub link, but source is available:


I was responding to the parent comment, who referred to Soldat as being open source.

EDIT: though I've now realised that my reading comprehension is really lacking - he was referring to teeworlds, my bad!


"Teeworlds is a free, open source sidescrolling multiplayer-only shooting game. ... In December 2007, the source code was made available to the public under the terms of the zlib License."


Gosh I miss playing soldat. So much fun back in the day.

Agreed. Every now and then I think about making an in-browser port.

Hey look, its not even in the AUR, its in the official Arch repos: https://www.archlinux.org/packages/community/x86_64/teeworld...

There should a short demo/how to play when you start. When it starts up, you're on a map with enemies swarming around and all you can figure to do is move the target with the mouse and click to fire. After being stuck in one spot and firing at the walls, you discover a right click sends out a grapple and that seems the only way to move. Arrow keys do nothing, jikl; does nothing, shift brings up a goofy context menu.

Then you make your way into settings and figure out the other buttons. A and D are the default move buttons.

Playing this on a laptop with a trackpad was an exercise in frustration. Once I eventually figured out where the controls were, I remapped movements and firing to keyboard, but it seems you can't aim without a mouse. You find yourself walking backwards and pointing your gun in the opposite direction.

At least now that I tried playing with the laptop, once I get home and have a computer with a trackball, it might work out better.

There are a lot of game types, but the easiest is probably DM (death match). That is what I played when I first started. CTF (capture the flag) is also kind of easy for beginners. If you are just starting out, pick a server with low ping, and at least 4 players.

An important feature is jumping (I forgot the default key for this but I think it's spacebar). Also, when you use the grapple, make sure you don't hook your teammates, because that is annoying as hell.

I can't play for shit with a trackpad but some people can. I just use a USB mouse. Teeworlds is strangely addicting.

Here is a similar game: http://www.hedgewars.org/

No, that is a clone of Worms. This is a clone of Leiro which seems to also have an open source exact-clone: http://www.liero.be/.

The gameplay is totally different.

Can't hurt to mention Hedgewars as another really good open source game, though.

To point out the difference: Hedgewars/Worms is played turn-based, TeeWorlds/Liero/OpenLieroX is played real-time.

It plays very differently. Otherwise, they contain similar elements (destructible terrain, worms, ropes).

I remember playing this a long long time ago. Cross-platform is the news? Pretty awesome game though. Movement mechanics is one of the best for 2d multiplayer shooter games.

Love the game, but i hate that i can't play with with my laptop, i always need a mouse :(

This has become our go-to game for after work gaming/drinking sessions. It's very accessible to download in 5 minutes and start playing right away.

Downloads are super slow (THANKS, HN), anyone know if there are any mirrors up?

Thanks for the hint. I moved the files to another host, check the site again.

I've played this game a few times and it's quite fun.

Looks like a mix of Quake and Liero. Sweet.

Reminds me of xpilot back in the days.

My first thought was 'oh, hey, this looks a lot like xevil'.

Upvoted for cross-OS development done right.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact