Posts Tagged ‘python’
Sunday, April 19th, 2009

Source: http://shared.nincheats.net/zips/Jach_LD14_LavaFlee.zip
Source with Windows Binary: http://shared.nincheats.net/zips/Jach_LD14_LavaFlee-win.zip
(Does this work on Vista? I’ve only tested it through a 64-bit XP and a 32-bit Wine on my Linux.)
Afterthoughts/replies to comments: Sound was made with sfxr (I love it so much), Gimp was used unoriginally to render the Lava, Xara and KolourPaint were used for everything else. To reiterate, it IS possible to win without losing a single life, and if I weren’t so lazy I’d make a YouTube video showing a perfect run. =P To get past the first big obstacle (the upside down U thing), see the screenshot below. It takes a little finesse for the interesting controls, but it’s more than doable.
Well, finally finished. I was really lazy this time, and probably spent more time just hanging out in the IRC room than coding. Ah well. I had fun, and as I mentioned earlier, there’s at least some good code in here that I can reuse on side projects. Anyway, yes this game is beatable with no lost lives, it’s just somewhat difficult. Would have liked to make it longer, but again, too lazy, and I want some time to contemplate another foodphoto…
It just occurred to me that I didn’t mention you need Python + PyGame (optional Pysco (which is a library to speed up my crappy code)) to run it (until I get the EXE built) in the README, or that you need to run main.py / main.exe, but since I committed revision 30 I didn’t want to mess up that cool number, so I’m telling you here.
Tags: final, pygame, python
Posted in LD #14 - Advancing Wall of Doom - 2009 | No Comments »
Friday, April 10th, 2009
I originally planned to use LOVE game engine, but i thought i just keep it for later as Pyweek is just days after LD.
Moreover, i probably don’t have much time as i has some school field trip for 1 day. (11pm GMT+8 - 11pm GMT+8 = 24 hours)
I’ll be using Python and Pyglet, and here’s my states/buttons/sprites/resourcemanager
http://code.google.com/p/jabersgamelib/downloads/list
Ported from a game called No (nonogram game) from LOVE game engine to Python/Pyglet.
Have a look at the example - don’t just copy and paste the example code and add your contents later.
EDIT: Veerry sorry, link goes to to LOVE website, now updated to my googlecode page.
Tags: game, jaber, lib, pyglet, python
Posted in LD #14 - Advancing Wall of Doom - 2009 | 3 Comments »
Sunday, February 8th, 2009

Final build. I’ll be honest; I’m an hour late. So, yeah, I spend 49 hours on the game.
A Windows executable is available here (6Mb). Source is included, so if you have Python and pyglet 1.1 installed it should run anywhere.
Instructions:
There are 5 martinis in the game. The first sepent to get all 5 wins. The only way to gain martinis is to steal them by attacking the opponent serpent. To attack, simply click with the mouse. After an attack, a period of time must pass before a new attack can be launched. The cusor lights up red when the cooldown is over and the target is within range.
Edit: Play as the Coral snake, choosing the Milk snake for opponent and go for easy mode, for you first couple of plays.
-Simon
Edit: On a development note, I am pleased with the outcome - I’m especially glad I took out a couple of hours to do all the instruction screens and messages. BUT, if I have 1 regret, it is that I didn’t make more serpents to choose from. The framework is there, I just needed to paint some textures and find some fun paramter values. Oh well, that’s the horror of The Deadline for you. 
Tags: final, martini, pyglet, python
Posted in MiniLD #07 | 7 Comments »
Sunday, January 11th, 2009
Finished! (requires Python + PyGame) Since the first release there has been added:
- Power ups (rockets and plasma guns)
- Better rect class that supports floating point numbers
- Score now caps at 1,000
- More level tweaking
- Various improvements here and there
Enjoy =)

Tags: final, not zombies, pygame, pymike, python, zombiis
Posted in MiniLD #06 | 2 Comments »
Sunday, January 11th, 2009
I’m fairly sure this is going to be the final version of my game “Infection Fighter” - I could carry on tweaking the gameplay forever - it’s too easy to win right now, but I think I’m more likely to decide on the best way of fixing that after the competition.
I haven’t finished packaging the windows version into an exe (and I probably won’t be able to find enough time as I’ve got to make up for spending most of my weekend coding), so windows users will need to have python and Pygame to run it - like the rest of us

You can get it here. (69Kb)
Tags: final, infection, pygame, python, screenshot
Posted in MiniLD #06 | No Comments »
Saturday, January 10th, 2009
I got back to work about two hours ago (although I did stay up for an extra hour or two last night after saying I would sleep), and the game is coming along quite well.
Most importantly, I have managed to add some of the extra gameplay ideas I had yesterday. The gameplay is now some kind of mix of asteroids and puzzle bobble - with an infection theme, and in glorious monochrome…

I’ve also added a score (as you can see in the screenshot), and some basic sound effects - my musical skills are best described as NULL, so I’m not sure I’m going to add much more, but perhaps I’ll generate something with DrPetter’s sfxr if I think it’ll fit in (I found the debian/ubuntu binary package here if anyone’s looking for one as I’m getting unmet dependency problems installing libgtk to compile from source at the mo.)
Still to do - lives, deaths, writing the score to the file, and some better physics - but it’s come along.
Tags: infection, pygame, python, sfxr, ubuntu
Posted in MiniLD #06 | No Comments »
Friday, January 9th, 2009
This is the state I’m leaving “infection fighter” in before getting some sleep (it’s 3 am here) - the basic code is done and thoroughly bug-checked, and it’s currently working very similarly to asteroids - although I’ve got a few ideas to spice the game up a bit that I hope might work really well …
The player is the cell in the middle (or at least that’s supposed to be a cell in the centre), and you can tell the rotation by seeing where the nucleus is facing. The pill on the right has just been fired.

I’ve got a prior engagement tomorrow (hence deciding to make such a simple game - and needing sleep), but hopefully I’ll have time to add at least some of the features I’m planning, try my hand at recording some sound effects and tie up the bits like scores and lives. And even if I don’t have time to do all of it - judging by the amount of time I’ve been wasting playing it it could be really addictive.
Generally my Ludum Dare experience is a lot of fun so far!
Tags: pygame, python
Posted in MiniLD #06 | No Comments »
Sunday, December 7th, 2008

Voyage is a puzzle game: slide the tiles around to make a continuous path to lead the red car forward.
My girlfriend gave me the idea for this game for which I am quite grateful. Roads wasn’t a theme I was psyched about so it isn’t my best work, but I think in the end it came out ok. Sadly I’m no good at making music and I feel this is a game that really could have used some. Maybe I’ll find some Creative Commons music for a post compo version.
More thought later, for now I bid thee all a fair night.
Download Voyage (Python + pygame / GPLv3)
edit:
windows port
Tags: final, gpl, pygame, python, voyage
Posted in LD #13 - Roads - 2008 | No Comments »
Thursday, December 4th, 2008
I decided that for this LD I wanted to do a Timelapse. I wanted a timelapse program that
- Ran natively on Linux.
- Produces a screen shot of the desktop with an image of my webcam inline - not the other way round.
- Be something that I can start in a terminal and forget about.
- Not spit out a movie at the end and decide on what format or quality it should be - instead it should give me a bunch of images in a numbered sequence that I can then concatenate with ffmpeg or something myself.
So I wrote PyCatcher, poking it for half an hour every day for the past week. I got my webcam displaying inline last night, so while it’s not as feature rich as I have planned it does work.
If this sound relevant to ones interests you can grab it here- http://github.com/Fiona/pycatcher/tree/master
This Ludum Dare I’ll be using PyCatcher for timelapse and writing my game in Python/Pygame using my Pygame-Fenix library to aid development.
Tags: fenix, pycatcher, pygame, python, time lapse, timelapse
Posted in LD #13 - Roads - 2008 | 1 Comment »
Saturday, November 29th, 2008
Phew, got it finished
PyGL2D is a simple 2D library for PyGame and PyOpenGL. It’s licensed under the GNU LGPL. See http://pygame.org/project/972/
You can download it here.

Tags: opengl, pygame, python
Posted in MiniLD #05 | 1 Comment »
Friday, November 7th, 2008
Not sure if I’ll participate in Mini-LD5 yet or not, but just in case, here’s an alpha release of my ’simplemenu’ library. It could well be the simplest GUI framework you can imagine. It barely deserves the title of GUI, actually. It’s intended to make it easy to add clickable “Start”, “Options”, “Quit” buttons to the title screen of a game. It works for me, but it’s far from finished.
(Also, sorry to release code so close to the start time … won’t do it for a ‘real’ LD … but for a mini-LD … well … better lateish than neverish).
Tags: code, framework, pygame, python, rabbyt
Posted in MiniLD #05 | No Comments »
Thursday, November 6th, 2008
Here’s my custom python + pygame framework for the mini LD. It’s little more than the pyweek skeleton with image and sound loaders and a barebones state system. Consider it public domain so feel free to do anything you want with it.
Tags: framework, pygame, python
Posted in MiniLD #05 | No Comments »
Sunday, August 10th, 2008
Edit: To all of you who think my game is too hard, I have beaten it twice! =P And the laser collision is just box-based, so if you shoot it diagonally you have tons of whitespace to possibly hit the things with. Also, a bug escaped the final version so the non-evil clouds sometimes get stuck indefinitely. It’s fixed locally but not in the zip; oh well.
Here’s the link, includes source (python + pygame) and windows executable (not guaranteed to work, though I have been told it works):
http://shared.nincheats.net/zips/ld12-femme-tower.zip
(If it doesn’t work try: http://67.212.186.26/~jach/shared/zips/ld12-femme-tower.zip )
Will add post-compo thoughts here later. NOW!
It’s about 20 minutes after now. So, what I did horribly wrong this time around:
I slept in too late twice, got distracted by all sorts of things, felt horrible demotivation and considered dropping out for most of the compo. I also didn’t pace myself well (submitted about 2 minutes prior to the end) so the art and sound could have been slightly better.
This game seemed pretty hard to me and to my EXE tester, but I assure you it is beatable. =P

Tags: final, pygame, python, tower
Posted in LD #12 - The Tower - 2008 | 2 Comments »
Sunday, August 10th, 2008

Hello! This is a competition entry. It is a simple game where you shoot cannonballs at a tower. Eventually, the tower will succumb. You get more points for letting blocks hit the ground before the top of the tower does.
Hold SPACE to power up the cannon, release to fire. Up and down changes the angle. That’s it!
Requires pyglet/pymunk. Doesn’t run too fast. All those quads to draw, and all.
Windows Binary.
Source code.
Tags: chipmunk, final, physics, pyglet, pymunk, python
Posted in LD #12 - The Tower - 2008 | 1 Comment »
Friday, August 8th, 2008
I’m a big fan of Python and of PyGame. But I’ve been doodling with Processing for several years now, too, and it’s idea of “sketches” kind of lends itself to a competition like this. For anything more substantial, I’d definitely rock it out on Python… and I still might. But the ease of getting simple things up and running on Processing is really appealing, as is the rock-simple cross-platform capabilities. It’ll depend on the theme and the concept that comes out of it, I suppose. We’ll see in about 35 minutes from now.
Tags: processing, python, tools
Posted in LD #12 - The Tower - 2008 | No Comments »
Sunday, May 4th, 2008
Firstly, I’d like to thank everyone who voted for providing kind and constructive comments in the voting area. They’ve really encouraged me to continue developing this game. Keep in mind when reading my comments that I too am trying to be constructive, and I’m not trying to come across as a complete butthead. In my mind anyone who even got half a final entry completed has done an amazing thing in such a short time. Secondly, let me apologize for including a few levels that were far too hard …. actually I’m almost certain now that they were impossible.

So, I’ve prepared an updated version of Mondrian for those who’d like to play it. I thought I’d leave this release until after voting, to ensure that nobody could accidentally judge based on the non-48 hour version. You can get the latest version a my OMGWTF Games !!1! page. This new updated version includes: (more…)
Tags: mondrian, pygame, python, update
Posted in LD #11 - Minimalist - 2008 | 3 Comments »
Saturday, April 26th, 2008
I would have posted this version earlier but I just took a week off to tour a college and didn’t bring my laptop.(which was a stupid mistake on my part considering all the free wifi.)
There Is No Screwdriver
Version 1.1
Bug Fixes:
Fixed an error of being able to leave the first room without actually opening the door.
Cleaned up the code slightly.
Download
If there are any other bugs or if anyone has comments feel free to leave a comment for me.
Tags: adventure, python, There Is No Screwdriver, update
Posted in LD #11 - Minimalist - 2008 | No Comments »
Monday, April 21st, 2008
You don’t have to wait anymore, here is the win32 binary of the great Color Eater.
Download

Tags: color eater, python, rollbak, win32, winxp
Posted in LD #11 - Minimalist - 2008 | No Comments »
Sunday, April 20th, 2008
04-20-2008 8:40PM EST
With just over an hour left before the deadline I am taking a small break before I try and finish this one out. I have implemented all the features I wanted to and even a few I wasn’t planning on. I ran into a couple big speed bumps but I worked around them and I think I did alright. My story is not going to be finished I know that right now. I don’t want to end it abruptly so it leaves me with one option… Submitting an unfinished game. This really isn’t that big of a surprise to me considering this time yesterday I did not know a thing about coding and couldn’t tell you the first thing about python. I am proud of what I have accomplished though and hope that next time I can finish.
04-20-2008 11:00PM EST
Finally got the game submitted. I had alot of trouble uploading it for some reason so NegativeGeForce hosted it for me and I guess I made it(?) Anyways, I have learned alot within the past 24 hours and really had alot of fun. I didn’t get to complete the story but I was able to create a presentable game from scratch in less that 24 hours without knowing anything about Python. I am really looking forward to learning more and hopefully will be able to join up next time around.
Good luck to all of you who participated in Ludum Dare 11 and I hope only the best in the future.
Tags: , journal, python
Posted in LD #11 - Minimalist - 2008 | No Comments »
Sunday, April 20th, 2008
So here it is. I began writing the story for this game at 11:30PM on 04-19 and started writing the code at 4:00AM 04-20. I have never coded before in my life. I have no previous knowledge of coding but I have spent time around people who do code. I came into this contest with 22.5 hours left and wanted to have a text adventure completed before the deadline. I came close. I did not have time to finish writing the story but I did implement quite a bit and learned alot. So, as far as I am concerned Mission Accomplished.
There Is No Screwdriver.
Text Based Adventure written in Python.

ld11-JamesDM.rar
1.19MB contains source .py file.
I had some hosting issues, hopefully I am not too late.
Tags: adventure, final, python, text
Posted in LD #11 - Minimalist - 2008 | 4 Comments »
Sunday, April 20th, 2008
Here’s the link:
http://shared.nincheats.net/zips/ld11-pepsi.zip
Windows executable coming soon. Requires Python and Pygame at the moment.
Newedit: Here’s the link to the WINDOWS version. Had to change directory structure for it to work. Just run main.exe for it.
http://shared.nincheats.net/zips/ld11-pepsi-windows.zip
Edit: The ZIP will contain the windows executable by tomorrow with no changes to anything else. Also, here’s the screenie. If I come up with more theme arguments, I’ll put them here instead of the readme before tomorrow, but I probably won’t because that wouldn’t be minimal. =P

(Still part of edit) I didn’t really like the idea after about 4 hours into it, but I decided to continue. I’m not too displeased with the final result, though I wish I had another hour or so to make a nice game over and win screen.
Tags: final, pepsi, pygame, python
Posted in LD #11 - Minimalist - 2008 | No Comments »
Sunday, April 20th, 2008
Finally done! You play as gods messenger, trying do defend planets from asteroids. All controls explained in-game.
Dependencies:
Python
Pygame
or none if running from exe
Download source or exe!
And screenshot:

Tags: final, god, python, screenshot
Posted in LD #11 - Minimalist - 2008 | No Comments »
Sunday, April 20th, 2008

Final version is avaible here: Python source
Needs python and pygame installed.
They are avaible from here: Python PyGame
Tags: final, Ludum Dare 11, parkball, pygame, python
Posted in LD #11 - Minimalist - 2008 | 3 Comments »
Sunday, April 20th, 2008
04-20-2008 12:15PM EST
Just woke up, time for some breakfast and with under 10 hours left it’s time to get cracking… I feel like I will be able to complete all my goals for this project before the deadline and I’m really starting to understand python.
04-20-2008 2:53PM EST
Finally worked out some of the kinks in the movement system, now movement is controlled by typing cardinal directions instead of room numbers. I’m working on adding functionality to the rest of the commands such as “Look Around” and “Examine”. Back to the notepad!
Also… Food update!

Copious amounts of Rice Crispies and 355ml of Red Bull. 
Tags: foodphoto, python
Posted in LD #11 - Minimalist - 2008 | No Comments »