Commit graph

176 commits

Author SHA1 Message Date
Erkki Seppälä
ef6c6ea8c2 Added ability to configure joystick axis 2014-10-26 10:29:55 +02:00
Erkki Seppälä
b8198f1add table: added support for booleans 2014-10-26 10:29:25 +02:00
Erkki Seppälä
42a4e01120 VisRectangle: added a rectangle entity purely for visualization purposes (no physics) 2014-10-26 10:29:12 +02:00
Erkki Seppälä
882cd92fd3 Centered keybindings 2014-10-24 09:58:04 +03:00
Erkki Seppälä
541dc1e38c Each player can only bind buttons from their own joystick 2014-10-24 09:53:28 +03:00
Erkki Seppälä
2af0378bb7 Ability to bind hat as buttons as well 2014-10-24 09:43:42 +03:00
Erkki Seppälä
53ac2c612c Ability to remove keybindings with backspace 2014-10-24 09:27:17 +03:00
Erkki Seppälä
cbc89f5c76 Added a second keybinding ability to the remaining bindings 2014-10-24 09:24:51 +03:00
Erkki Seppälä
cda67f61ba Joystick button bindings are now used 2014-10-24 09:23:44 +03:00
Erkki Seppälä
0162c2f353 Added ability to bind joystick buttons (not yet used) 2014-10-24 09:14:09 +03:00
Erkki Seppälä
6f7e0777b1 Support multiple bindings per an action 2014-10-24 09:05:00 +03:00
Erkki Seppälä
2cda8e6801 Save keybindings 2014-10-24 08:50:01 +03:00
Erkki Seppälä
59b851d087 Added reconfigurable keybindings 2014-10-23 21:42:30 +03:00
Erkki Seppälä
113101894b menu_state: show keybinding for flip 2014-10-23 10:23:48 +03:00
Erkki Seppälä
cdc6979062 plane: crash when flipping on ground 2014-10-23 10:23:31 +03:00
Erkki Seppälä
9611db61c8 plane: when flipping, take speed and reversing into account 2014-10-23 10:17:56 +03:00
Erkki Seppälä
daa65d3fc2 plane: fixed bitmap cropping along with collision region 2014-10-23 10:03:46 +03:00
Erkki Seppälä
b1002378c5 plane: added incomplete support for flipping 2014-10-23 09:56:59 +03:00
Erkki Seppälä
b7b6e10535 plane: properly handle goingRight for drawing purposes 2014-10-23 09:54:11 +03:00
Erkki Seppälä
dc42f11e27 debug: nicer scale for the vectors 2014-10-23 09:42:38 +03:00
Erkki Seppälä
8ce2fb94f0 settings: introduced WIDTH and HEIGHT, use them instead of window size 2014-10-22 22:06:25 +03:00
Erkki Seppälä
2ddead6962 Oops, fixed global variable references 2014-10-22 21:52:30 +03:00
Erkki Seppälä
a2fcbfa7ec Computer now knows how to dive 2014-10-22 21:52:04 +03:00
Erkki Seppälä
a4b6e7450f Escape leaves game/exits 2014-10-22 21:44:51 +03:00
Erkki Seppälä
3d2ddcbd62 Joystick can be used in both X and Y 2014-10-22 21:44:42 +03:00
Erkki Seppälä
4eb0612c25 Added joystick support. Mapping works with the XBox original controller. 2014-10-22 21:38:06 +03:00
Erkki Seppälä
1cd538f9a0 Enable vsync; uses less CPU 2014-10-21 23:34:15 +03:00
Erkki Seppälä
1086eca767 Let powerups stay twice on the level as long 2014-10-21 21:30:57 +03:00
Erkki Seppälä
032f1d3113 plane: instead of adding air friction when y is negative, do it only when also vel_y is negative 2014-10-21 21:20:06 +03:00
Erkki Seppälä
4ebbfa3887 plane: fixed landing for both players 2014-10-21 21:02:03 +03:00
Erkki Seppälä
678fc91cf6 level: start players at different heights 2014-10-21 21:01:30 +03:00
Erkki Seppälä
cd6967aa04 player: When going flipped, handle wing lift properly 2014-10-21 20:42:34 +03:00
Erkki Seppälä
f8f06b079d Plane: added motor sound 2014-10-21 10:08:15 +03:00
Erkki Seppälä
d80964f52b Removed a couple debug messages 2014-10-21 08:55:05 +03:00
Erkki Seppälä
d34dc7ced0 Increased initial engine speed 2014-10-21 08:53:58 +03:00
Erkki Seppälä
cdd03bd5a4 Reduced ammo lifetimes so that they only wrap once around the game area 2014-10-21 08:52:45 +03:00
Erkki Seppälä
412ea0f47f level_state: adjusted powerup possibility to be non-dependant on frame rate 2014-10-21 08:44:31 +03:00
Erkki Seppälä
2ae621e004 machinegun: adjusted Vickers77 speed to slower 2014-10-21 08:41:28 +03:00
Erkki Seppälä
431261d4ea machinegun: adjusted big ball speed to slower 2014-10-21 08:41:20 +03:00
Erkki Seppälä
56db12c32d computerplayer: adjusted to work better with current plane physics. Added acceleration control. 2014-10-20 23:56:47 +03:00
Erkki Seppälä
5583535b72 settings: adjusted initial fly speed parameters 2014-10-20 23:56:25 +03:00
Erkki Seppälä
67a0e1ea0e plane: when decelerating, also employ air brakes 2014-10-20 23:43:12 +03:00
Erkki Seppälä
a67777dc32 plane: slightly reduced wing lift 2014-10-20 23:42:57 +03:00
Erkki Seppälä
0270b68460 plane: Added out of bounds-arrow 2014-10-20 23:32:25 +03:00
Erkki Seppälä
335b3078b8 arrow: added an entity for pointing at things 2014-10-20 23:32:07 +03:00
Erkki Seppälä
65709f0ae0 plane: added ability to land on ground 2014-10-20 22:55:32 +03:00
Erkki Seppälä
38d80b9dc1 Added solo playing (start with '1' from menu) 2014-10-20 22:47:16 +03:00
Erkki Seppälä
cc4b52fd6b ground: replaced Rectangle with proper Ground 2014-10-20 22:20:58 +03:00
Erkki Seppälä
d25a96ecbc PhysicsEntity:wasHitBy: renamed from wasHit and extended with the 'by' parameter 2014-10-20 22:15:21 +03:00
Erkki Seppälä
d9e95285a2 Replaced the ground tiles with a single big bitmap 2014-10-20 22:09:06 +03:00