[Super-tux-devel] (no subject)
Brought to you by:
wkendrick
From: S.Groundwater <sl...@gl...> - 2005-03-28 03:56:55
|
Hello everyone, I created a new spawn-point/trigger graphic today. It's a hatch (door.) http://gluebox.com/creatures/BlueRockz/hatch_screenshot.png 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 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" )) ) -enjoy |