April 2007 challenge: “The only way is up”

Fluffy Menace - ADMIN: theme voting has started

Posted by richard on 2007/03/25 00:01

Access the poll in the sidebar or click on this link. The themes to choose from are:
  • The only way is up
  • Underneath the radar
  • One way or another
  • Don't stop till you get enough
  • The final countdown
This poll runs from now until the start of the challenge, 00:00 UTC on Sunday the 1st of April. See the rules page for details about how the voting works.

Add a comment

Fluffy Menace - ADMIN: How to package your game

Posted by richard on 2007/03/24 22:30

Owing to some historically terribly packaged games, I've created a "game skeleton" that all entries must download and use as the basis for packaging their game. Please find the "skellington" in the help page section on how to submit your entry.

My reasoning for requiring the use of the skellington is pretty simple: users downloading the games will have an entirely predictable method of invoking the games. No guesswork, no pain.

And I figure that's pretty darned important.

26 comments

Fluffy Menace - Fydo's Warm-up Entry: Pillows

Posted by fydo on 2007/03/24 09:16

Hello! Here is my obviously late entry for the pyweek warm-up. I had such a hectic week at work, I only had about 2 or 3 evenings to work on my entry.

I was planning on making a high-score screen, but I figured my entry was late enough as it is.

Download: fydo-pillows.zip

Enjoy! (and tell me if you run into any bugs)

5 comments

Welcome to World Corporation - Comments on warm-up games

Posted by Tee on 2007/03/24 03:11

Hey all,

First, a quick introduction about myself. Pyweek 1, didn't finish a game, pyweek 2, finished an incomplete game (= no polish), pyweek 3, missed it entirely, so I'm back here on pyweek 4. :)

Pyweek is just an excuse for me to spare some time and create a game, I don't intend to win or anything. :P

Anyway, I was working on a warm-up game, but I kinda dropped it, because it wasn't looking good and didn't have the time to finish it. Maybe I'll continue it but I'm not sure about it.

So, I decided to comment a bit on each warm-up game submitted.


--

saluk: one_0.2

At first try, it was stopping at loading the font. I think I'm missing Arial (I'm on Linux, Ubuntu 6.10). Switched it to pygame.font.get_default_font() and it worked.

It's nice for some quick fun, and I liked the idea of using 1 second for the theme. The 3 2 1 annoys me a bit, though, and sometimes I lost because I collided, yet I wasn't close enough (but, yes, doing a nicer collision can be annoying :)).


Hectigo: One is Enough.

It was complaining about not finding the modules when I tried running run_game.py, so I had to run main.py directly with a few modifications. Also, just to let you know, I'm getting some deprecation warnings during the game:
/tmp/one is enough/bin/bank.py:26: DeprecationWarning: integer argument expected, got float
  scaledimage = pygame.transform.scale(self.image, (self.rect.width, self.height))

I wasn't able to figure out a few things. What's the difference between the red bar and the yellow bar? And what does sending a ball to labour camp do aside giving you points?

I keep losing, but, then again, I lose everywhere. :) I started holding down Z to always regenerate faster and I did a bit better, but eventually lost. (Really, I can't beat this game. Gah.)

The visuals are simple, but I like them. I would like the game more if I could just figure out a winning strategy, but I enjoy a good challenge anyway. :)


JDruid: Sticky Bomb

I like the music (though I prefer your other music from Funny Boat from Pyweek 2), and I think the idea is original and good. Catching bombs in the air and throwing them far away (or not, see below) was fun.

More than a few times, I forgot bombs bounced on edges and tried to throw them off screen. The result was the same as, um, throwing a grenade at a wall. :)


RB[0]: Balloon Ballistics

Strange error when trying to start a game from the main menu. Anyone help? I can't figure it out.

Traceback (most recent call last):
  File "BB.py", line 504, in ?
    main()
  File "BB.py", line 484, in main
    cur = play("level1.txt")
  File "BB.py", line 57, in play
    level_type(onlevel)
  File "BB.py", line 253, in level_type
    level_data=load_level.load_dict(os.path.join("levels",on_level))
  File "LIB/load_level.py", line 34, in load_dict
    a = load(f)
  File "LIB/load_level.py", line 25, in load
    exec(f)
  File "", line 1
    mode="get_to_1"
                   ^
SyntaxError: invalid syntax


eugman's incomplete game

Well, if you think it's going to be fun, then I think you should complete it. I can't say much because just by playing it I have no idea what it is. :P

--

(Ugh. I vote on having a larger text box here on Add Diary Entry. :P How do I avoid having to write all linebreaks?)

Am I missing any game?

15 comments

Team Quicksilver - Balloon Ballistics

Posted by RB[0] on 2007/03/23 20:11

Well, it looks like my pre-game does have some bugs :/

I thought I had them fixed, but I accidentally "undid" them :P
Oh well.

I'm planning on continuing this project, and getting a proper sourceforge page up soon :)

Any suggestions would be welcome :D

1 comment

Hectic Game Development - Attack of the communist balls

Posted by Hectigo on 2007/03/22 20:45

Pekuja's warmup compo seems to have become quite popular, and my entry is probably as finished as it's going to be before the deadline. I might add fancy stuff like menus and high scores later, but for now I'm quite happy with what I've been able to scrape together in a few days. Let's hope I'll make an even better game during the actual pyweek!

The epic struggle between communist and capitalist balls can be found at http://www.hectigo.net/puskutraktori/one.html

3 comments

Gizmo - Help Admin..

Posted by gizmo_thunder on 2007/03/22 08:35

Hi, I created two entries by accident how do i remove them? I tried removing myself from the team but there is some server error. Thank you

1 comment

Dr Conrad B. Hart and Associates - OpenGL light test

Posted by simonwittber on 2007/03/21 13:31

Free Image Hosting at www.ImageShack.us
I'm having trouble with OpenGL lighting, and want to determing if its a driver problem, or a code problem. I had this same problem in the last pyweek too... Could any willing volunteers please run the below code, and tell me if they get a flat shaded or a lit sphere? In the attached screenshot, you can see that there is clearly no lighting effects happening... If anyone can tell me what I'm doing wrong, I'd appreciate the help...
#!/usr/bin/python2.5
import pygame
from pygame.locals import *
from OpenGL.GL import *
from OpenGL.GLU import *

        
def main():
    pygame.display.set_mode((1024,768), DOUBLEBUF|OPENGL)

    #GL Setup
    glShadeModel(GL_SMOOTH)
    glEnable(GL_DEPTH_TEST)
    glDepthFunc(GL_LEQUAL)
    glClearDepth(1.0)

    #Viewport Setup
    glViewport(0, 0, 1024, 768)
    glMatrixMode(GL_PROJECTION)
    glLoadIdentity()
    gluPerspective(45.0, 1024.0/768, 0.1, 100)
    glMatrixMode(GL_MODELVIEW)
    glLoadIdentity()

    #sphere setup
    q = gluNewQuadric()
    glFrontFace(GL_CCW)
    gluQuadricTexture(q, GL_TRUE)
    gluQuadricNormals(q, GLU_FLAT)
    gluQuadricOrientation(q, GLU_OUTSIDE)

    #lighting setup
    glEnable(GL_LIGHTING)
    glEnable(GL_LIGHT1)
    glLightfv(GL_LIGHT1, GL_AMBIENT, (0.0, 0.0, 0.0, 1.0))
    glLightfv(GL_LIGHT1, GL_DIFFUSE, (1.0, 1.0, 1.0, 1.0))
    glLightfv(GL_LIGHT1, GL_SPECULAR, (1.0, 1.0, 1.0, 1.0))
    glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, (1.0, 1.0, 1.0, 1.0))
    glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, (0.0, 0.0, 0.0, 1.0))
    glEnable(GL_COLOR_MATERIAL)
    glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE)
    glLightfv(GL_LIGHT1, GL_POSITION, (0.0, 0.0, 0.0))

    while True:
        glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)
        glLoadIdentity()
        glTranslatef(0.0, -1.0, -5.0)
        gluSphere(q, 1.0, 32, 32)

        pygame.display.flip()
        for event in pygame.event.get():
            if event.type in (QUIT, KEYDOWN):
                return

if __name__ == "__main__":
    main()


5 comments

The Olde Battleaxe 4 - pgu - bug fixes

Posted by philhassey on 2007/03/21 02:19

Hey,

I haven't released a new update of pgu in ages, but there are a handful of minor bug fixes in svn:

svn://www.imitationpickles.org/pgu/trunk

There is a bug in it that makes it not work with python 2.5 while using tilevid, etc. If you plan on using tilevid .. if you have a moment, please send me a patch. (The bug is, I use the keyword "as" as a variable. Easy to fix, but I'm pretty busy right now!) And I can put it in for you.

Thanks! Phil

1 comment

Phoenix is the cuttest Kitty in the world! - Newbe Question

Posted by ripter on 2007/03/20 20:43

I'm not sure on whats allowed or not allowed. Are things in the pygame.com/library allowed? (like Isotope or phu)?

1 comment