Re: [Super-tux-devel] spawn-point / trigger graphic
Brought to you by:
wkendrick
From: Matze B. <ma...@br...> - 2005-03-28 17:28:07
|
On Mon, 28 Mar 2005, S.Groundwater wrote: > Hello everyone, > > I created a new spawn-point/trigger graphic today. > It's a hatch (door.) > http://gluebox.com/creatures/BlueRockz/hatch_screenshot.png Hi that's nice. Though this definately looks like a door and not like a spawnpoint :) > > The full animation set is here: > http://gluebox.com/creatures/BlueRockz/ > > To make it work I copied Matze's door.h/door.cpp files and modified them > for new hatch graphics. > > (Matze, I hope it's OK to post a link back to your files, the triggers are > great!) > http://gluebox.com/creatures/BlueRockz/hatch.h > http://gluebox.com/creatures/BlueRockz/hatch.cpp Sure this code is GPL and there to be usefull. I'm happy if you're using this for creating new graphics. There's absolutely no need to ask (despite you are in the "official" list of developers anyway :) > > for supertux.strf file : > ; Hatch > (sprite (name "hatch") > (action > (name "default") > (x-offset 0) > (y-offset 32) > (images "shared/hatch-1.png")) > (action > (name "open") > (x-offset 0) > (y-offset 32) > (images "shared/hatch-1.png" > "shared/hatch-2.png" > "shared/hatch-3.png" > "shared/hatch-4.png" > "shared/hatch-5.png" > "shared/hatch-6.png" > "shared/hatch-6.png" > )) > ) > Now that I've seen this might I ask you for a thing in our TODO list that I'd really like to see implemented: Some graphics to visually represent resetpoints. Maybe you can remember some mario games that had bells that you could ring in order to activate a resetpoint or some goal-marks like the ones we have already at the end of the map, just smaller and with a band or something in them that you can remove while running through the bars. The point is that we should give the players some visual representation of the resetpoint so that he knows he will respawn there if he dies after it. (It might also allow for some nice level-design tricks for having an easier normal way without resetpoints and a harder way with resetpoints.) I'll happily create the code needed to get this thing running, we'd just need some graphics. Greetings, Matze |