Ricardo Cruz [Thu, 27 May 2004 14:18:00 +0000 (14:18 +0000)]
Draw enemies upside down when falling.
The drawing code in texture.cpp is just a hack. Not sure how we can flip surfaces in SDL. The OpenGL should be easily done, I will take care of it later.
SVN-Revision: 1338
Ryan Flegel [Thu, 27 May 2004 03:04:12 +0000 (03:04 +0000)]
- updated TODO
SVN-Revision: 1337
Ricardo Cruz [Thu, 27 May 2004 02:47:32 +0000 (02:47 +0000)]
Resized level to 19 height.
SVN-Revision: 1336
Ricardo Cruz [Wed, 26 May 2004 22:57:33 +0000 (22:57 +0000)]
Updated file to reflect added files.
SVN-Revision: 1335
Ricardo Cruz [Wed, 26 May 2004 22:56:04 +0000 (22:56 +0000)]
Uploaded Benjamin's flying platform animations.
These are bigger, should they be resized to the older size (96x40)?
SVN-Revision: 1334
Ricardo Cruz [Wed, 26 May 2004 22:46:59 +0000 (22:46 +0000)]
A couple of improvements for the flying platform.
SVN-Revision: 1333
Matthias Braun [Wed, 26 May 2004 15:57:36 +0000 (15:57 +0000)]
some cleanups and robustness checks, I added while searching for a bug (that was none as it turned out :)
SVN-Revision: 1332
Ryan Flegel [Tue, 25 May 2004 23:53:43 +0000 (23:53 +0000)]
- added David's camera patch
SVN-Revision: 1331
Ryan Flegel [Tue, 25 May 2004 23:24:10 +0000 (23:24 +0000)]
- added walkingtree to test level
SVN-Revision: 1330
Ryan Flegel [Tue, 25 May 2004 22:05:07 +0000 (22:05 +0000)]
- tweaked walkingtree
SVN-Revision: 1329
Ryan Flegel [Tue, 25 May 2004 21:21:22 +0000 (21:21 +0000)]
- added walking tree enemy. still needs some work
SVN-Revision: 1328
Ryan Flegel [Tue, 25 May 2004 19:41:48 +0000 (19:41 +0000)]
- some wingling tweaks
SVN-Revision: 1327
Ricardo Cruz [Tue, 25 May 2004 15:32:45 +0000 (15:32 +0000)]
Disable gravity when on flying platform.
SVN-Revision: 1326
Matthias Braun [Tue, 25 May 2004 10:38:52 +0000 (10:38 +0000)]
more tuning of badguy activation
SVN-Revision: 1325
Matthias Braun [Tue, 25 May 2004 10:13:07 +0000 (10:13 +0000)]
attempt to tune badguy activation
SVN-Revision: 1324
Matthias Braun [Tue, 25 May 2004 10:09:30 +0000 (10:09 +0000)]
forgot to commit my changes to testlevels yesterday
SVN-Revision: 1323
Ryan Flegel [Tue, 25 May 2004 02:56:31 +0000 (02:56 +0000)]
- added wingling to test level
SVN-Revision: 1322
Ryan Flegel [Tue, 25 May 2004 02:51:30 +0000 (02:51 +0000)]
- beginnings of a wingling
SVN-Revision: 1321
Matthias Braun [Tue, 25 May 2004 00:28:24 +0000 (00:28 +0000)]
implemented autoscrolling and proper camera parsing in levelfiles
SVN-Revision: 1320
Ryan Flegel [Mon, 24 May 2004 23:32:41 +0000 (23:32 +0000)]
- fixed it so Tux doesn't die on spikes if safety timer is started
SVN-Revision: 1319
Ryan Flegel [Mon, 24 May 2004 23:03:43 +0000 (23:03 +0000)]
- fixed it so arm is not drawn when Tux is shooting and ducking
SVN-Revision: 1318
Matthias Braun [Mon, 24 May 2004 23:02:34 +0000 (23:02 +0000)]
added some comments to scrolling code
SVN-Revision: 1317
Matthias Braun [Mon, 24 May 2004 22:53:39 +0000 (22:53 +0000)]
increase offscreen distance
SVN-Revision: 1316
Matthias Braun [Mon, 24 May 2004 22:36:56 +0000 (22:36 +0000)]
make badguys reappear when scrolling back
SVN-Revision: 1315
Ricardo Cruz [Mon, 24 May 2004 21:52:14 +0000 (21:52 +0000)]
Small fix. Don't do back scrolling, in case it is unabled.
And don't do vertical scrolling when there are 19 height tiles. It is necessary to explecity say so cause in this case, the actual height of the level is 608, higher than the screen (600).
SVN-Revision: 1314
Ryan Flegel [Mon, 24 May 2004 21:29:11 +0000 (21:29 +0000)]
- missing include
SVN-Revision: 1313
Matthias Braun [Mon, 24 May 2004 21:28:44 +0000 (21:28 +0000)]
try to make the scrolling a bit smoother
SVN-Revision: 1312
Matthias Braun [Mon, 24 May 2004 21:18:56 +0000 (21:18 +0000)]
fixed bug I just introduced
SVN-Revision: 1311
Ricardo Cruz [Mon, 24 May 2004 21:05:58 +0000 (21:05 +0000)]
Forest background made by Benjamin!
SVN-Revision: 1310
Matthias Braun [Mon, 24 May 2004 21:02:44 +0000 (21:02 +0000)]
-renamed ViewPort to Camera
-removed type() function from GameObject, you should better use C++ RTTI:
* casting: BadGuy* badguy = dynamic_cast<BadGuy*> (object);
* comparing for specific type if(typeid(object) == typeid(BadGuy))
* getting the name typeid(object).name()
-moved camera handling into Camera class
-tweaked camera behaviour. Look for details in
http://netpanzer.berlios.de/supertux/index.php/Camera
Horizontal scrolling seems to be nicely now, vertical scrolling is still a bit
too hectically...
SVN-Revision: 1309
Ricardo Cruz [Mon, 24 May 2004 20:42:21 +0000 (20:42 +0000)]
Fixed checking for next point and the use of sprites.
SVN-Revision: 1308
Matthias Braun [Mon, 24 May 2004 16:14:42 +0000 (16:14 +0000)]
add -Werror flag to debug mode
SVN-Revision: 1307
Ricardo Cruz [Mon, 24 May 2004 12:02:25 +0000 (12:02 +0000)]
Added flying platform into the buttjump and trampoline test level.
SVN-Revision: 1306
Ricardo Cruz [Mon, 24 May 2004 12:01:35 +0000 (12:01 +0000)]
Added entry for flying platform.
SVN-Revision: 1305
Ricardo Cruz [Mon, 24 May 2004 12:01:07 +0000 (12:01 +0000)]
Added Benjamin's flying platform image.
I could not add more than one frame cause the format is animated GIF...
SVN-Revision: 1304
Ricardo Cruz [Mon, 24 May 2004 11:59:59 +0000 (11:59 +0000)]
New flying platform object.
Though seems to have some probs checking if reached next point, resulting in a bad movement. I'll have a look at this later.
SVN-Revision: 1303
Matthias Braun [Sun, 23 May 2004 22:46:34 +0000 (22:46 +0000)]
fix a bug when resizing maps and when saving maps which I recently introduced
SVN-Revision: 1302
Matthias Braun [Sun, 23 May 2004 20:20:20 +0000 (20:20 +0000)]
default image changed to arctis.jpg
SVN-Revision: 1301
Ricardo Cruz [Sun, 23 May 2004 00:11:58 +0000 (00:11 +0000)]
Made butt-jump to behave according to what Marek asked. You can tune a definition...
Now, we just need a butt-jump image.
SVN-Revision: 1300
Ricardo Cruz [Sat, 22 May 2004 18:42:40 +0000 (18:42 +0000)]
Don't remove badguys, just because they are out of the screen borders.
SVN-Revision: 1299
Ricardo Cruz [Sat, 22 May 2004 17:55:44 +0000 (17:55 +0000)]
Fixes.
SVN-Revision: 1298
Ricardo Cruz [Sat, 22 May 2004 15:27:45 +0000 (15:27 +0000)]
Tux shows arm when firing.
SVN-Revision: 1297
Ryan Flegel [Fri, 21 May 2004 23:37:56 +0000 (23:37 +0000)]
- made some changes for joystick in menu. better?
SVN-Revision: 1296
Ryan Flegel [Fri, 21 May 2004 19:35:14 +0000 (19:35 +0000)]
- fixed level editor crash
- inserting objects still doesn't work, however
SVN-Revision: 1295
Ryan Flegel [Fri, 21 May 2004 02:28:27 +0000 (02:28 +0000)]
- made some fun changes :)
- theres a hideen path on the right side if you don't want to buttjump your way all the way down
SVN-Revision: 1294
Matthias Braun [Fri, 21 May 2004 00:43:30 +0000 (00:43 +0000)]
fix firetux not being able to pickup stuff
SVN-Revision: 1293
Matthias Braun [Fri, 21 May 2004 00:22:57 +0000 (00:22 +0000)]
eliminated global scroll_x and scroll_y variables
SVN-Revision: 1292
Matthias Braun [Thu, 20 May 2004 23:58:31 +0000 (23:58 +0000)]
fix jerky scrolling
SVN-Revision: 1291
Matthias Braun [Thu, 20 May 2004 23:46:50 +0000 (23:46 +0000)]
improve tux holding objects
SVN-Revision: 1290
Matthias Braun [Thu, 20 May 2004 23:34:53 +0000 (23:34 +0000)]
fixed bullet problems
SVN-Revision: 1289
Matthias Braun [Thu, 20 May 2004 23:25:30 +0000 (23:25 +0000)]
don't remove trampolines twice
SVN-Revision: 1288
Matthias Braun [Thu, 20 May 2004 23:19:55 +0000 (23:19 +0000)]
added standard header to files
SVN-Revision: 1287
Matthias Braun [Thu, 20 May 2004 23:09:40 +0000 (23:09 +0000)]
also install xpm icon
SVN-Revision: 1286
Matthias Braun [Thu, 20 May 2004 23:09:19 +0000 (23:09 +0000)]
fix for trampoline syntax
SVN-Revision: 1285
Matthias Braun [Thu, 20 May 2004 23:07:25 +0000 (23:07 +0000)]
-converted remaining classes to GameObject
-remove old GameObject type
-removed base_type.xm,ym and replaced code that was still using them
SVN-Revision: 1284
Matthias Braun [Thu, 20 May 2004 19:57:20 +0000 (19:57 +0000)]
forgot to add some files
SVN-Revision: 1283
Matthias Braun [Thu, 20 May 2004 19:56:37 +0000 (19:56 +0000)]
-changed Level class to save tiles in a big 1 dimensional array instead of
vector<vector>. You can access a tile like this now tiles[y * width + x] is the tile at place x,y
-introduced new Serializable interface that is implemented by all objects that
are able to save themselfes to disk
-added new lispwriter class
-changed level laoding/save code to use new serializable/lispwriter stuff
SVN-Revision: 1282
Matthias Braun [Thu, 20 May 2004 15:58:10 +0000 (15:58 +0000)]
converted player to new object system
SVN-Revision: 1281
Ricardo Cruz [Thu, 20 May 2004 15:09:58 +0000 (15:09 +0000)]
Just added a missing header.
SVN-Revision: 1280
Matthias Braun [Thu, 20 May 2004 14:56:16 +0000 (14:56 +0000)]
forgot to add some files
SVN-Revision: 1279
Matthias Braun [Thu, 20 May 2004 14:55:41 +0000 (14:55 +0000)]
fixed score display and converted tilemap to a gameobject
SVN-Revision: 1278
Matthias Braun [Thu, 20 May 2004 13:33:26 +0000 (13:33 +0000)]
oops
SVN-Revision: 1277
Matthias Braun [Thu, 20 May 2004 12:12:39 +0000 (12:12 +0000)]
-Added new object system and converted some GameObjects to it.
Please take a look if you like this new interface and complain as soon as
possible :)
-Currently you experience some stuff is drawn at the wrong layer, that is
because not everything is using the new displaymanager yet.
SVN-Revision: 1276
Ricardo Cruz [Wed, 19 May 2004 18:22:48 +0000 (18:22 +0000)]
Don't do string objects tests this way!
SVN-Revision: 1272
Ricardo Cruz [Wed, 19 May 2004 13:46:45 +0000 (13:46 +0000)]
Just improved a bit the butt jump control.
You don't have to press Down while pressing Up, but still you've to press it right away...
SVN-Revision: 1271
Ricardo Cruz [Wed, 19 May 2004 10:55:31 +0000 (10:55 +0000)]
Remake of the Ingo's background.
SVN-Revision: 1270
Ricardo Cruz [Wed, 19 May 2004 10:29:39 +0000 (10:29 +0000)]
Level's draw_bg() now takes full care of the background drawing.
SVN-Revision: 1269
Ricardo Cruz [Wed, 19 May 2004 10:28:38 +0000 (10:28 +0000)]
Bullet fire counting with its height.
SVN-Revision: 1268
Ryan Flegel [Wed, 19 May 2004 04:17:04 +0000 (04:17 +0000)]
- touched up bomb-explosion image
SVN-Revision: 1267
Ryan Flegel [Wed, 19 May 2004 03:49:53 +0000 (03:49 +0000)]
-updated TODO
SVN-Revision: 1266
Ryan Flegel [Wed, 19 May 2004 03:20:50 +0000 (03:20 +0000)]
- much nicer scrolling
- Patch submitted by David Kettler (Upsilon)
SVN-Revision: 1265
Ricardo Cruz [Tue, 18 May 2004 23:45:30 +0000 (23:45 +0000)]
Only butt jump after a full jump. This approuch is different; instead of enabling butt jump only when the conditions are satisfory, keep it enabled and disable in case something doesn't satisfy them.
SVN-Revision: 1264
Ricardo Cruz [Tue, 18 May 2004 23:15:31 +0000 (23:15 +0000)]
Ryan was right, Tux was firing from the head :D
SVN-Revision: 1263
Ryan Flegel [Tue, 18 May 2004 21:11:41 +0000 (21:11 +0000)]
- just some formatting stuff
SVN-Revision: 1262
Ryan Flegel [Tue, 18 May 2004 20:39:31 +0000 (20:39 +0000)]
-updated TODO
SVN-Revision: 1261
Ryan Flegel [Tue, 18 May 2004 19:17:33 +0000 (19:17 +0000)]
- ObjectManager stuff
SVN-Revision: 1260
Ryan Flegel [Tue, 18 May 2004 18:12:16 +0000 (18:12 +0000)]
- barebones BadGuyManager -> ObjectManager
SVN-Revision: 1259
Marek Moeckel [Tue, 18 May 2004 18:04:53 +0000 (18:04 +0000)]
Changed back the sliding fix because it was buggy
SVN-Revision: 1258
Matthias Braun [Tue, 18 May 2004 17:56:28 +0000 (17:56 +0000)]
reverted totally pointless commit of rmcruz. size does NOT contain the current power of tux.
SVN-Revision: 1257
Ricardo Cruz [Tue, 18 May 2004 17:46:05 +0000 (17:46 +0000)]
Fix bug reported by Ryan: in level smaller than 19, Tux would stay in dead move forever.
SVN-Revision: 1256
Ricardo Cruz [Tue, 18 May 2004 17:20:27 +0000 (17:20 +0000)]
Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well.
SVN-Revision: 1255
Matthias Braun [Tue, 18 May 2004 17:17:32 +0000 (17:17 +0000)]
TODO update
SVN-Revision: 1254
Marek Moeckel [Tue, 18 May 2004 17:12:54 +0000 (17:12 +0000)]
Changed it so that only big Tux is able to butt-jump
Prevented big Tux from being able to slide under one-tile-wide spaces
Now he will just slide out again the direction he came from
That allows to create places where being small Tux is an advantage
SVN-Revision: 1253
Matthias Braun [Tue, 18 May 2004 16:57:57 +0000 (16:57 +0000)]
changed duck mode a bit so that you can only jump a little bit when being ducked and that you can unduck in air
SVN-Revision: 1252
Matthias Braun [Tue, 18 May 2004 16:43:37 +0000 (16:43 +0000)]
fixed butt jump to work even when up-key is not pressed, added a little jump after breaking a brick. The thing still has problems with breaking the correct fix, as the used position is not the actual one, but the target position for the next frame, so you can break some bricks that aren't reachable normally
SVN-Revision: 1251
Ricardo Cruz [Tue, 18 May 2004 14:16:38 +0000 (14:16 +0000)]
Now the player dies when reaching the bottom of the level, even in Y-scrolling levels.
SVN-Revision: 1250
Ricardo Cruz [Tue, 18 May 2004 14:15:38 +0000 (14:15 +0000)]
Removed 10 and putted 11 as 10.
Also, made test level 11 to have a background image to test it when scrolling Y.
SVN-Revision: 1249
Ricardo Cruz [Tue, 18 May 2004 14:03:53 +0000 (14:03 +0000)]
I think this fixes image background scrolling.
Still needs testing.
SVN-Revision: 1248
Ricardo Cruz [Tue, 18 May 2004 14:02:47 +0000 (14:02 +0000)]
Just pushed the level info down.
SVN-Revision: 1247
Ryan Flegel [Mon, 17 May 2004 23:15:43 +0000 (23:15 +0000)]
- update to TODO
SVN-Revision: 1246
Ryan Flegel [Mon, 17 May 2004 23:07:21 +0000 (23:07 +0000)]
- updated TODO with suggestions sent from Torfi to the ml
SVN-Revision: 1245
Ryan Flegel [Mon, 17 May 2004 20:04:45 +0000 (20:04 +0000)]
- updated TODO
SVN-Revision: 1244
Marek Moeckel [Mon, 17 May 2004 17:28:52 +0000 (17:28 +0000)]
added another test level which covers vertical scrolling, the butt stomp and the forest tune (although it doesn't fit in there, of course)
SVN-Revision: 1243
Ryan Flegel [Mon, 17 May 2004 17:05:22 +0000 (17:05 +0000)]
- typo fix
SVN-Revision: 1242
Ryan Flegel [Mon, 17 May 2004 17:01:21 +0000 (17:01 +0000)]
- some trampoline changes
- fixed bug mentioned by Marek in the mailing list (I think)
SVN-Revision: 1241
Marek Moeckel [Mon, 17 May 2004 16:52:05 +0000 (16:52 +0000)]
Improved forest tune
SVN-Revision: 1240
Ricardo Cruz [Mon, 17 May 2004 14:11:03 +0000 (14:11 +0000)]
Just made the keys UP code go when the menu is called.
This way they are only done once, instead of every time. Doesn't solve anything, it's just cleaner IMO.
SVN-Revision: 1239
Ricardo Cruz [Mon, 17 May 2004 10:15:01 +0000 (10:15 +0000)]
Made player to use the old status when aborting a level.
SVN-Revision: 1238
Ricardo Cruz [Mon, 17 May 2004 10:14:29 +0000 (10:14 +0000)]
This is a duplication of the arctic image.
SVN-Revision: 1237
Ricardo Cruz [Mon, 17 May 2004 10:13:17 +0000 (10:13 +0000)]
It was using a duplication of the arctis image.
SVN-Revision: 1236