Commit Graph

242 Commits

Author SHA1 Message Date
Steve 4d086a5136 Show more entity location information on the radar. 2018-02-28 21:59:20 +00:00
Steve 7805a128ad Clear old message, to allow repeats. 2018-02-28 08:29:30 +00:00
Steve 695e1fc5da Don't observe entities that are close to another that is already being observed. 2018-02-28 08:00:24 +00:00
Steve c98e93ee2b Pause audio when pausing game / viewing radar. 2018-02-28 07:52:38 +00:00
Steve 6b246971b3 Tidied headers. 2018-02-27 22:35:31 +00:00
Steve 18fa11d278 Start of extra blood / explosions. 2018-02-27 21:55:15 +00:00
Steve b31d061d42 Only print item quantity if it's more than 0. 2018-02-27 08:16:18 +00:00
Steve af4ce38296 Added directional audio. 2018-02-26 18:56:13 +00:00
Steve a729bfe7ee Anchor radar at bottom of map. 2018-02-26 08:19:21 +00:00
Steve bf9ab57e2f Use specific collision bounds for certain objects. 2018-02-26 07:38:20 +00:00
Steve 5282345dc6 Misc. code fixes. 2018-02-25 17:32:29 +00:00
Steve df6bda4629 More variation in decoration movement. 2018-02-25 17:32:15 +00:00
Steve 89f2e399a5 Quadtree add / remove bug fixes. 2018-02-25 17:31:32 +00:00
Steve 501db4420b Use entity id to play sounds. 2018-02-25 17:29:44 +00:00
Steve 443255baea Debugging stuff. 2018-02-25 12:36:34 +00:00
Steve 68fff35e1a Don't display blank messages. 2018-02-25 12:36:12 +00:00
Steve b3e87f8cfb Start of game over handling. 2018-02-25 12:12:31 +00:00
Steve befea2ac65 Allow entities to mostly go offscreen, but not enough to let the player cut across the level. 2018-02-25 08:36:40 +00:00
Steve 1c149695e2 Use ints instead of float. 2018-02-24 16:01:36 +00:00
Steve 234f8fe73c Show boss health bar on HUD. 2018-02-24 16:00:30 +00:00
Steve 997d423103 Don't show teleporting or gone entities on the radar. 2018-02-24 16:00:20 +00:00
Steve ef1d634057 Trigger gameplay message crash fix. 2018-02-24 16:00:04 +00:00
Steve 600032a41b Only mark Bob as gone if this isn't a boss mission. 2018-02-24 15:59:46 +00:00
Steve b03776cef6 Debugging and auto mission completion. 2018-02-23 19:26:13 +00:00
Steve 01246d14b6 Don't show negative health on hud. 2018-02-23 19:25:46 +00:00
Steve 575ce1eadd Replaced health, power, oxygen text with icons. 2018-02-22 19:19:43 +00:00
Steve dba5248a41 Fix segfault when freeing entities. 2018-02-22 19:03:48 +00:00
Steve bd02ee2b4d Post mission bug fixes. 2018-02-22 07:45:57 +00:00
Steve aba8d5aa3b Show health, power, and oxygen values next to bars. 2018-02-22 07:13:37 +00:00
Steve 5a134f2250 Handle mission result correctly. 2018-02-21 22:04:01 +00:00
Steve e887e385c7 Restore game state if the mission remains in incomplete status. 2018-02-21 08:43:45 +00:00
Steve 1b4e50c727 Access options from world. 2018-02-20 17:50:01 +00:00
Steve 2600f3cd1a Restrict displaying of trophies during mission. 2018-02-20 12:31:41 +00:00
Steve e745a287f4 Implemented mission quit option. 2018-02-20 08:14:35 +00:00
Steve edde9fac2f Integrate trophy display. 2018-02-19 22:32:14 +00:00
Steve dc85abac77 Start of options screen. 2018-02-19 19:15:07 +00:00
Steve 44e34ab7de Show stats during level. 2018-02-19 19:12:55 +00:00
Steve 098f3df811 Implemented stats display. 2018-02-19 08:28:42 +00:00
Steve bea993ece0 Ensure we draw entities when in observing mode. 2018-02-18 17:01:38 +00:00
Steve 299b15dac5 Misc. 2018-02-18 11:53:10 +00:00
Steve 9f8ef4ad42 Set world status upon init. 2018-02-18 11:53:01 +00:00
Steve daeaa28e88 Flash oxygen when low. 2018-02-18 11:52:40 +00:00
Steve 25cf4f2814 Removed resumingMission field. 2018-02-18 11:25:00 +00:00
Steve 46d6ce1cd6 Start mission from hub. 2018-02-18 09:29:37 +00:00
Steve 2cd629cf86 Added post mission code. 2018-02-18 09:29:26 +00:00
Steve 17ee7642e9 Return pointer to sprite rect. 2018-02-17 16:53:30 +00:00
Steve 357fbdc8a4 Destroy stuff at end of mission. 2018-02-17 16:53:18 +00:00
Steve 427848db9a Target marker fixes. 2018-02-16 08:41:02 +00:00
Steve 6f69f9a56a Always add to quadtree if not dead or teleporting. 2018-02-16 08:08:52 +00:00
Steve 8ab5ebe819 Permit access to stats and trophy info from in-game. 2018-02-16 07:26:04 +00:00
Steve e5976f04dd More misc. updates. 2018-02-15 22:56:34 +00:00
Steve 0d87786af4 More widget work. 2018-02-15 22:56:22 +00:00
Steve 1df85d0937 Misc. tweaks. 2018-02-15 21:40:21 +00:00
Steve 48abf156d8 Start of drawing widgets. 2018-02-15 18:04:37 +00:00
Steve 165cafaf04 Allow items to be picked up sooner after they are dropped. 2018-02-15 07:50:05 +00:00
Steve 4258575a26 Added Exit, Destructable, and Cannon. 2018-02-14 22:31:21 +00:00
Steve d71bee6b11 Use single variable to track mission type. 2018-02-14 07:26:51 +00:00
Steve dacb561e62 Hide inventory if selected. Clamp objective values to max. 2018-02-14 07:13:28 +00:00
Steve ea323685c9 Stats updates. Start of trophy code. 2018-02-13 21:36:42 +00:00
Steve 81910dadf4 v0.3 screenshots. 2018-02-13 08:24:31 +00:00
Steve f4190a5ccd Show and hide radar arrows. Integrate radar access into game. 2018-02-13 08:23:31 +00:00
Steve 035a8ae679 Tidied headers. 2018-02-12 22:40:46 +00:00
Steve 5f150901e1 Radar map updates. 2018-02-12 22:40:15 +00:00
Steve ca5ce089d2 Expand size of objectives box. 2018-02-12 19:15:03 +00:00
Steve ef9d6db851 Quadtree fixes. 2018-02-12 18:27:12 +00:00
Steve dff8dee815 Clip visible entities. 2018-02-12 08:32:21 +00:00
Steve 26858489b9 Start of radar map. 2018-02-12 08:09:03 +00:00
Steve e9a6a42b4c Show as green if >= target value. Can happen with dynamic objective targets. 2018-02-11 12:45:02 +00:00
Steve 58c398475c Allow world to be set as static, for testing. 2018-02-11 12:37:37 +00:00
Steve 57aaafa789 Use e here, instead of self, for more clarity. 2018-02-11 11:09:16 +00:00
Steve d75d3ec9cd Quadtree error fix. 2018-02-11 11:08:32 +00:00
Steve 284436f8c9 Remove dead entities as soon as possible, to prevent dangling pointers. 2018-02-11 07:59:11 +00:00
Steve 34b97bcc27 Game saving updates. 2018-02-10 19:03:55 +00:00
Steve 55dabbb018 Start of world saving. 2018-02-10 18:35:56 +00:00
Steve 1b7f2255b1 Don't load custom sprites. 2018-02-10 17:25:43 +00:00
Steve 0aa204ea71 At least 1 enemy type. 2018-02-10 07:57:31 +00:00
Steve 0197bcd5fa Added MachineGunDroid. 2018-02-09 22:41:37 +00:00
Steve 32109cbc15 Prevent entity from leaving the map bounds. 2018-02-09 22:34:30 +00:00
Steve 972c3c4aa9 Set sprite frame to 0 when dead. 2018-02-09 22:34:01 +00:00
Steve a6a3cbd6a6 Warn when health is low. 2018-02-09 22:32:57 +00:00
Steve 88a8d34425 Misc updates. 2018-02-09 19:20:37 +00:00
Steve d8c9337a2e Expand quadtree range for platform contact. 2018-02-09 08:21:08 +00:00
Steve d09ceefbb9 Update quadtree for pushed entities. Handle riders. 2018-02-09 07:42:36 +00:00
Steve 9f100106eb Don't add enemies if noEnemies flag set. 2018-02-09 07:42:10 +00:00
Steve 0e71bcc88f Use quadtree for collisions. 2018-02-09 07:21:37 +00:00
Steve 50a1c78c10 Don't show counts on mini inventory (not enough screen real esate). 2018-02-08 22:25:48 +00:00
Steve 1ed138b766 Use power instead of value for batteries. 2018-02-08 22:25:23 +00:00
Steve 70d1101ded Assign self when spawning enemies. 2018-02-08 22:25:10 +00:00
Steve 78ac0154bb Tidied headers. 2018-02-08 21:54:47 +00:00
Steve ccf228f875 Control and input updates. 2018-02-08 21:53:32 +00:00
Steve 9bda46bb9b Show required objectives in red. 2018-02-08 08:21:37 +00:00
Steve dc5aead758 Load compressed map data. 2018-02-08 08:07:04 +00:00
Steve 14f4ef57ad Load and play music during mission. 2018-02-08 07:34:35 +00:00
Steve bf0f64caf8 Show objectives intro screen when starting a level. 2018-02-08 07:26:42 +00:00
Steve e9c1560bde Show objective and inventory screen. 2018-02-07 22:49:42 +00:00
Steve b862123c95 Focus camera on doors, etc., that are opened when offscreen. 2018-02-07 19:21:13 +00:00
Steve c287a1333e Control updates. 2018-02-07 18:27:42 +00:00
Steve b27b3dd2f8 Draw inventory items on HUD. 2018-02-07 07:51:25 +00:00
Steve 220e3b99e9 Item handling updates. Keys should stack. 2018-02-06 22:27:02 +00:00
Steve b92c9dea9c Start of joypad handling. 2018-02-06 22:26:05 +00:00