Commit graph

191 commits

Author SHA1 Message Date
Mikko Ahlroth
3356f29257 Add licence info 2015-04-14 10:17:21 +03:00
Erkki Seppälä
59ed4a95c6 COPYING: revised; added hump and matrix.lua 2014-11-06 21:25:12 +02:00
Erkki Seppälä
50347e4ec4 Adde COPYING and LICENSE.MIT 2014-11-06 19:58:52 +02:00
Erkki Seppälä
4621fc36c5 menu_stat: don't always setMode, only when starting a game.. 2014-10-30 23:04:39 +02:00
Erkki Seppälä
d7c48be324 Start game with space bar, not just any key 2014-10-30 22:01:33 +02:00
Erkki Seppälä
5e92800d9c menu_state Allow window resizing while in the menu 2014-10-27 09:01:31 +02:00
Erkki Seppälä
d70107214a Game window can be resized in the menu (and in the game, but the ground won't resize) 2014-10-26 20:36:43 +02:00
Erkki Seppälä
d0cb00bfa3 plane: remove out-of-bounds-arrow when dying 2014-10-26 16:59:11 +02:00
Erkki Seppälä
2d85044042 When a plane explodes mid-air, the explosion has the same movement vector 2014-10-26 16:59:00 +02:00
Erkki Seppälä
d39aba0fd2 settings: PLANE_HEALTH changed from 500 to 200 2014-10-26 16:47:19 +02:00
Erkki Seppälä
c476933f4a menu_state: Fixed switching to 2-player mode. Remember and use the last play mode. 2014-10-26 16:46:59 +02:00
Erkki Seppälä
6510b6b779 Add binding axis to axis 0 (no effect) 2014-10-26 12:33:12 +02:00
Erkki Seppälä
c11ad05175 utils: Moved joystick direction retrieval code to utils 2014-10-26 12:32:22 +02:00
Erkki Seppälä
704b9815ac settings: adjusted axis defaults 2014-10-26 10:39:56 +02:00
Erkki Seppälä
7e454f328d Label can now use a function for retrieving the label
This allows to remove the duplicate label setting code from menu_state
2014-10-26 10:36:40 +02:00
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