Day 6: the bird arrives!
Today I started with drawing the Grand Phoenix:(bigger)
Before you all go on about how mad my art skillz are I totally used a step-by-step tutorial to get that image. Came out nicely though, I think :)
I spent bits of today working cocos stuff into the codebase to make scene management work nicer. I spent a frustrating half hour trying to figure out why my damned cocos animations weren't working, only to discover that I'd (intentionally) overridden the cocos layer setup method which schedules the animations. Whups. It's actually something I've been meaning to address in cocos - there's a few places where you have to override a base class method to add behavior where it'd be much, much nicer to be able to just fill out a stub. For example have cocos do its stuff in _on_enter() which invokes a stub on_enter(). Or perhaps a different approach that's more backwards compatible ;)
Anyhoo, the rest of the day saw:
- most of level 2 (town) done
- most of level 3 (castle) done
- make menu prettier
- end of level score tally
- end of level score
- high score table
- level 3 boss
- uploaded first version!
I've still got a bunch to add. Tomorrow is looking to be a short dev day again so I'm not sure how much I'll get done before Sunday. Things I would really like to achieve before then:
- baddies shooting so there's some more variety in the baddies
- queen throwing stuff - at the moment the ultimate baddie doesn't fight back :(
- health pickup or perhaps pickup count allowing N pickups = health
- finish level 2
- finish level 3
- intermediate spell powerup (bouncing)
- secrets? did I say that? shh!
- fix circular baddie paths
- fix the clouds so you can actually see them ;)
- more birds, more powerups
(log in to comment)
Comments
from terminal:
guest@p4:/mnt/sda1/trabalhos/pygame/recolhas/pyweek/09/_rascunhos/easyaga1_semifinal$ python run_game.py
Illegal instruction
guest@p4:/mnt/sda1/trabalhos/pygame/recolhas/pyweek/09/_rascunhos/easyaga1_semifinal$
illegal instruction, without any further error message? i really can't get it...
Anyway, Richard, i'd ask a fix for the pyweek.org project registering/editing fields, where we must place there all the libraries used on our games, besides the title, description and screenshots, what do you think? this will allow people, at first sight before downloading the game...
Traceback (most recent call last):
File "run_game.py", line 150, in <module>
run()
File "run_game.py", line 137, in run
import main
File "lib/main.py", line 20, in <module>
import level
File "lib/level.py", line 21, in <module>
import baddies
File "lib/baddies.py", line 14, in <module>
import animals
File "lib/animals.py", line 10, in <module>
(1, -23, 0, 'bunny-left.png'),
File "lib/animation.py", line 31, in __init__
self.frames = [AnimationFrame(*s) for s in spec]
File "lib/animation.py", line 20, in __init__
self.image = pyglet.resource.image(name)
File "lib/pyglet/resource.py", line 500, in image
identity = self._cached_images[name] = self._alloc_image(name)
File "lib/pyglet/resource.py", line 443, in _alloc_image
file = self.file(name)
File "lib/pyglet/resource.py", line 399, in file
raise ResourceNotFoundException(name)
pyglet.resource.ResourceNotFoundException: Resource "bunny-left.png" was not found on the path. Ensure that the filename has the correct capitalisation.
It seems that the bunny-left.png file is missing. Tested on OS/X
nitrofurano on 2009/09/04 12:50:
great! i always also want to share more tutorials here - there are normally very simple solutions for people improving hugelly their graphic work, simply and in a rush!maybe would be a good idea pyweek.org having a wiki page where we can share all that useful links we may find? my only concern are those spam bots... :/