Austria Game Jam 2010

2010/02/01

austriagamejam.mira-markus-raff-teresa-plakate

I can proudly report that 4 of my students of participated at the Austria Game Jam (and therefore at the global game jam). One project – called monkeydoner was submitted during 48 hours, consisting of 3 little games. All programmed with python / pygame using Ubuntu Linux.

One of the sub-games was inspired from an example out of the pythongamebook.

The Austria Game Jam helped me to see other programmers (some also using python/pygame) working with incredible speed and talent. I got valuable input for my pythongamebok.

Sadly i found no time to submit a game myself or become useful for the team i joined, because i was too busy helping out the team of my students.

pictures and a video can be found at my blog entry in German language or here:

pictures:

video:


First public reading from The Python Game Book

2010/01/23

Vienna, 17. Feb. 2010: The first public reading directly from The Python Game Book took place during my talk about programming with Pygame at a meeting of the PYUGAT (Python User Group Austria) in Vienna’s famous hackerspace, the Metalab.

My speech was more about practical programming than about The Python Game Book itself, and i concentrated on part2: 2D programming with pygame.

Thanks to the new download-code-direct-from-wiki-feature of Dokuwiki my workload for updating code snippets dropped dramatically…

catch the thief game from The Python Game Book (part2, step13)

The little “catch the thief” game (only surfaces, no pygame sprites) showed ugly line artefacts, maybe because my cleanrect function is buggy.

The spritedemo is no finished game yet but works fine. My students are currently busy inventing game ideas for the sprite demo.
Results so far:

  • Bring down the frame rate by creating 1.000.000 sprites
  • Find one marked sprite (babytux) out of hundreds..

spritedemo from The Python Game Book (part2, step14)
I look forward to see my students working with The Python Game Book at the Austria Game Jam next weekend: A meeting where artists and coders come together to build teams and create a game in 48 hours. The Austria Game Jam is part of the global game jam.

As speed counts more than perfection at game jams, i have hope to see the theory proofed that Python (and pygame) is one of the fastest programming languages:

Not so much fast at raw computing speed (a interpreted language is usually slower then a compiled language) but fast at “from idea to result” speed.

More information at my blog post in German language.


new Dokuwiki features coming soon

2009/11/15

Good news: The dokuwiki mailing list says that the next dokuwiki version will have improved features for the code plugin.

This is good for The Python Game Book because i was never full happy with the existing code module. The new module will make downloading the displayed code more simple (for the author of the wiki book)

progress report:
I was a bit lazy the last month and still have to correct spelling errors and other errors on the existing pages of The Python Game Book. Meanwhile i started to code several new pygame examples, mostly simple 2 player – one screen games with sprites and static background.


code line by line discussion: better layout

2009/10/11

Responding to critique from users of the german pythonforum i changed the layout of the code “line by line” discussion.

The old layout (a table with comments left and the code lines right) was very ugly at low screen resolutions (1024 width and less). New layout has code line and below the comments.

old layout:

code line by line discussion with old layout

code line by line discussion with old layout

new layout:

line by line discussion with new layout

line by line discussion with new layout


pythongamebook part 2: first pygame examples uploaded

2009/10/04

The good news:
i uploaded the first set of pygame examples into The Python Game Book:
http://www.spielend-programmieren.at/pythongamebook/doku.php?id=en:part2:step001

The bad news: i have not yet cleaned up several of the errors in part 1 (python). Also explaining text and code discussion for the first pygame examples are still missing except for the very first pygame example.

Unsolved problems: the open-office export works but make the line breaks differently than DokuWiki (big surprise). This is specially bad when quoting python code examples. I see no solution for this problem at the moment.

Unsolved problems: Internet explorer somehow messes up Dokuwiki’s code2 plugin. The code is visible, but the code window looks messy. I hope the DokuWiki guru’s come up with a solution, as i am neither capable nor willing to care for Internet Explorer users.

Here a screenshot of pygame code example 006: The little blue ball “moves” before the big brown ball (the background), using a dirty rect method.

Screenshot of pygame example 006.py from The Python Game Book

Screenshot of pygame example 006.py from The Python Game Book


source forge

2009/09/22

Sourceforge net is now linking directly to The Python Game book.

Old sourceforge project website was pygamebook.sf.net and linked to spielend-programmieren wiki instead of directly to pythongamebook.com

I had some troubles to recall the correct way for accessing sourceforge websites.


new url: www.pythongamebook.com

2009/09/16

Finally a new url to The Python Game Book works:

http://www.pythongamebook.com

while www.pygamebook.com still works, i think www.pythongamebook.com will become the official url for my book.

Reasons: the book is more than just a book about pygame, and python is the one element important for all three major parts of the book: programming, 2D graphics and 3D graphics.

At the moment, the new url is only a simple forwarding so that the “real” url shows up in the browser:
http://www.spielend-programmieren.at/pythongamebook, hopefully not scaring readers away.

A better solution would be to replace the “www.spielend-programmieren.at” part with “www.pythongamebook.com” but beside a very costly solution i have not figured out how to do that.


first feedback

2009/09/15

got responses from a posting (requesting test readers) on a German Python Forum:
Got not much responses, but all responses were high-quality. Now i have time to apply the proposed changes into The Python Game Book. My secret dream that my test readers would do the work for me and simply apply the edits in the wiki did not come true (yet).

Most important: i get rid (again) of the line numbers in Python code.
Background: The Python programming language does not use line numbers, but in most computer books line numbers are necessary to explain code sinppets.
I found a dokuwiki-plugin that allowed client-controlled line number toggling. However, the plugin made the code look very ugly and i could not fix this ugliness.
Now i’m back to a less sophisticated plugin with only server-controlled line number toggling. But the code looks better readable. And thanks to a very detailed line-by-line discussion after each code sinppet, i hope to make the book readable without ever using line numbers at all.

see here a page with code examples in full beauty:
http://www.spielend-programmieren.at/pythongamebook/doku.php?id=en:part1:step002


one page written

2009/09/10

I can proudly announce that at least one page of my book is ready:

http://www.spielend-programmieren.at/pythongamebook/doku.php?id=en:part1:step002

and several other pages are at least created, like the English start / overview page:

http://www.spielend-programmieren.at/pythongamebook/doku.php?id=en:start

Note that the url’s are not final, please do not link (yet).

I’m not totally happy with the code-plugin (code3 plugin from Dokuwiki) but at least i have no client-side hide-able line-numbers.

comments about my first site best by email to pygamebook@gmail.com , or use the brand new talk feature in the upper right corner of each page.

Of course, you can edit each page yourself, it’s a wiki book !


why open source ?

2009/08/30

Added some minor pages, the most recent is Why open-source and needs some proof-reading from an legal expert.

Also i noted that my provider forward the url WWW.PYGAMEBOOK.COM inside an invisible frameset to the “real” url, meaning that it was hard to use the wiki because the url – line in the browser never changed. I fixed that. As soon as you click a link in the wiki, the url – line in your browser should change to the “real” url http://www.spielend-programmieren.at/pythongamebook followed by an dokuwiki-specific string for the actual wikipage.