Marek Moeckel [Fri, 24 Sep 2004 21:20:36 +0000 (21:20 +0000)]
added another, extremely boring :-) flapping/combo testing level
SVN-Revision: 1970
Matthias Braun [Fri, 24 Sep 2004 21:19:25 +0000 (21:19 +0000)]
removed unused function whcih caused compile errors
SVN-Revision: 1969
Ricardo Cruz [Fri, 24 Sep 2004 18:13:27 +0000 (18:13 +0000)]
Added a function to draw text on center of screen for comodity.
SVN-Revision: 1968
Ricardo Cruz [Fri, 24 Sep 2004 18:01:42 +0000 (18:01 +0000)]
Made changes to reflect change of way that alpha applied is handled.
SVN-Revision: 1967
Ricardo Cruz [Fri, 24 Sep 2004 18:00:46 +0000 (18:00 +0000)]
Added an alpha parameter for transformation and got rid of ugly alpha draw_font() parameter.
SVN-Revision: 1966
Ricardo Cruz [Fri, 24 Sep 2004 17:32:15 +0000 (17:32 +0000)]
Ooops, forgot to upload level editor images!
SVN-Revision: 1965
Ricardo Cruz [Fri, 24 Sep 2004 15:10:10 +0000 (15:10 +0000)]
Uploading the level editor I was working on - It isn't still usable, but it was only getting dust and getting obsolete due to changes on API.
Also, made the necessary changes on other stuff. Some bugs were introduced (others were already there :)).
SVN-Revision: 1964
Ricardo Cruz [Fri, 24 Sep 2004 15:08:04 +0000 (15:08 +0000)]
Completely re-written from scratch of buttons code.
SVN-Revision: 1963
Ricardo Cruz [Fri, 24 Sep 2004 15:07:22 +0000 (15:07 +0000)]
Tweaks.
SVN-Revision: 1962
Marek Moeckel [Thu, 23 Sep 2004 19:40:31 +0000 (19:40 +0000)]
custom messages for combos, depending on how many badguys were killed
FIXME: Messages are currently generated in method "bounce" - should be moved out of there, but I didn't know how, sorry :)
SVN-Revision: 1961
Ricardo Cruz [Thu, 23 Sep 2004 17:47:49 +0000 (17:47 +0000)]
Show a message when more than one bad guys is killed in a row.
SVN-Revision: 1960
Marek Moeckel [Wed, 22 Sep 2004 20:48:20 +0000 (20:48 +0000)]
added two levels contributed by SuperTux players
SVN-Revision: 1959
Ryan Flegel [Wed, 22 Sep 2004 17:04:22 +0000 (17:04 +0000)]
- newgame player status bugfix
SVN-Revision: 1958
Ryan Flegel [Tue, 21 Sep 2004 22:03:32 +0000 (22:03 +0000)]
- fixed warnings pointed out by Frank
SVN-Revision: 1957
Matthias Braun [Tue, 21 Sep 2004 11:13:09 +0000 (11:13 +0000)]
fixed some more buggy AC_ENABLE usage
SVN-Revision: 1956
Matthias Braun [Tue, 21 Sep 2004 11:04:01 +0000 (11:04 +0000)]
fix check for debug flag
SVN-Revision: 1955
Ryan Flegel [Mon, 20 Sep 2004 19:57:47 +0000 (19:57 +0000)]
- fixed bug reported by Frank van der Loo
SVN-Revision: 1954
Ricardo Cruz [Mon, 20 Sep 2004 19:30:30 +0000 (19:30 +0000)]
Bugfix: Don't kill badguys when they are already dying or in a certain mode (bombs exploding or ticking).
Reported by Frank van der Loo.
SVN-Revision: 1953
Ricardo Cruz [Mon, 20 Sep 2004 19:17:29 +0000 (19:17 +0000)]
Changed FloatingScore to support text (changed name to FloatingText). I guess this could be usefull for some stuff, saying "Bonus" and whatever.
Also made a fading animation when disapearing.
SVN-Revision: 1952
Ricardo Cruz [Mon, 20 Sep 2004 19:04:02 +0000 (19:04 +0000)]
Fixed layout on worldmap message.
Fixed displaying on level/game over messages.
SVN-Revision: 1951
Ricardo Cruz [Mon, 20 Sep 2004 19:02:46 +0000 (19:02 +0000)]
When swap keep statistics so far. (not tested - I'd appreaciate if someone would test this)
Also, when you go to some swap, you'll always stay there, even if you die before it - requested by various players.
SVN-Revision: 1950
Marek Moeckel [Sat, 18 Sep 2004 17:49:42 +0000 (17:49 +0000)]
further updated flapping parcours
SVN-Revision: 1949
Marek Moeckel [Sat, 18 Sep 2004 16:58:16 +0000 (16:58 +0000)]
Tux can now flap after bouncing off an enemy
SVN-Revision: 1948
Marek Moeckel [Sat, 18 Sep 2004 16:39:41 +0000 (16:39 +0000)]
fixed "flapping key not responding"-problem
SVN-Revision: 1947
Ricardo Cruz [Sat, 18 Sep 2004 12:13:09 +0000 (12:13 +0000)]
Contrib worldmaps are now being saved.
TODO: a slot based saving might be neat.
SVN-Revision: 1946
Marek Moeckel [Sat, 18 Sep 2004 09:53:07 +0000 (09:53 +0000)]
updated flapping parcours
SVN-Revision: 1945
Marek Moeckel [Fri, 17 Sep 2004 23:14:23 +0000 (23:14 +0000)]
fixed problems with the flapping key not responding
you can now also use flapping after just walking into a gap without jumping
SVN-Revision: 1944
Ricardo Cruz [Fri, 17 Sep 2004 19:04:04 +0000 (19:04 +0000)]
Ooops. Mistake.
SVN-Revision: 1943
Ricardo Cruz [Fri, 17 Sep 2004 18:56:06 +0000 (18:56 +0000)]
Fixed Score = -1 on worldmap display when no level has been played in a fresh slot.
SVN-Revision: 1942
Ricardo Cruz [Fri, 17 Sep 2004 18:55:03 +0000 (18:55 +0000)]
Fixed levels on contribs menu.
Fixed warpping when Tux gets end of level on the demo background in title.
SVN-Revision: 1941
Ricardo Cruz [Fri, 17 Sep 2004 15:53:08 +0000 (15:53 +0000)]
Good contrib levels should be placed here!
Uploaded Torfi's dungeon level.
SVN-Revision: 1940
Ricardo Cruz [Fri, 17 Sep 2004 12:53:24 +0000 (12:53 +0000)]
Fixed when of the warning that appear to Frank.
Couldn't fix the other since I don't know where it is, cause I've changed code in the meanwhile.
SVN-Revision: 1939
Ricardo Cruz [Fri, 17 Sep 2004 12:41:52 +0000 (12:41 +0000)]
Remove particles when they get off the screen.
Let time_left be defined for 0 to let particles alive until they get off the screen.
SVN-Revision: 1938
Ricardo Cruz [Fri, 17 Sep 2004 12:22:40 +0000 (12:22 +0000)]
Added Total to statistics.
Changes stuff that keeps track.
Bug: percentage on draw_message_info() ain't working well.
SVN-Revision: 1937
Marek Moeckel [Fri, 17 Sep 2004 11:40:10 +0000 (11:40 +0000)]
don't loose a life when using the "kill" cheat
SVN-Revision: 1936
Marek Moeckel [Fri, 17 Sep 2004 11:28:56 +0000 (11:28 +0000)]
added a flapping test parcours, try it!
SVN-Revision: 1935
Marek Moeckel [Thu, 16 Sep 2004 23:26:26 +0000 (23:26 +0000)]
replaced double jumping with flapping
SVN-Revision: 1934
Marek Moeckel [Thu, 16 Sep 2004 20:58:41 +0000 (20:58 +0000)]
just changed tabs for spaces :)
SVN-Revision: 1933
Marek Moeckel [Thu, 16 Sep 2004 20:48:09 +0000 (20:48 +0000)]
play jump sound again when double jumping
(the double jump should probably get an extra sound effect)
SVN-Revision: 1932
Ricardo Cruz [Thu, 16 Sep 2004 18:59:06 +0000 (18:59 +0000)]
Setup-ed fire works for open air levels.
SVN-Revision: 1931
Ricardo Cruz [Thu, 16 Sep 2004 18:56:36 +0000 (18:56 +0000)]
Info about (end-sequence-animation "")
SVN-Revision: 1930
Ricardo Cruz [Thu, 16 Sep 2004 18:56:09 +0000 (18:56 +0000)]
Added support for setting up end sequence animations on levels.
Tag: (end-sequence-animation "fireworks")
fireworks is only supported currently.
SVN-Revision: 1929
Ricardo Cruz [Thu, 16 Sep 2004 18:16:16 +0000 (18:16 +0000)]
Improved layout of statistics displaying.
SVN-Revision: 1928
Ricardo Cruz [Thu, 16 Sep 2004 15:04:18 +0000 (15:04 +0000)]
Changed behavior of centered text drawing and added right allignment, as well.
Added a new allignment argument for draw_text(). draw_text_center() is draw_text() with CENTER_ALLIGN in point Vector(screen->w/2, ...).
SVN-Revision: 1927
Ricardo Cruz [Thu, 16 Sep 2004 11:56:39 +0000 (11:56 +0000)]
Added a "gotoend" cheat to put Tux near the end of the level.
Also improved the pause hack.
SVN-Revision: 1926
Ricardo Cruz [Thu, 16 Sep 2004 11:26:14 +0000 (11:26 +0000)]
Fixed draw_part() when alpha != 255.
This fixes the displaying of level statistics.
SVN-Revision: 1925
Marek Moeckel [Wed, 15 Sep 2004 22:39:24 +0000 (22:39 +0000)]
disabled hovering by default (needs tweaking!)
added cheat code "hover" to toggle hovering on/off
SVN-Revision: 1924
Ricardo Cruz [Wed, 15 Sep 2004 22:12:48 +0000 (22:12 +0000)]
Update translation files.
Translated Portuguese.
SVN-Revision: 1923
Ricardo Cruz [Wed, 15 Sep 2004 22:12:00 +0000 (22:12 +0000)]
Forgot to make this translatable.
SVN-Revision: 1922
Ricardo Cruz [Wed, 15 Sep 2004 21:59:30 +0000 (21:59 +0000)]
Added drawing of statistics on levels messages and game over.
Also fixed a couple of things on statistics.
SVN-Revision: 1921
Marek Moeckel [Wed, 15 Sep 2004 21:38:49 +0000 (21:38 +0000)]
added two new cheat codes:
"shrink" lets Tux react like being hit by an enemy
"kill" kills Tux (useful if stuck in an unfinished level)
SVN-Revision: 1920
Ricardo Cruz [Wed, 15 Sep 2004 18:49:24 +0000 (18:49 +0000)]
Added a Jump 'n Bump like way to show statistics.
It won't work on SDL mode, cause of a bug in draw_part(). I'll have a look at this.
SVN-Revision: 1919
Ricardo Cruz [Wed, 15 Sep 2004 18:47:45 +0000 (18:47 +0000)]
Added an alpha argument for drawing fonts.
SVN-Revision: 1918
Marek Moeckel [Wed, 15 Sep 2004 15:15:25 +0000 (15:15 +0000)]
implemented double jump (press up again while jumping) and hovering (press and hold up while falling down)
both need some tweaking (especially when jumping off enemies) and should of course be triggered by special items in the final game
SVN-Revision: 1917
Ricardo Cruz [Wed, 15 Sep 2004 11:50:31 +0000 (11:50 +0000)]
Made statistics to keep track of also: bad guys squished, shots, time needed and jumps number.
Also print in the worldmap a message to show the maximum level's score. This is temporary and will be replaced with a better info text.
SVN-Revision: 1916
Ricardo Cruz [Wed, 15 Sep 2004 10:43:19 +0000 (10:43 +0000)]
Don't forget to include extro-bonus.txt.
SVN-Revision: 1915
Ricardo Cruz [Wed, 15 Sep 2004 10:41:27 +0000 (10:41 +0000)]
Updated Portuguese translation.
SVN-Revision: 1914
Ricardo Cruz [Tue, 14 Sep 2004 22:59:55 +0000 (22:59 +0000)]
Bug fix: files were not listed correctly, so 'make update-po' was not working.
Also, updated POs.
SVN-Revision: 1913
Ricardo Cruz [Tue, 14 Sep 2004 22:31:46 +0000 (22:31 +0000)]
Ooops, forgot to upload the actual Statistics implementation.
SVN-Revision: 1912
Ricardo Cruz [Tue, 14 Sep 2004 22:26:23 +0000 (22:26 +0000)]
Implemented a statistics system. I believe this feature was originally requested by Ryan and the aim is to provide more replay value.
Currently, it just keeps track of score. In future, it could keep track of other things like: min number of jumps, max number of enemies killed, min number of shots, min time needed, etc.
When a better value is reached after playing the level again, it is replaced in the old statistics.
Worldmap is the one in charge for saving statistics.
TODO: draw current score and other stats of the current level in world map. I am thinking in drawing it in the Jump'n Bump way, that is using fade on text.
I had to use LispWriter when saving a slot.
SVN-Revision: 1911
Marek Moeckel [Tue, 14 Sep 2004 20:50:02 +0000 (20:50 +0000)]
added extro-bonus.txt to HEAD
added Torfi's last name to level descriptions
SVN-Revision: 1910
Marek Moeckel [Tue, 14 Sep 2004 19:07:31 +0000 (19:07 +0000)]
added lava to level26
SVN-Revision: 1909
Ricardo Cruz [Tue, 14 Sep 2004 10:40:28 +0000 (10:40 +0000)]
When typying 'lifeup' pause is triggered (cause of the last 'p'). Made a work around to fix that.
SVN-Revision: 1908
Ricardo Cruz [Tue, 14 Sep 2004 10:39:32 +0000 (10:39 +0000)]
Mr. Ice Block can now break power up boxes as well as crafts.
SVN-Revision: 1907
Ricardo Cruz [Tue, 14 Sep 2004 10:27:05 +0000 (10:27 +0000)]
Made code using fireworks sound effect.
Also improved Particles: it now has acceleration and knows the difference of X and Y.
SVN-Revision: 1906
Ricardo Cruz [Tue, 14 Sep 2004 10:25:15 +0000 (10:25 +0000)]
Added a fireworks sound effect.
It ain't that good, but it's better to have something for someone to replace than nothing.
SVN-Revision: 1905
Ricardo Cruz [Mon, 13 Sep 2004 22:48:50 +0000 (22:48 +0000)]
Added fire works at the end sequence.
To do: add sound and tweak it a bit.
SVN-Revision: 1904
Ricardo Cruz [Mon, 13 Sep 2004 22:48:14 +0000 (22:48 +0000)]
Added simple particle system object. I called it Particles cause there is already a ParticleSystem class. Weather would be a better name for that class.
This particle system is just a rip off of one that I did for a game of mine.
I guess that with more customization it would be pretty good.
SVN-Revision: 1903
Ricardo Cruz [Mon, 13 Sep 2004 22:45:44 +0000 (22:45 +0000)]
Bug fix: on incencible mode, stars were being drawn even when player was in dying sequence (ie. when fall).
SVN-Revision: 1902
Ricardo Cruz [Mon, 13 Sep 2004 18:51:55 +0000 (18:51 +0000)]
Not used anymore. They were moved to lib/gui. Looks like Tobias forgot to remove these.
SVN-Revision: 1901
Ricardo Cruz [Mon, 13 Sep 2004 18:50:46 +0000 (18:50 +0000)]
Spawn points should now be working!
SVN-Revision: 1900
Ricardo Cruz [Mon, 13 Sep 2004 12:08:40 +0000 (12:08 +0000)]
Moved cheating code, so that it ain't run every cycle, but only when a new key is pressed.
last_keys.clear() shouldn't be needed and would shrink code a lot, but might be better to leave it.
SVN-Revision: 1899
Ricardo Cruz [Sun, 12 Sep 2004 16:11:49 +0000 (16:11 +0000)]
I guess this way is faster.
SVN-Revision: 1898
Ricardo Cruz [Sat, 11 Sep 2004 14:48:07 +0000 (14:48 +0000)]
I guess the checking is unnecessary.
SVN-Revision: 1897
Ricardo Cruz [Sat, 11 Sep 2004 14:22:01 +0000 (14:22 +0000)]
Implemented a cheating system, mainly for debugging.
It might be a bit ugly and could be faster. Feel free to replace it.
Cheat words are: grow, fire, ice, lifeup, lifedown, invincible.
SVN-Revision: 1896
Ricardo Cruz [Sat, 11 Sep 2004 13:32:04 +0000 (13:32 +0000)]
Arms should be drawn above enemies when grabbing.
SVN-Revision: 1895
Ricardo Cruz [Sat, 11 Sep 2004 13:31:37 +0000 (13:31 +0000)]
Player should be drawn above enemies.
SVN-Revision: 1894
Ricardo Cruz [Fri, 10 Sep 2004 08:55:49 +0000 (08:55 +0000)]
Give different layers to different body parts.
Bugfix: head not shown when ducking.
SVN-Revision: 1893
Ricardo Cruz [Fri, 10 Sep 2004 08:54:29 +0000 (08:54 +0000)]
Bugfix: when throwing ice block to the left Tux is hurt.
SVN-Revision: 1892
Ricardo Cruz [Thu, 9 Sep 2004 21:02:23 +0000 (21:02 +0000)]
Fixed spiky's y-offset, as well as a few of others bad values.
Looks like I mistakely change them when committing flamefish, since I was doing some testing on that version.
SVN-Revision: 1891
Ricardo Cruz [Thu, 9 Sep 2004 20:44:32 +0000 (20:44 +0000)]
Bugfix: ice blocks were hurting player when dropped.
SVN-Revision: 1890
Ricardo Cruz [Thu, 9 Sep 2004 18:57:05 +0000 (18:57 +0000)]
This should fix the position of ice blocks when hold.
SVN-Revision: 1889
Ricardo Cruz [Thu, 9 Sep 2004 18:42:18 +0000 (18:42 +0000)]
Tweaked scores.
SVN-Revision: 1888
Ricardo Cruz [Thu, 9 Sep 2004 10:45:26 +0000 (10:45 +0000)]
Fixed z-order on smalltux grabbing ice block.
SVN-Revision: 1887
Ricardo Cruz [Thu, 9 Sep 2004 10:41:16 +0000 (10:41 +0000)]
Fixed a few mistakes from the sprites files.
SVN-Revision: 1886
Ricardo Cruz [Thu, 9 Sep 2004 10:40:42 +0000 (10:40 +0000)]
Do not free mirror surfaces.
SVN-Revision: 1885
Ricardo Cruz [Thu, 9 Sep 2004 10:40:05 +0000 (10:40 +0000)]
Made a few mistakes with actions names.
SVN-Revision: 1884
Matthias Braun [Thu, 9 Sep 2004 10:13:52 +0000 (10:13 +0000)]
change bkgd_speed back to old values, if you use levelformat 1 then the speed has to be specified the speed in percent of the player speed, in version2 you have to specify the speed as a multiplier for player speed
SVN-Revision: 1883
Matthias Braun [Thu, 9 Sep 2004 10:11:56 +0000 (10:11 +0000)]
fix old levels background speed not getting adjusted to new format
SVN-Revision: 1882
Ricardo Cruz [Thu, 9 Sep 2004 10:00:00 +0000 (10:00 +0000)]
Implemented mirroring in Sprite, so that now it's possible to adjust left offsets.
SVN-Revision: 1881
Marek Moeckel [Thu, 9 Sep 2004 09:43:07 +0000 (09:43 +0000)]
Added a test level that shows several glitches.
See mailing list for more info
SVN-Revision: 1880
Matthias Braun [Wed, 8 Sep 2004 20:21:47 +0000 (20:21 +0000)]
do nto enable debug by default, otherwise we'll forget to disable that before making a release
SVN-Revision: 1879
Ricardo Cruz [Wed, 8 Sep 2004 17:40:02 +0000 (17:40 +0000)]
Netsrot patch duplicated an include.
SVN-Revision: 1878
Matthias Braun [Wed, 8 Sep 2004 17:32:32 +0000 (17:32 +0000)]
applied netsrot's patch
SVN-Revision: 1877
Ricardo Cruz [Wed, 8 Sep 2004 14:12:48 +0000 (14:12 +0000)]
This should definitively fix frames out of range.
SVN-Revision: 1876
Ricardo Cruz [Wed, 8 Sep 2004 13:59:09 +0000 (13:59 +0000)]
This checking is useless. It is done before drawing on update().
SVN-Revision: 1875
Ricardo Cruz [Wed, 8 Sep 2004 13:50:36 +0000 (13:50 +0000)]
This should fix animations. (bugs in the line of bomb explosions)
Though, there are still warnings of out of range animations. Would be nice if someone could have a look at this.
SVN-Revision: 1874
Ricardo Cruz [Wed, 8 Sep 2004 13:48:41 +0000 (13:48 +0000)]
Removed stupid checking.
SVN-Revision: 1873
Ricardo Cruz [Wed, 8 Sep 2004 13:33:30 +0000 (13:33 +0000)]
Fixed small Tux standing images used.
SVN-Revision: 1872
Ricardo Cruz [Wed, 8 Sep 2004 11:23:29 +0000 (11:23 +0000)]
Made use of small tux.
Support for null body parts.
SVN-Revision: 1871