Commit graph

97 commits

Author SHA1 Message Date
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ä
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ä
42a4e01120 VisRectangle: added a rectangle entity purely for visualization purposes (no physics) 2014-10-26 10:29:12 +02:00
Erkki Seppälä
cda67f61ba Joystick button bindings are now used 2014-10-24 09:23:44 +03:00
Erkki Seppälä
59b851d087 Added reconfigurable keybindings 2014-10-23 21:42:30 +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ä
2ddead6962 Oops, fixed global variable references 2014-10-22 21:52:30 +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ä
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ä
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ä
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ä
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ä
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ä
b32822ca7f tinyshot: instead of tiny rectangles, draw with lines 2014-10-20 21:43:48 +03:00
Erkki Seppälä
179ca22722 PowerUp: added a sound when it is picked up 2014-10-20 21:33:24 +03:00
Erkki Seppälä
aebd0ba344 Colorized planes 2014-10-20 21:08:28 +03:00
Erkki Seppälä
bc968b2b4c plane: adjusted parameters 2014-10-20 20:50:31 +03:00
Erkki Seppälä
9a0b5abc7a plane: when plane is too high, increase air resistance 2014-10-20 20:40:42 +03:00
Erkki Seppälä
113873aa3f plane: adjusted model and parameters 2014-10-20 20:35:39 +03:00
Erkki Seppälä
d0cd8f2d09 plane: slight change to turning speed 2014-10-20 12:01:23 +03:00
Erkki Seppälä
e4fe8fd5b0 ALTERNATIVE physics 2014-10-19 13:13:47 +03:00
Erkki Seppälä
b5794d5543 Debug: draw labels at different maximum distances 2014-10-19 13:10:34 +03:00
Erkki Seppälä
8a009ddbfd Debug: support for debug circles 2014-10-19 07:11:15 +03:00
Mikko Ahlroth
e226dbcd16 Fix bonus ending SLEEEEP 2014-10-19 06:51:53 +03:00
Mikko Ahlroth
fc1e4dfdd6 Add big ball and fix bonuses 2014-10-19 06:19:10 +03:00
Mikko Ahlroth
079606d8e8 Hit sounds and gun positioning 2014-10-19 05:15:53 +03:00
Erkki Seppälä
a378a68567 Animation: ability to configure whether to fade out or not 2014-10-19 05:14:12 +03:00
Erkki Seppälä
67c5c0f693 C-d now toggles debug lines 2014-10-19 04:59:12 +03:00
Erkki Seppälä
aa11cbbb2e Added small animations when bullets hit something 2014-10-19 04:51:58 +03:00
Erkki Seppälä
7cc7ec207d Animation: remove once the animation is complete 2014-10-19 04:51:58 +03:00
Erkki Seppälä
f80337e1a5 PhysicsEntity: added a hit-reporting mechanism (for bullet animations) 2014-10-19 04:51:58 +03:00
Mikko Ahlroth
47b2e741d8 Engine change speed faster 2014-10-19 04:49:13 +03:00