supertux.git
20 years ago- Added a couple handles and changed case on some
Ryan Flegel [Mon, 10 May 2004 05:18:33 +0000 (05:18 +0000)]
- Added a couple handles and changed case on some

SVN-Revision: 1062

20 years agoremoved double shortcuts in leveleditor. updated level-editor turorial.
Tobias Gläßer [Sun, 9 May 2004 22:15:28 +0000 (22:15 +0000)]
removed double shortcuts in leveleditor. updated level-editor turorial.

SVN-Revision: 1061

20 years agoRemoved the screen free. It was already been freed before, this could be the cause...
Ricardo Cruz [Sun, 9 May 2004 21:44:07 +0000 (21:44 +0000)]
Removed the screen free. It was already been freed before, this could be the cause of Win32 crashes related by Ryan...

SVN-Revision: 1060

20 years agoInstead of limitating the number of bullets, according to the ones in screen, do...
Ricardo Cruz [Sun, 9 May 2004 21:15:58 +0000 (21:15 +0000)]
Instead of limitating the number of bullets, according to the ones in screen, do it in a time bases.
This was asked in a comment on The Linux Game Tome and I already wanted to do this, since the day I made that hack, so here it goes.
You can tune that time on the defines.h file, it is the BULLETS_TIMEOUT definition (in ms). There is a fire test level.

SVN-Revision: 1059

20 years agoA new round of levels updating by Marek!
Ricardo Cruz [Sun, 9 May 2004 20:24:20 +0000 (20:24 +0000)]
A new round of levels updating by Marek!
He has now get cvs access, so I guess I'll no longer be his sponser :(
:D

SVN-Revision: 1058

20 years agochanged to look a bit better in the editor
Tobias Gläßer [Sun, 9 May 2004 20:10:23 +0000 (20:10 +0000)]
changed to look a bit better in the editor

SVN-Revision: 1057

20 years agobig white font correction
Tobias Gläßer [Sun, 9 May 2004 19:56:11 +0000 (19:56 +0000)]
big white font correction

SVN-Revision: 1056

20 years agoupdate
Tobias Gläßer [Sun, 9 May 2004 19:55:32 +0000 (19:55 +0000)]
update

SVN-Revision: 1055

20 years ago- increased Tux's safe time to 1250ms
Ryan Flegel [Sun, 9 May 2004 19:34:43 +0000 (19:34 +0000)]
- increased Tux's safe time to 1250ms

SVN-Revision: 1054

20 years agoAdded a static member function to the Surface class for screen capturing. Redesigned...
Tobias Gläßer [Sun, 9 May 2004 18:08:02 +0000 (18:08 +0000)]
Added a static member function to the Surface class for screen capturing. Redesigned the confirm dialog using it.
Minor leveleditor improvements. (Asks if you want to save
a changed level etc.)

SVN-Revision: 1053

20 years agoDon't show selection cursor when help is being displayed.
Ricardo Cruz [Sun, 9 May 2004 13:55:54 +0000 (13:55 +0000)]
Don't show selection cursor when help is being displayed.

SVN-Revision: 1052

20 years agoCleanuped code and applied it to draw_bg() and draw_part() as well.
Ricardo Cruz [Sun, 9 May 2004 13:49:14 +0000 (13:49 +0000)]
Cleanuped code and applied it to draw_bg() and draw_part() as well.

SVN-Revision: 1051

20 years agoMinimap works in SDL now and one more crash is fixed.
Tobias Gläßer [Sun, 9 May 2004 11:14:18 +0000 (11:14 +0000)]
Minimap works in SDL now and one more crash is fixed.
Changed the Help a bit, but it's still in the works.

SVN-Revision: 1050

20 years agoSDL draw() now supports alpha blitting.
Ricardo Cruz [Sun, 9 May 2004 01:13:20 +0000 (01:13 +0000)]
SDL draw() now supports alpha blitting.

SVN-Revision: 1049

20 years agoAdded explode(). Avoid duplicated code, futhermore, allows any badguy to explode.
Ricardo Cruz [Sat, 8 May 2004 23:46:43 +0000 (23:46 +0000)]
Added explode(). Avoid duplicated code, futhermore, allows any badguy to explode.

SVN-Revision: 1048

20 years agoif a stalactite hits a Mr. Bomb, explode, instead of falling.
Ricardo Cruz [Sat, 8 May 2004 23:21:21 +0000 (23:21 +0000)]
if a stalactite hits a Mr. Bomb, explode, instead of falling.
Do you agree with this behavior?

SVN-Revision: 1047

20 years agoJust add a couple of different background tiles, so that it everything doesn't look...
Ricardo Cruz [Sat, 8 May 2004 20:03:02 +0000 (20:03 +0000)]
Just add a couple of different background tiles, so that it everything doesn't look equal.

SVN-Revision: 1046

20 years agoSmall clean-up.
Ricardo Cruz [Sat, 8 May 2004 14:57:07 +0000 (14:57 +0000)]
Small clean-up.

SVN-Revision: 1045

20 years agoPrevent "Return to Level Editor" from working, if no levelsubset is loaded. This...
Tobias Gläßer [Sat, 8 May 2004 12:39:28 +0000 (12:39 +0000)]
Prevent "Return to Level Editor" from working, if no levelsubset is loaded. This solves a few possible crashes.

SVN-Revision: 1044

20 years agominor fix, that makes sure a time_left value is set, if you want to test a level.
Tobias Gläßer [Sat, 8 May 2004 12:16:06 +0000 (12:16 +0000)]
minor fix, that makes sure a time_left value is set, if you want to test a level.

SVN-Revision: 1043

20 years agochange back to to le_world as current world, when we are done testing our level.
Tobias Gläßer [Sat, 8 May 2004 12:01:56 +0000 (12:01 +0000)]
change back to to le_world as current world, when we are done testing our level.

SVN-Revision: 1042

20 years agoMake sure that tiles are loaded before tilegroups are requested. This fixed a bug...
Tobias Gläßer [Sat, 8 May 2004 11:35:04 +0000 (11:35 +0000)]
Make sure that tiles are loaded before tilegroups are requested. This fixed a bug when loading leveleditor from command-line.

SVN-Revision: 1041

20 years agoThere is no need in saving on exit, since it already saves in level exit.
Ricardo Cruz [Sat, 8 May 2004 10:45:52 +0000 (10:45 +0000)]
There is no need in saving on exit, since it already saves in level exit.

SVN-Revision: 1040

20 years agoFixes death in modes different than the autoscrolling.
Ricardo Cruz [Sat, 8 May 2004 10:41:42 +0000 (10:41 +0000)]
Fixes death in modes different than the autoscrolling.

SVN-Revision: 1039

20 years agoFixed some leveleditor-object/badguy issues.
Tobias Gläßer [Sat, 8 May 2004 00:28:46 +0000 (00:28 +0000)]
Fixed some leveleditor-object/badguy issues.

SVN-Revision: 1038

20 years agoRemoved goodies from the intro (demo) level.
Ricardo Cruz [Sat, 8 May 2004 00:06:35 +0000 (00:06 +0000)]
Removed goodies from the intro (demo) level.

SVN-Revision: 1037

20 years agoFixed bug that was causing player's dead.
Ricardo Cruz [Sat, 8 May 2004 00:04:00 +0000 (00:04 +0000)]
Fixed bug that was causing player's dead.
Don't think it is totally solved

SVN-Revision: 1036

20 years agoFixed creating level-subset again.
Tobias Gläßer [Fri, 7 May 2004 23:45:24 +0000 (23:45 +0000)]
Fixed creating level-subset again.

SVN-Revision: 1035

20 years agofixed logo, old one was missing a row of pixels on the top and on the right
Ingo Ruhnke [Fri, 7 May 2004 23:21:07 +0000 (23:21 +0000)]
fixed logo, old one was missing a row of pixels on the top and on the right

SVN-Revision: 1034

20 years agoTest level for auto-scrolling.
Ricardo Cruz [Fri, 7 May 2004 23:10:54 +0000 (23:10 +0000)]
Test level for auto-scrolling.

SVN-Revision: 1033

20 years agoAdded horizontal auto scrolling!
Ricardo Cruz [Fri, 7 May 2004 23:09:53 +0000 (23:09 +0000)]
Added horizontal auto scrolling!
Hope you like it ;)

SVN-Revision: 1032

20 years agoThis is working fine now, right?
Ricardo Cruz [Fri, 7 May 2004 23:09:04 +0000 (23:09 +0000)]
This is working fine now, right?

SVN-Revision: 1031

20 years ago- another piece from ZhayTee
Ingo Ruhnke [Fri, 7 May 2004 23:05:54 +0000 (23:05 +0000)]
- another piece from ZhayTee

SVN-Revision: 1030

20 years ago- piece of music from ZhayTee
Ingo Ruhnke [Fri, 7 May 2004 21:43:23 +0000 (21:43 +0000)]
- piece of music from ZhayTee

SVN-Revision: 1029

20 years agonew issue
Ingo Ruhnke [Fri, 7 May 2004 21:24:58 +0000 (21:24 +0000)]
new issue

SVN-Revision: 1028

20 years agoadded new issue
Ingo Ruhnke [Fri, 7 May 2004 21:14:42 +0000 (21:14 +0000)]
added new issue

SVN-Revision: 1027

20 years agomajor changes to the leveleditor internals, there are a few bugs expected to appear...
Tobias Gläßer [Fri, 7 May 2004 20:48:22 +0000 (20:48 +0000)]
major changes to the leveleditor internals, there are a few bugs expected to appear, but this had to be made!

SVN-Revision: 1026

20 years agoAdded support for silver's Benjamin font.
Ricardo Cruz [Fri, 7 May 2004 13:46:50 +0000 (13:46 +0000)]
Added support for silver's Benjamin font.

SVN-Revision: 1025

20 years agoReplaced letters by Benjamin's hand-written ones.
Ricardo Cruz [Fri, 7 May 2004 13:45:29 +0000 (13:45 +0000)]
Replaced letters by Benjamin's hand-written ones.

SVN-Revision: 1024

20 years agoReplaced current back icon with Benjamin's one. It's so much better.
Ricardo Cruz [Fri, 7 May 2004 13:44:13 +0000 (13:44 +0000)]
Replaced current back icon with Benjamin's one. It's so much better.

SVN-Revision: 1023

20 years agoFile moved.
Ricardo Cruz [Fri, 7 May 2004 13:43:34 +0000 (13:43 +0000)]
File moved.

SVN-Revision: 1022

20 years agoMoved back button to an old dir.
Ricardo Cruz [Fri, 7 May 2004 13:42:53 +0000 (13:42 +0000)]
Moved back button to an old dir.

SVN-Revision: 1021

20 years agoadded (I forgot to add them, shame on me)
Tobias Gläßer [Fri, 7 May 2004 10:56:39 +0000 (10:56 +0000)]
added (I forgot to add them, shame on me)

SVN-Revision: 1020

20 years agoadded news
Ingo Ruhnke [Fri, 7 May 2004 10:09:10 +0000 (10:09 +0000)]
added news

SVN-Revision: 1019

20 years agoAdded support for Benjamin's green fonts.
Ricardo Cruz [Fri, 7 May 2004 00:30:43 +0000 (00:30 +0000)]
Added support for Benjamin's green fonts.

SVN-Revision: 1018

20 years agoReplaced - by _ for the flickering input cursor.
Ricardo Cruz [Fri, 7 May 2004 00:22:28 +0000 (00:22 +0000)]
Replaced - by _ for the flickering input cursor.
This is now possible thankfull to Benjamin's fonts.

SVN-Revision: 1017

20 years agoSupport for Benjamin's fonts.
Ricardo Cruz [Fri, 7 May 2004 00:20:29 +0000 (00:20 +0000)]
Support for Benjamin's fonts.

SVN-Revision: 1016

20 years agoReplaced fonts by Atari Benjamin's ones.
Ricardo Cruz [Fri, 7 May 2004 00:19:57 +0000 (00:19 +0000)]
Replaced fonts by Atari Benjamin's ones.
This are very similiar, but they make possible to use more characters!

SVN-Revision: 1015

20 years agoMoved SCREEN_W and SCREEN_H to setup.cpp to avoid ppl using them.
Ricardo Cruz [Thu, 6 May 2004 21:39:47 +0000 (21:39 +0000)]
Moved SCREEN_W and SCREEN_H to setup.cpp to avoid ppl using them.

SVN-Revision: 1014

20 years ago- improved background by Christopher A. Webber
Ingo Ruhnke [Thu, 6 May 2004 20:32:42 +0000 (20:32 +0000)]
- improved background by Christopher A. Webber

SVN-Revision: 1013

20 years ago- made supertux g++295 friendly
Ingo Ruhnke [Thu, 6 May 2004 20:02:27 +0000 (20:02 +0000)]
- made supertux g++295 friendly

SVN-Revision: 1012

20 years agoTileGroups are placed in a set now. BUTTON_WHEELUP and BUTTON_WHEELDOWN fixes.
Tobias Gläßer [Thu, 6 May 2004 19:55:39 +0000 (19:55 +0000)]
TileGroups are placed in a set now. BUTTON_WHEELUP and  BUTTON_WHEELDOWN fixes.

SVN-Revision: 1011

20 years ago- undid Ricardo's changes
Ryan Flegel [Thu, 6 May 2004 18:49:52 +0000 (18:49 +0000)]
- undid Ricardo's changes

SVN-Revision: 1010

20 years ago- added backscroll test level
Ryan Flegel [Thu, 6 May 2004 18:49:10 +0000 (18:49 +0000)]
- added backscroll test level

SVN-Revision: 1009

20 years agoFixed bug where tiles/objects could be drawn while scrolling.
Tobias Gläßer [Thu, 6 May 2004 16:50:30 +0000 (16:50 +0000)]
Fixed bug where tiles/objects could be drawn while scrolling.

SVN-Revision: 1008

20 years agoMade worldmap to save game on exit.
Ricardo Cruz [Thu, 6 May 2004 15:09:47 +0000 (15:09 +0000)]
Made worldmap to save game on exit.
And removed Save menu item, it's useless, since the game automatically saves the game, and only confuses the player.

SVN-Revision: 1007

20 years agoThis should work, i guess...
Ricardo Cruz [Thu, 6 May 2004 15:03:24 +0000 (15:03 +0000)]
This should work, i guess...

SVN-Revision: 1006

20 years agoJust added leveleditor argument to help info.
Ricardo Cruz [Thu, 6 May 2004 12:51:27 +0000 (12:51 +0000)]
Just added leveleditor argument to help info.

SVN-Revision: 1005

20 years agoMade the back scrolling to work in debug mode (and also only).
Ricardo Cruz [Thu, 6 May 2004 12:47:45 +0000 (12:47 +0000)]
Made the back scrolling to work in debug mode (and also only).
If you want to test it, just run supertux as 'supertux --debug-mode'.

SVN-Revision: 1004

20 years ago- replaced some fabs() where fabsf() should be used
Ryan Flegel [Thu, 6 May 2004 02:12:36 +0000 (02:12 +0000)]
- replaced some fabs() where fabsf() should be used
- made jumpy's animation follow the laws of physics more closely (springs)

SVN-Revision: 1003

20 years ago- made some backscroll changes.
Ryan Flegel [Wed, 5 May 2004 23:58:06 +0000 (23:58 +0000)]
- made some backscroll changes.
It's now a little better, but still needs some work.

SVN-Revision: 1002

20 years ago- fixed scrolling problem when starting from a reset point
Ryan Flegel [Wed, 5 May 2004 22:24:37 +0000 (22:24 +0000)]
- fixed scrolling problem when starting from a reset point

SVN-Revision: 1001

20 years agoadded draw_stretched capability to surface* and tile* classes and moreover built...
Tobias Gläßer [Wed, 5 May 2004 22:04:48 +0000 (22:04 +0000)]
added draw_stretched capability to surface* and tile* classes and moreover built a minimap upon it for the leveleditor. Unfortunately it only works correctly in OpenGL mode, therefore it is disabled in software mode.

SVN-Revision: 1000

20 years agoFixed Objects drag+drop bug. LevelEditor cursor tuning.
Tobias Gläßer [Wed, 5 May 2004 20:05:09 +0000 (20:05 +0000)]
Fixed Objects drag+drop bug. LevelEditor cursor tuning.

SVN-Revision: 999

20 years agoLevelEditor tilegroup/object select by wheelup/wheeldown on buttons. Support for...
Tobias Gläßer [Wed, 5 May 2004 16:59:41 +0000 (16:59 +0000)]
LevelEditor tilegroup/object select by wheelup/wheeldown on buttons. Support for WheelUp and WheelDown in Buttons.

SVN-Revision: 998

20 years agoMade leveleditor to start in a specific file when ran as:
Ricardo Cruz [Wed, 5 May 2004 16:07:20 +0000 (16:07 +0000)]
Made leveleditor to start in a specific file when ran as:
supertux --leveleditor levelname.stl
Unfortanely, it crashes when creating the Objects menu. I don't think it is related with my code, so here is the commit.

SVN-Revision: 997

20 years agoAdding Objects works through clicking instead pressing now.
Tobias Gläßer [Wed, 5 May 2004 14:38:12 +0000 (14:38 +0000)]
Adding Objects works through clicking instead pressing now.

SVN-Revision: 995

20 years agowell, actually I created this ... not that wonderful level for 0.0.5 ;)
Tobias Gläßer [Wed, 5 May 2004 13:15:35 +0000 (13:15 +0000)]
well, actually I created this ... not that wonderful level for 0.0.5 ;)

SVN-Revision: 994

20 years agoa ButtonPanel is able to highlight the last clicked/activated item now. A double...
Tobias Gläßer [Wed, 5 May 2004 12:59:18 +0000 (12:59 +0000)]
a ButtonPanel is able to highlight the last clicked/activated item now. A double/tripple shortcut was replaced in the leveleditor.

SVN-Revision: 993

20 years agofixed a crash when creating a new levelsubset in the editor
Tobias Gläßer [Wed, 5 May 2004 12:27:51 +0000 (12:27 +0000)]
fixed a crash when creating a new levelsubset in the editor

SVN-Revision: 992

20 years agoJust tuned the X_SPACE, so that Tux position in screen is exactly the same as before.
Ricardo Cruz [Wed, 5 May 2004 12:03:50 +0000 (12:03 +0000)]
Just tuned the X_SPACE, so that Tux position in screen is exactly the same as before.
Check and remove the TODO point, in case you agree.

SVN-Revision: 991

20 years agoimages/icon.png in Makefile.am removed as requested by Ricardo Cruz
Duong-Khang Nguyen [Wed, 5 May 2004 11:08:16 +0000 (11:08 +0000)]
images/icon.png in Makefile.am removed as requested by Ricardo Cruz

SVN-Revision: 990

20 years ago- fixed scrolling past level bug
Ryan Flegel [Wed, 5 May 2004 04:04:05 +0000 (04:04 +0000)]
- fixed scrolling past level bug

SVN-Revision: 989

20 years ago- fixed the part of backscrolling that a broke. Backscrolling still needs some work.
Ryan Flegel [Wed, 5 May 2004 02:59:27 +0000 (02:59 +0000)]
- fixed the part of backscrolling that a broke. Backscrolling still needs some work.

SVN-Revision: 988

20 years ago- fixed small scrolling bug
Ryan Flegel [Tue, 4 May 2004 23:39:40 +0000 (23:39 +0000)]
- fixed small scrolling bug
- added screwed up backscroll to TODO

SVN-Revision: 987

20 years agoMade intro demo to use the ordinary background (arctis2.jpg).
Ricardo Cruz [Tue, 4 May 2004 22:49:38 +0000 (22:49 +0000)]
Made intro demo to use the ordinary background (arctis2.jpg).
Anyway, shouldn't a PNG file be preferible...

SVN-Revision: 986

20 years ago*** empty log message ***
Tobias Gläßer [Tue, 4 May 2004 22:34:34 +0000 (22:34 +0000)]
*** empty log message ***

SVN-Revision: 985

20 years agoLevelEditor bug-fixes, improvements and fine-tuning.
Tobias Gläßer [Tue, 4 May 2004 22:16:11 +0000 (22:16 +0000)]
LevelEditor bug-fixes, improvements and fine-tuning.

SVN-Revision: 984

20 years agoscrolling is broken
Matthias Braun [Tue, 4 May 2004 21:54:42 +0000 (21:54 +0000)]
scrolling is broken

SVN-Revision: 983

20 years agocorrected typo
Tobias Gläßer [Tue, 4 May 2004 20:57:01 +0000 (20:57 +0000)]
corrected typo

SVN-Revision: 982

20 years agoAdded a comment.
Tobias Gläßer [Tue, 4 May 2004 19:49:39 +0000 (19:49 +0000)]
Added a comment.

SVN-Revision: 981

20 years agoAdded another point.
Ricardo Cruz [Tue, 4 May 2004 19:13:42 +0000 (19:13 +0000)]
Added another point.

SVN-Revision: 980

20 years agoRemoved scrolling printf, back scrolling from level 13 and snow from menu.
Ricardo Cruz [Tue, 4 May 2004 19:12:39 +0000 (19:12 +0000)]
Removed scrolling printf, back scrolling from level 13 and snow from menu.
So, two points are gone now.
Notice that the back scrolling is still in development, so please calm down, and don't add it to the TODO as a bug. Besides no level use it. I told Ryan to give a look at that code now.

SVN-Revision: 979

20 years agoThe background was being drawn twice, as reported by Ingo.
Ricardo Cruz [Tue, 4 May 2004 18:58:51 +0000 (18:58 +0000)]
The background was being drawn twice, as reported by Ingo.
Ingo, could you replace all powerup boxes with money ones. Thx
And why was the background changed? This one sucks when scrolling (it has a column of pixels on the right that give a bad look).

SVN-Revision: 978

20 years agomore issues
Ingo Ruhnke [Tue, 4 May 2004 17:42:56 +0000 (17:42 +0000)]
more issues

SVN-Revision: 977

20 years ago*** empty log message ***
Ingo Ruhnke [Tue, 4 May 2004 17:31:27 +0000 (17:31 +0000)]
*** empty log message ***

SVN-Revision: 976

20 years agoupdate
Tobias Gläßer [Tue, 4 May 2004 17:14:10 +0000 (17:14 +0000)]
update

SVN-Revision: 975

20 years agoRemoved scrolling bug, added an Abort level one.
Ricardo Cruz [Tue, 4 May 2004 17:00:01 +0000 (17:00 +0000)]
Removed scrolling bug, added an Abort level one.

SVN-Revision: 974

20 years agoFixed frame_ratio() workaround.
Ricardo Cruz [Tue, 4 May 2004 16:03:48 +0000 (16:03 +0000)]
Fixed frame_ratio() workaround.

SVN-Revision: 973

20 years agoFixed srolling camera move. Silly me, I forgot about the frame rates.
Ricardo Cruz [Tue, 4 May 2004 15:38:58 +0000 (15:38 +0000)]
Fixed srolling camera move. Silly me, I forgot about the frame rates.
It still doesn't work, since the frame_ratio variable is not calculated... It has allways the same value. Is this some workaround?
�  action(1.0f);  �

SVN-Revision: 972

20 years agoAdded a test for a end of level scrolling test...
Ricardo Cruz [Tue, 4 May 2004 14:41:14 +0000 (14:41 +0000)]
Added a test for a end of level scrolling test...
There seems to be an end sequence issue regarding this, doesn't it make use of the scrolling()?

SVN-Revision: 971

20 years agoMoved this image to the old shared dir, in order to prevent it from being included...
Ricardo Cruz [Tue, 4 May 2004 14:26:15 +0000 (14:26 +0000)]
Moved this image to the old shared dir, in order to prevent it from being included in the next version.

SVN-Revision: 970

20 years ago- icon is not useless, the .xpm version is scaled down, the .png has the original...
Ingo Ruhnke [Tue, 4 May 2004 14:02:56 +0000 (14:02 +0000)]
- icon is not useless, the .xpm version is scaled down, the .png has the original size

SVN-Revision: 969

20 years agoMade it possible for Tux to be in a position before the half of the screen.
Ricardo Cruz [Tue, 4 May 2004 13:59:00 +0000 (13:59 +0000)]
Made it possible for Tux to be in a position before the half of the screen.
Started implementing a moving camera, but it isn't working very well, i'll have a look at it later.

SVN-Revision: 968

20 years agoUseless icon, the XPM works fine under windows.
Ricardo Cruz [Tue, 4 May 2004 13:57:14 +0000 (13:57 +0000)]
Useless icon, the XPM works fine under windows.

SVN-Revision: 967

20 years agoJust put screen's width and height as definitions.
Ricardo Cruz [Tue, 4 May 2004 11:27:47 +0000 (11:27 +0000)]
Just put screen's width and height as definitions.

SVN-Revision: 964

20 years agoJust added the Power/Run key to the README, as our John Spray player indicated.
Ricardo Cruz [Tue, 4 May 2004 00:32:25 +0000 (00:32 +0000)]
Just added the Power/Run key to the README, as our John Spray player indicated.

SVN-Revision: 963

20 years agoChanged the way the scrolling was calculated. Instead of calculating it relatively...
Ricardo Cruz [Mon, 3 May 2004 23:44:28 +0000 (23:44 +0000)]
Changed the way the scrolling was calculated. Instead of calculating it relatively to the middle of the screen, calculte it relatively to the borders.
This solution is more clear (IMO) and elegant because; there isn't that ugly code anymore:
scroll_x -= screen.w / 2;
(...)
scroll_x += screen.w / 2;

Besides from that, in case we change the resolution, this makes the playbility to be not affected.

Note: if you think the scrolling is made when Tux is too much in the right or in the left, you can easily change this, by changine the SPACE_X value in world.cpp.

SVN-Revision: 962

20 years agoImproved the intro demo, in order to make it more elegant.
Ricardo Cruz [Mon, 3 May 2004 23:27:31 +0000 (23:27 +0000)]
Improved the intro demo, in order to make it more elegant.
I haven't testedt powerups and tux collision yet, though.

SVN-Revision: 961

20 years agoleveleditor related improvements. Added bkgd_speed.
Tobias Gläßer [Mon, 3 May 2004 23:06:19 +0000 (23:06 +0000)]
leveleditor related improvements. Added bkgd_speed.

SVN-Revision: 960