Snowballz Screenshot 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:
yesyesnoyesyesyesyes
Suggest an update

Comments

Looks great! Runs just fine on my system.

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.

Although the game does use up a lot of processor usage -- maybe this will improve in the future -- it has good potential. It's something like Globulation 2 only with penguins. AI needs a bit of work too, it's quite easy to kill them by redeploying war flags so that your penguins keep moving and thus avoiding snowballs while enemy penguins stay still and die.
Re: Good potential posted by joey101 on Nov 6 2006 9:56 AM
The game was influenced quite a bit from globulation2 (one of my all time favorite RTS games).
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.
cool,
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.
Looks good, runs fine on my machine.

Problems allocating workers to build buildings though. And also it seems idle workers, remain idle even if the assigned to work.

This seems like it could be a pretty good game. However, it does crash for me. seems to be related to building the training area building.
this just Rocks keep it a Live :D!!!
How cute are those penguins on a scale of 1 to 10
The idea that "Games should be planned then programmed" is a rule for factory-model software production. When one team is designing, another's coding and another is scheduling the pre-promotion and release it makes sense.

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!
I get this error when I try to run it (I ran "sudo python setup.py" install first): ./snowballz.py Traceback (most recent call last): File "./snowballz.py", line 4, in from player import Player File "/home/me/Desktop/snowballz-0.9/player.py", line 2, in import ai File "/home/me/Desktop/snowballz-0.9/ai.py", line 2, in import data File "/home/me/Desktop/snowballz-0.9/data.py", line 2, in import textures File "/home/me/Desktop/snowballz-0.9/textures.py", line 5, in class Texture: File "/home/me/Desktop/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 Gutsy Gibbon I believe I have Python 2.4, pygame, PyOpenGL, GooeyPy, Numeric, PIL installed, but maybe they're not well installed. What package could I be missing or what am I doing wrong?
Re: How can I install/run it? posted by anonymous on May 6 2007 5:05 AM
Same here... :(

================================== 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??...

Re: How can I install/run it? posted by anonymous on May 6 2007 4:04 PM
Same error for me too (I won't clog up the comments with it since its there twice now). I'm on Ubuntu 7.04 (feisty fawn). I think its something wrong with me not having PIL or something (the error is opening the textures)...is the package for it python-imaging or did I get mixed up?
Re: How can I install/run it? posted by mmarshall on May 7 2007 9:49 AM
Hmm, that GL_COMPRESSED_RGBA should be defined in PyOpenGL. Which version do you have?
Anyway, just replace 'GL_COMPRESSED_RGBA' with 'GL_RGBA' instead and it should run fine. MWM
Re: How can I install/run it? posted by anonymous on May 10 2007 10:48 AM
I solved the problem by doing this: sudo easy_install PyOpenGL
Re: How can I install/run it? posted by anonymous on May 11 2007 5:54 AM
Hello... me again... :P

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...
Re: How can I install/run it? posted by anonymous on May 11 2007 6:28 AM
Problem solved... XD

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...
I had the GL_COMPRESSED_RGBA problem, but after realizing that apparently the python-opengl package in my distro's(opensuse) repository was not the same as pyopengl, I installed that. This solved the GL_COMPRESSED_RGBA problem, but now I'm getting this:

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?

Re: Trouble running posted by joey101 on May 9 2007 12:41 PM
Ok, this is a bug I put in there that I should have tested for. It's trying to read a settings that doesn't exsist that should have been set.

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.
I fixed up the problems most of you are experincing. I reuploaded it. just download it again and it should all work!

So sorry for the problems!
This new version has fixed all of the previous problems I was having, and the game will start up now. However, whenever I try to actually start a game(either by hosting one, or by starting a singleplayer game), I crash to desktop, and here's what I have in console:

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 int

Re: Closer! posted by joey101 on May 10 2007 8:36 AM
This seems to be a problem with your PIL instalation. :/
Re: Closer! posted by lazy_bum on Oct 11 2007 9:53 PM
Traceback (most recent call last):
 File "./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)
Re: Closer! posted by lazy_bum on Oct 11 2007 9:54 PM
Oh, and my email returned to me. ):
Re: Closer! posted by anonymous on Oct 12 2007 1:34 AM
""" Traceback (most recent call last): File "./snowballz.py", line 32, in ? import glFreeType ImportError: No module named glFreeType """

I get this error as well on Ubuntu Feisty. Any workarounds?

Re: Closer! posted by joey101 on Oct 15 2007 4:32 PM
Yes, this is fixed in 0.9.5.1
So sorry!
Re: Closer! posted by anonymous on Oct 21 2007 8:48 AM
I have the same problem with version 0.9.5...
The game is fun, however there are a few things missing: -No victory trigger? I played the solo game and conquered all igloos, but the game still went on. -No music. :( -No control groups for the units? (I mean like ctrl+1,2,etc like in starcraft/warcraft) But other than that, great graphics and great animations! :) And no bugs so far.
$ python snowballz.py Traceback (most recent call last): File "snowballz.py", line 609, in ? main.lobby(mapname) File "snowballz.py", line 68, in lobby self.run() File "snowballz.py", line 192, in run self.run_loop() File "snowballz.py", line 199, in run_loop self.loop() File "snowballz.py", line 348, in loop display.draw(self, dt) File "/home/dkure/downloads/games/snowballz-0.9.3/display.py", line 75, in draw (data.view.y//32, data.view.y//32+vh//32+1)) File "/home/dkure/downloads/games/snowballz-0.9.3/terrain.py", line 73, in draw glTexCoordPointer(2, GL_FLOAT, 0, self.tex_data) OpenGL.GL.GLerror: [Errno 1282] invalid operation
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.
Re: Crashes while trying to open a map posted by joey101 on Jun 14 2007 12:53 PM
What version of pyopengl do you have?

BTW, please email me bug reports instead of posting them here.
Still missing a few game-play features (unit grouping), but overall a great looking game with nice graphics and great potential.
Snowballz will be entering the IGF and needs maps and powerups. Please email [email protected] for more information on this pyweek style competition.
i'm not at home right now so i can't download....but i'm just curious...is this like warcraft, but with penguins?
Re: Snowballz posted by joey101 on Oct 11 2007 11:00 PM
No, it is not like warcraft. There are already plenty of RTSs like warcraft
Re: Snowballz posted by uncle fester on Oct 12 2007 12:22 AM
So ... is it more like Myth, with penguins?
Re: Snowballz posted by joey101 on Oct 12 2007 3:13 AM
I'm happy to say it's really pretty unique. At least I have never seen another game quite like it. If anything it is more along the lines of antz. A simple light strategy game with more of a focus on tactics and small skirmishes. I really like the way it's turning out (to be honest I didn't plan it at all).

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.
I've lost count of how many Python-based applications I've tried that didn't run because they had a few requirements and they still wouldn't run after I donwloaded and installed all the requirements. And this one is not any different. Python applications suck like tornadoes. If only 10% of the hype this stupid syntax-nazi language keeps getting were true... It's Java and a hype machine all over again.
Re: Run for your life! Python required! posted by joey101 on Oct 12 2007 3:09 AM
If it weren't for python I can tell you right now that this game would not exist. If you don't like it please don't troll about it. Regardless, if you are on a debian based system you can install the deb package (do a google search). If you are not you can email me any problem you are having and I can help you. Ranting like that won't get you anywhere.
Re: Run for your life! Python required! posted by anonymous on Oct 12 2007 3:59 PM
Exactly because it is Python, this game still does NOT exist for me. Like so many others. Python-based apps are a mess. Get your act together, you lot developers of this lousy language.
Re: Run for your life! Python required! posted by joey101 on Oct 12 2007 4:21 PM
What language do you program in? Can I see something you have made? I'm sure it would rock and install on 100% of computers without a problem.

If it doesn't exist, how can you see it and thus comment on it?
Re: Run for your life! Python required! posted by anonymous on Oct 14 2007 1:43 PM
Python is one of the best languages If you still doesn't know, it is being used hardly by NASA and Google
Re: Run for your life! Python required! posted by joey101 on Oct 14 2007 4:08 PM
Really - go tell google their idiots for using python. And every one on http://www.python.org/about/success/ and every project on http://python.org/about/apps
Run for your life! Iditot in the house! posted by anonymous on Oct 13 2007 6:15 AM
I've lost count of how many statements I've seen that are absolutely worthless because they make completely unsubstantiated general statements and they still act like an hero after I ask them to improve their claims. And this one is not any different. Generalizations suck like tornadoes. If only 10% of their senseless ad hominem filled claim were true... It's prosannetry and a gorralzud all over again.
Re: Run for your life! Iditot in the hou posted by joey101 on Oct 13 2007 2:58 PM
You are talking in circles again. And you still haven't proven what you can do with programming.
Re: Run for your life! Iditot in the hou posted by parasti on Oct 13 2007 4:17 PM

That's a different Anonymous...

Re: Run for your life! Iditot in the hou posted by anonymous on Oct 14 2007 2:58 AM
I was mocking the original poster. You'll find that I used his comment structure. You'll find that he uses completely irrelevant claims, you'll find that he was vague, you'll find that he used useless emotive language and he doesn't even structure his sentences in a way that makes sense. Normally, I'd post a suggestion that could help him but I found it more irresistible to mock the comment instead. It would have been fine with me if he had worded his objection more eloquently.
Re: Run for your life! Iditot in the hou posted by joey101 on Oct 14 2007 6:36 AM
Oh, I'm sorry! No wonder that post didn't make much sense to me. So sorry!
I forgot to take out an import in the main file for a file that I removed. (mr. trolll, this probably was you problem if you even tried to run it). I still had the .pyc file in my directory so it still ran. I re-uploaded it so it should be all fixed.

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!

I don't know who submitted this update :P

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.

Log in or register to rate this game or post a comment.