A light RTS game themed with penguins
Take command of your army of penguins as you blaze your path to victory!
March through snow-laden forests to conqueror new frontiers and grow your small army. Ambush enemy lines with blasts of freezing snowballs. But don't neglect your home, invaders are just over the next snow drift! Gather fish for your cold penguins to munch on as they warm up in your cozy igloo.
It's a snowy world you don't want to miss!
License: free
Requirements: Python 2.4
pygame
Rabbyt
PyOpenGL
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | yes | yes | yes | yes |
Submitted by joey101 on 2006-11-03.

I was a little confused about what to do. I couldn't get my penguins to do anything. I figured out that I could X or un-X resource areas, but still my penguins wouldn't do anything. I trained a single worker (couldn't train any more) and it went off to slowly get me some ice.
For the next release (alpha 2) I will be rewriting the unit AI and how it works. Right now there are quite a few problems with how they act. The current unit AI is just hacked together.
The AI player is very basic (it was hacked together too). It's on the large TODO list as well.
took me a bit to figure out what the little red X's by the resources meant (as that's not in the readme).
Also a short explaination about what the different buildings do and how resource collection and usage works would be nice.
Problems allocating workers to build buildings though. And also it seems idle workers, remain idle even if the assigned to work.
When a small team is doing both design and implementation to no particular timeline, an iterative approach works just fine.
It may be 'less efficient' but that only matters if you're in a hurry - and I'm sure the way you're doing it is a lot more fun!
================================== Traceback (most recent call last): File "./snowballz.py", line 4, in from player import Player File "/home/bas/Desktop/snowballz/snowballz-0.9/player.py", line 2, in import ai File "/home/bas/Desktop/snowballz/snowballz-0.9/ai.py", line 2, in import data File "/home/bas/Desktop/snowballz/snowballz-0.9/data.py", line 2, in import textures File "/home/bas/Desktop/snowballz/snowballz-0.9/textures.py", line 5, in class Texture: File "/home/bas/Desktop/snowballz/snowballz-0.9/textures.py", line 17, in Texture def __init__(self, image, scale_format="nearest", internal_format=GL_COMPRESSED_RGBA): NameError: name 'GL_COMPRESSED_RGBA' is not defined ==================================
OS: Ubuntu 7(Feisty Fawn)
What am I doing wrong??...
Anyway, just replace 'GL_COMPRESSED_RGBA' with 'GL_RGBA' instead and it should run fine. MWM
THX for the help mmarshall... (Installed version : PyOpenGL 2.0.1.09)
I replaced 'GL_COMPRESSED_RGBA' with 'GL_RGBA' and now the game runs...
BUT... when I try to start a single player game in the main menu... I get kicked out again and I get the error...:
"Traceback (most recent call last): File "snowballz.py", line 787, in glHint(GL_TEXTURE_COMPRESSION_HINT, GL_FASTEST) NameError: name 'GL_TEXTURE_COMPRESSION_HINT' is not defined"
Am I missing a module somewhere or somthing??... can I replace 'GL_TEXTURE_COMPRESSION_HINT' with something else again??... :P
THX a lot for the help...
The normal "sudo easy_install PyOpenGL" did tell me latesed version installed : "Best match: PyOpenGL 2.0.1.09"...
Just played a bit around with easy_install and tried: "sudo easy_install -U PyOpenGL" (-U = force update) and then easy intall installed "PyOpenGL 3.0.0a6"... and now snowbalzz runs fine!!
THX for the help...
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default Traceback (most recent call last): File "snowballz.py", line 753, in vw,vh = viewport = settings.get_res() File "/home/kevin/Desktop/snowballz-0.9/settings.py", line 22, in get_res qm = config.get('display','resolution') File "/usr/lib64/python2.5/ConfigParser.py", line 520, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'resolution' in section: 'display'
I've tried installing all the other requirements, but to no avail. There is one possibility that I can think of, I've got Python 2.5, not 2.4, anyone know if that would be a problem?
In your .settings.ini file in your home dir you just need to add the option.
under [display] add this line:
resolution = 1
and that will fix it.
So sorry for the problems!
Traceback (most recent call last): File "snowballz.py", line 796, in main.lobby(mapname) File "snowballz.py", line 45, in lobby self.load_data(self.mapname) File "snowballz.py", line 270, in load_data data.init(mapname) File "/home/kevin/Desktop/snowballz-0.9/data.py", line 303, in init chat_font = glFreeType.Font("data/TSCu_Comic.ttf", 20) File "/home/kevin/Desktop/snowballz-0.9/glFreeType.py", line 224, in __init__ make_dlist (ft, i, self.m_list_base, self.textures); File "/home/kevin/Desktop/snowballz-0.9/glFreeType.py", line 49, in make_dlist glyph = ft.getmask (chr (ch)) File "/usr/local/lib64/python2.5/site-packages/PIL/ImageFont.py", line 133, in getmask return self.getmask2(text, mode)[0] File "/usr/local/lib64/python2.5/site-packages/PIL/ImageFont.py", line 137, in getmask2 im = fill("L", size, 0) TypeError: argument 2 must be 2-item sequence, not intFile "./snowballz.py", line 32, in ?
import glFreeType
ImportError: No module named glFreeType
Also, I've made a Gentoo Linux ebuild for snowballz and rabbyt. Both of them can be found here:
http://roslin.kicks-ass.net/download/gentoo/overlay/dev-python/rabbyt/ and here: http://roslin.kicks-ass.net/download/gentoo/overlay/games-strategy/snowballz/
And following depends-version are installed on my system:
dev-lang/python-2.4.4-r5
dev-python/pygame-1.7.1
dev-python/numeric-23.7
dev-python/rabbyt-0.7
Also, I have old depend of imaging (aka PIL):
dev-python/imaging-1.1.5 (tried with and without this)
I get this error as well on Ubuntu Feisty. Any workarounds?
So sorry!
I am running Gentoo linux (python-2.4.4-r4), I also am using dual screen using nvidias twin view. The game starts and gives me a menu (right in the middle of my screens) I then tried to start a map and this crash happened.
BTW, please email me bug reports instead of posting them here.
Right now it's mainly fun for multi player. Single player is fun but not for real long (IMO). We are working on making it have more reply value for single play by planning a campaign, but that may be a little ways down the road still.
If it doesn't exist, how can you see it and thus comment on it?
That's a different Anonymous...
I'm getting happier with the new paradigm of Free games. Instead of rehashing another FPS or cloning an existing game, Snowballz creates a fun experience for anyone.
It's not perfect. Sound would help a lot. The backgrounds for static screens are primitive. Penguins often don't go exactly where I send them, avoiding powerups I'd like them to pick up. It needs a good manual. And of course, they're taking newer versions (after 0.9.5.1) to closed-source.
However, its imperfections should not overshadow its major redeeming point: it's a fun game. It's good snowball-throwing fun that's appropriate even for the younger members of the family. Networked, easy to understand, and generally enjoyable.
Set a game up on your LAN for your whole family today!
But sense it's here I would like to let you all know that I packaged it for linux - DON'T DOWNLOAD THE SOURCE! It probably won't run for you. So go to the snowballz home page to see a link to get the binaries.