supertux.git
19 years ago- menu patch from Matt Mets
Ryan Flegel [Sat, 9 Oct 2004 08:19:17 +0000 (08:19 +0000)]
- menu patch from Matt Mets

SVN-Revision: 2001

19 years ago- rest of 64bit fix.. missed some vars
Ryan Flegel [Sat, 9 Oct 2004 07:04:04 +0000 (07:04 +0000)]
- rest of 64bit fix.. missed some vars

SVN-Revision: 2000

19 years agofound some values for tux' flapping speed that feel okay when running (still a little...
Marek Moeckel [Fri, 8 Oct 2004 23:16:06 +0000 (23:16 +0000)]
found some values for tux' flapping speed that feel okay when running (still a little too fast, maybe).
Problem is, it's pure coincidence that they fit, since they don't depend on any other speed setting. However, this formula might serve as a basis on which the optimum flapping speed could be calculated.

SVN-Revision: 1999

19 years agoFading level's name text.
Ricardo Cruz [Fri, 8 Oct 2004 21:59:25 +0000 (21:59 +0000)]
Fading level's name text.

SVN-Revision: 1998

19 years ago- fixed blackscreen on amd64 (and likely other 64bit archs), thanks to bug
Ryan Flegel [Fri, 8 Oct 2004 17:45:07 +0000 (17:45 +0000)]
- fixed blackscreen on amd64 (and likely other 64bit archs), thanks to bug
  hunting done by cibomahto

SVN-Revision: 1997

19 years agochanging directions while flapping now works
Marek Moeckel [Fri, 8 Oct 2004 15:56:19 +0000 (15:56 +0000)]
changing directions while flapping now works
added some comments

SVN-Revision: 1996

19 years agowhen flapping, Tux' x-velocity decreases slowly now
Marek Moeckel [Fri, 8 Oct 2004 15:33:54 +0000 (15:33 +0000)]
when flapping, Tux' x-velocity decreases slowly now
values still need some adjustment, and changing directions while flapping doesn't work yet.

SVN-Revision: 1995

19 years agoMinor changes and additions to comply with the desktop entry standard.
Benjamin P. Jung [Fri, 8 Oct 2004 14:37:15 +0000 (14:37 +0000)]
Minor changes and additions to comply with the desktop entry standard.

SVN-Revision: 1994

19 years agoput both Ryan's and my flapping code into player.cpp with mine currently activated.
Marek Moeckel [Fri, 8 Oct 2004 14:28:42 +0000 (14:28 +0000)]
put both Ryan's and my flapping code into player.cpp with mine currently activated.
I'm trying to find a way to slowly decrease Tux' x-velocity when flapping, rather than instantly setting it to walk-speed.

SVN-Revision: 1993

19 years agoAdded two lines in .cvsignore to make people (that are as dumb as me) using Eclipse...
Benjamin P. Jung [Fri, 8 Oct 2004 14:27:51 +0000 (14:27 +0000)]
Added two lines in .cvsignore to make people (that are as dumb as me) using Eclipse for CVS operations happy:
.project and .cdtproject files are now ignored from cvs commits.

SVN-Revision: 1992

19 years agoBugfix: don't show weird number when level editing a level feed from the command...
Ricardo Cruz [Fri, 8 Oct 2004 12:19:05 +0000 (12:19 +0000)]
Bugfix: don't show weird number when level editing a level feed from the command line.

SVN-Revision: 1991

19 years agoFixed following bug from level editor:
Ricardo Cruz [Fri, 8 Oct 2004 11:07:38 +0000 (11:07 +0000)]
Fixed following bug from level editor:
- impossibility to add bad guys from a certain range.
- while mouse was pressed, tiles change was happening all the time.
- it's possible to make enemies out of tiles squares now.

Zoom is still broken on change() and on selection. It should also be supported on tilemap.

SVN-Revision: 1990

19 years ago- [sort of] reverted flapping to it's old form
Ryan Flegel [Thu, 7 Oct 2004 23:03:07 +0000 (23:03 +0000)]
- [sort of] reverted flapping to it's old form

SVN-Revision: 1989

19 years agoSometime ago I asked what keys ppl would prefer, made the changes now to reflect...
Ricardo Cruz [Thu, 7 Oct 2004 17:50:21 +0000 (17:50 +0000)]
Sometime ago I asked what keys ppl would prefer, made the changes now to reflect that.
Please, test this on a joystick.

TODO: add Up and Down level viewing.

SVN-Revision: 1988

19 years agoTwo leveleditor related bug fixes:
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

19 years agoUpdated worldmaps to reflext changes on worldmap format.
Ricardo Cruz [Wed, 6 Oct 2004 21:38:54 +0000 (21:38 +0000)]
Updated worldmaps to reflext changes on worldmap format.

SVN-Revision: 1986

19 years agoUpdated documentation with new syntax.
Ricardo Cruz [Wed, 6 Oct 2004 21:38:20 +0000 (21:38 +0000)]
Updated documentation with new syntax.

SVN-Revision: 1985

19 years agoSplited out level stuff from SpecialTile to a Level struct (similar to old one).
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

19 years agoAdded a != operator.
Ricardo Cruz [Wed, 6 Oct 2004 21:36:51 +0000 (21:36 +0000)]
Added a != operator.

SVN-Revision: 1983

19 years ago- tweaked flapping a bit, let me know what you think
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

19 years agoremoved one of the flapping levels since it doesn't work anymore
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

19 years agoadded another forest-themed level
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

19 years agoadded some tiles created by David Kamphausen
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

19 years agoadded spikes that point in different directions
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

19 years agoOnly show combo messages after 5 combos, as suggested by guys from IRC.
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

19 years agoAdded support for tile animation on worldmap.
Ricardo Cruz [Mon, 4 Oct 2004 21:11:24 +0000 (21:11 +0000)]
Added support for tile animation on worldmap.

SVN-Revision: 1976

19 years agoAdded the source XCF of the big tux's body parts.
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

19 years agoAdded the source XCF of the small tux's body parts.
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

19 years agoAdded the sources for the current hand-written Super Tux fonts. That might come in...
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

19 years ago-made flapping less powerful by reducing speed and height
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

19 years agoremoved outdated comment
Matthias Braun [Fri, 24 Sep 2004 21:33:59 +0000 (21:33 +0000)]
removed outdated comment

SVN-Revision: 1971

19 years agoadded another, extremely boring :-) flapping/combo testing level
Marek Moeckel [Fri, 24 Sep 2004 21:20:36 +0000 (21:20 +0000)]
added another, extremely boring :-) flapping/combo testing level

SVN-Revision: 1970

19 years agoremoved unused function whcih caused compile errors
Matthias Braun [Fri, 24 Sep 2004 21:19:25 +0000 (21:19 +0000)]
removed unused function whcih caused compile errors

SVN-Revision: 1969

19 years agoAdded a function to draw text on center of screen for comodity.
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

19 years agoMade changes to reflect change of way that alpha applied is handled.
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

19 years agoAdded an alpha parameter for transformation and got rid of ugly alpha draw_font(...
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

19 years agoOoops, forgot to upload level editor images!
Ricardo Cruz [Fri, 24 Sep 2004 17:32:15 +0000 (17:32 +0000)]
Ooops, forgot to upload level editor images!

SVN-Revision: 1965

19 years agoUploading the level editor I was working on - It isn't still usable, but it was only...
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

19 years agoCompletely re-written from scratch of buttons code.
Ricardo Cruz [Fri, 24 Sep 2004 15:08:04 +0000 (15:08 +0000)]
Completely re-written from scratch of buttons code.

SVN-Revision: 1963

19 years agoTweaks.
Ricardo Cruz [Fri, 24 Sep 2004 15:07:22 +0000 (15:07 +0000)]
Tweaks.

SVN-Revision: 1962

19 years agocustom messages for combos, depending on how many badguys were killed
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

19 years agoShow a message when more than one bad guys is killed in a row.
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

19 years agoadded two levels contributed by SuperTux players
Marek Moeckel [Wed, 22 Sep 2004 20:48:20 +0000 (20:48 +0000)]
added two levels contributed by SuperTux players

SVN-Revision: 1959

19 years ago- newgame player status bugfix
Ryan Flegel [Wed, 22 Sep 2004 17:04:22 +0000 (17:04 +0000)]
- newgame player status bugfix

SVN-Revision: 1958

19 years ago- fixed warnings pointed out by Frank
Ryan Flegel [Tue, 21 Sep 2004 22:03:32 +0000 (22:03 +0000)]
- fixed warnings pointed out by Frank

SVN-Revision: 1957

19 years agofixed some more buggy AC_ENABLE usage
Matthias Braun [Tue, 21 Sep 2004 11:13:09 +0000 (11:13 +0000)]
fixed some more buggy AC_ENABLE usage

SVN-Revision: 1956

19 years agofix check for debug flag
Matthias Braun [Tue, 21 Sep 2004 11:04:01 +0000 (11:04 +0000)]
fix check for debug flag

SVN-Revision: 1955

19 years ago- fixed bug reported by Frank van der Loo
Ryan Flegel [Mon, 20 Sep 2004 19:57:47 +0000 (19:57 +0000)]
- fixed bug reported by Frank van der Loo

SVN-Revision: 1954

19 years agoBugfix: Don't kill badguys when they are already dying or in a certain mode (bombs...
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

19 years agoChanged FloatingScore to support text (changed name to FloatingText). I guess this...
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

19 years agoFixed layout on worldmap message.
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

19 years agoWhen swap keep statistics so far. (not tested - I'd appreaciate if someone would...
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

19 years agofurther updated flapping parcours
Marek Moeckel [Sat, 18 Sep 2004 17:49:42 +0000 (17:49 +0000)]
further updated flapping parcours

SVN-Revision: 1949

19 years agoTux can now flap after bouncing off an enemy
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

19 years agofixed "flapping key not responding"-problem
Marek Moeckel [Sat, 18 Sep 2004 16:39:41 +0000 (16:39 +0000)]
fixed "flapping key not responding"-problem

SVN-Revision: 1947

19 years agoContrib worldmaps are now being saved.
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

19 years agoupdated flapping parcours
Marek Moeckel [Sat, 18 Sep 2004 09:53:07 +0000 (09:53 +0000)]
updated flapping parcours

SVN-Revision: 1945

19 years agofixed problems with the flapping key not responding
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

19 years agoOoops. Mistake.
Ricardo Cruz [Fri, 17 Sep 2004 19:04:04 +0000 (19:04 +0000)]
Ooops. Mistake.

SVN-Revision: 1943

19 years agoFixed Score = -1 on worldmap display when no level has been played in a fresh slot.
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

19 years agoFixed levels on contribs menu.
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

19 years agoGood contrib levels should be placed here!
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

19 years agoFixed when of the warning that appear to Frank.
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

19 years agoRemove particles when they get off the screen.
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

19 years agoAdded Total to statistics.
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

19 years agodon't loose a life when using the "kill" cheat
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

19 years agoadded a flapping test parcours, try it!
Marek Moeckel [Fri, 17 Sep 2004 11:28:56 +0000 (11:28 +0000)]
added a flapping test parcours, try it!

SVN-Revision: 1935

19 years agoreplaced double jumping with flapping
Marek Moeckel [Thu, 16 Sep 2004 23:26:26 +0000 (23:26 +0000)]
replaced double jumping with flapping

SVN-Revision: 1934

19 years agojust changed tabs for spaces :)
Marek Moeckel [Thu, 16 Sep 2004 20:58:41 +0000 (20:58 +0000)]
just changed tabs for spaces :)

SVN-Revision: 1933

19 years agoplay jump sound again when double jumping
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

19 years agoSetup-ed fire works for open air levels.
Ricardo Cruz [Thu, 16 Sep 2004 18:59:06 +0000 (18:59 +0000)]
Setup-ed fire works for open air levels.

SVN-Revision: 1931

19 years agoInfo about (end-sequence-animation "")
Ricardo Cruz [Thu, 16 Sep 2004 18:56:36 +0000 (18:56 +0000)]
Info about (end-sequence-animation "")

SVN-Revision: 1930

19 years agoAdded support for setting up end sequence animations on levels.
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

19 years agoImproved layout of statistics displaying.
Ricardo Cruz [Thu, 16 Sep 2004 18:16:16 +0000 (18:16 +0000)]
Improved layout of statistics displaying.

SVN-Revision: 1928

19 years agoChanged behavior of centered text drawing and added right allignment, as well.
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

19 years agoAdded a "gotoend" cheat to put Tux near the end of the level.
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

19 years agoFixed draw_part() when alpha != 255.
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

19 years agodisabled hovering by default (needs tweaking!)
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

19 years agoUpdate translation files.
Ricardo Cruz [Wed, 15 Sep 2004 22:12:48 +0000 (22:12 +0000)]
Update translation files.
Translated Portuguese.

SVN-Revision: 1923

19 years agoForgot to make this translatable.
Ricardo Cruz [Wed, 15 Sep 2004 22:12:00 +0000 (22:12 +0000)]
Forgot to make this translatable.

SVN-Revision: 1922

19 years agoAdded drawing of statistics on levels messages and game over.
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

19 years agoadded two new cheat codes:
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

19 years agoAdded a Jump 'n Bump like way to show statistics.
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

19 years agoAdded an alpha argument for drawing fonts.
Ricardo Cruz [Wed, 15 Sep 2004 18:47:45 +0000 (18:47 +0000)]
Added an alpha argument for drawing fonts.

SVN-Revision: 1918

19 years agoimplemented double jump (press up again while jumping) and hovering (press and hold...
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

19 years agoMade statistics to keep track of also: bad guys squished, shots, time needed and...
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

19 years agoDon't forget to include extro-bonus.txt.
Ricardo Cruz [Wed, 15 Sep 2004 10:43:19 +0000 (10:43 +0000)]
Don't forget to include extro-bonus.txt.

SVN-Revision: 1915

19 years agoUpdated Portuguese translation.
Ricardo Cruz [Wed, 15 Sep 2004 10:41:27 +0000 (10:41 +0000)]
Updated Portuguese translation.

SVN-Revision: 1914

19 years agoBug fix: files were not listed correctly, so 'make update-po' was not working.
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

19 years agoOoops, forgot to upload the actual Statistics implementation.
Ricardo Cruz [Tue, 14 Sep 2004 22:31:46 +0000 (22:31 +0000)]
Ooops, forgot to upload the actual Statistics implementation.

SVN-Revision: 1912

19 years agoImplemented a statistics system. I believe this feature was originally requested...
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

19 years agoadded extro-bonus.txt to HEAD
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

19 years agoadded lava to level26
Marek Moeckel [Tue, 14 Sep 2004 19:07:31 +0000 (19:07 +0000)]
added lava to level26

SVN-Revision: 1909

19 years agoWhen typying 'lifeup' pause is triggered (cause of the last 'p'). Made a work around...
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

19 years agoMr. Ice Block can now break power up boxes as well as crafts.
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

19 years agoMade code using fireworks sound effect.
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

19 years agoAdded a fireworks sound effect.
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

19 years agoAdded fire works at the end sequence.
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

19 years agoAdded simple particle system object. I called it Particles cause there is already...
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

19 years agoBug fix: on incencible mode, stars were being drawn even when player was in dying...
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