[Super-tux-commit] supertux/data/images supertux.strf,1.21,1.22
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-20 22:14:58
|
Update of /cvsroot/super-tux/supertux/data/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5941/data/images Modified Files: supertux.strf Log Message: The BIG COMMIT(tm) This is it, expect a broken supertux I only fixed the most annoying issues so far, lots more are still waiting in the TODO list, but I had to bring this stuff to cvs sometime. Changes: - Completely new collision detection scheme, which collides all objects with each other once per frame, instead of single objects manually testing for collisions - New collision detection routines which support slopes and provide additional info on collisions: penetration depth, hit normal vector - Lots of general cleanup/refactoring - Splitted the monolithic badguy class and reimplemented most of them as single classes with a badguy base class. - Splitted the monolithic Special class into several classes - Rewrote the timer and all timing related stuff to work on float and seconds (not like the mixup before where you had frame_ratio, msecs and secs in different parts of the app) - Support for unisolid tiles - Created a flying platform prototype (doesn't work completely yet) - rename InteractiveObjects to triggers and implemented a new sequence trigger, (only supported sequence is endsequence at the moment) - transformed the bonusblocks and bricks into objects Index: supertux.strf =================================================================== RCS file: /cvsroot/super-tux/supertux/data/images/supertux.strf,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- supertux.strf 27 Oct 2004 08:23:16 -0000 1.21 +++ supertux.strf 20 Nov 2004 22:14:18 -0000 1.22 @@ -783,9 +783,9 @@ ;; Bad Guys follow - ;; Laptop + ;; MrIceBlock (sprite (name "mriceblock") - (action + (action (name "left") (x-offset 2) (y-offset 3) @@ -794,27 +794,27 @@ "shared/mriceblock-left-2.png" "shared/mriceblock-left-1.png")) - (action (name "right") + (action (name "right") (x-offset 2) (y-offset 3) (mirror-action "left")) - (action (name "falling-left") + (action (name "falling-left") (x-offset 2) (y-offset 3) (images "shared/mriceblock-flat-left.png")) - (action (name "falling-right") + (action (name "falling-right") (x-offset 2) (y-offset 3) (mirror-action "falling-left")) - (action (name "flat-left") + (action (name "flat-left") (x-offset 2) (y-offset 3) (images "shared/mriceblock-flat-left.png")) - (action (name "flat-right") + (action (name "flat-right") (x-offset 2) (y-offset 3) (mirror-action "falling-left"))) @@ -1162,10 +1162,79 @@ ; Door (sprite (name "door") (action + (name "default") (x-offset 0) (y-offset 64) - (images "shared/door-1.png") - )) + (images "shared/door-1.png")) + (action + (name "open") + (x-offset 0) + (y-offset 64) + (images "shared/door-1.png" + "shared/door-2.png" + "shared/door-3.png" + "shared/door-4.png" + "shared/door-5.png" + "shared/door-6.png" + "shared/door-7.png" + "shared/door-8.png" + "shared/door-7.png" + "shared/door-6.png" + "shared/door-5.png" + "shared/door-4.png" + "shared/door-3.png" + "shared/door-2.png" + "shared/door-1.png")) + ) + + ; coin + (sprite (name "coin") + (action + (name "default") + (images "tilesets/coin-1.png" + "tilesets/coin-2.png" + "tilesets/coin-3.png" + "tilesets/coin-4.png" + "tilesets/coin-5.png" + "tilesets/coin-6.png" + "tilesets/coin-7.png" + "tilesets/coin-8.png")) + (action + (name "still") + (images "tilesets/coin-1.png")) + ) + + (sprite (name "bonusblock") + (action + (name "default") + (images "tilesets/bonus2-1.png" + "tilesets/bonus2-2.png" + "tilesets/bonus2-3.png" + "tilesets/bonus2-4.png" + "tilesets/bonus2-5.png")) + (action + (name "empty") + (images "tilesets/bonus2-d.png")) + ) + + (sprite (name "brick") + (action + (name "empty") + (images "tilesets/bonus2-d.png")) + (action + (name "default") + (images "tilesets/brick0.png")) + ) + + (sprite (name "icedbrick") + (action + (name "empty") + (images "tilesets/bonus2-d.png")) + (action + (name "default") + (images "tilesets/brick1.png")) + ) + ; (sprite (name "openingdoor") ; (action ; (x-offset 0) |