Ricardo Cruz [Thu, 7 Oct 2004 17:10:28 +0000 (17:10 +0000)]
Two leveleditor related bug fixes:
- don't show empty tiles on tiles board;
- don't show weird tiles when viewing stuff outside the level margins.
SVN-Revision: 1987
Ricardo Cruz [Wed, 6 Oct 2004 21:38:54 +0000 (21:38 +0000)]
Updated worldmaps to reflext changes on worldmap format.
SVN-Revision: 1986
Ricardo Cruz [Wed, 6 Oct 2004 21:38:20 +0000 (21:38 +0000)]
Updated documentation with new syntax.
SVN-Revision: 1985
Ricardo Cruz [Wed, 6 Oct 2004 21:37:51 +0000 (21:37 +0000)]
Splited out level stuff from SpecialTile to a Level struct (similar to old one).
SVN-Revision: 1984
Ricardo Cruz [Wed, 6 Oct 2004 21:36:51 +0000 (21:36 +0000)]
Added a != operator.
SVN-Revision: 1983
Ryan Flegel [Wed, 6 Oct 2004 05:20:07 +0000 (05:20 +0000)]
- tweaked flapping a bit, let me know what you think
- it currently sets y accel to 0.5 + 0.6*xr to float
- 0.5 is the minimum acceleration upwards (vs gravity)
- 0.6 is how much more you can achieve with maximum x velocity
- xr is a ratio of x-vel/max-x-vel
- default gravity is -0.1, so at max speed with flapping you slowly gain
a little height
SVN-Revision: 1982
Marek Moeckel [Tue, 5 Oct 2004 22:47:08 +0000 (22:47 +0000)]
removed one of the flapping levels since it doesn't work anymore
SVN-Revision: 1981
Marek Moeckel [Tue, 5 Oct 2004 22:40:30 +0000 (22:40 +0000)]
added another forest-themed level
it is still unfinished, by which I mean "able to annoy the crap out of you", among other things. So be warned. :-)
SVN-Revision: 1980
Marek Moeckel [Tue, 5 Oct 2004 14:38:52 +0000 (14:38 +0000)]
added some tiles created by David Kamphausen
created a new forest-themed test level
SVN-Revision: 1979
Marek Moeckel [Tue, 5 Oct 2004 12:21:02 +0000 (12:21 +0000)]
added spikes that point in different directions
out-commented para-background-tiles from supertux.stgt because they crash flexlay
SVN-Revision: 1978
Ricardo Cruz [Mon, 4 Oct 2004 21:13:16 +0000 (21:13 +0000)]
Only show combo messages after 5 combos, as suggested by guys from IRC.
I don't particularly like this, but it's better than the current. I'd prefer to keep combos messages being shown after combos been made...
Also, messages could be improved. Suggestions?
SVN-Revision: 1977
Ricardo Cruz [Mon, 4 Oct 2004 21:11:24 +0000 (21:11 +0000)]
Added support for tile animation on worldmap.
SVN-Revision: 1976
Benjamin P. Jung [Mon, 4 Oct 2004 12:20:43 +0000 (12:20 +0000)]
Added the source XCF of the big tux's body parts.
SVN-Revision: 1975
Benjamin P. Jung [Mon, 4 Oct 2004 12:15:32 +0000 (12:15 +0000)]
Added the source XCF of the small tux's body parts.
SVN-Revision: 1974
Benjamin P. Jung [Mon, 4 Oct 2004 12:01:45 +0000 (12:01 +0000)]
Added the sources for the current hand-written Super Tux fonts. That might come in handy if someone wishes to extend the current charset and doesn't know how the original fonts have been done...
SVN-Revision: 1973
Marek Moeckel [Sun, 3 Oct 2004 10:58:04 +0000 (10:58 +0000)]
-made flapping less powerful by reducing speed and height
-updated testing parcours accordingly
TODO: The sliding glitch (see test/level13) sometimes happens happens here, too, after climbing onto an edge by flapping.
SVN-Revision: 1972
Matthias Braun [Fri, 24 Sep 2004 21:33:59 +0000 (21:33 +0000)]
removed outdated comment
SVN-Revision: 1971
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