Description

Hobo Breakable

To get started drag the extension into GM 1.4, double-click the "Hobo Breakable" extension and goto the "Import Resources" tab, finally "Import All" and press "OK". You are now ready to use the code provided below in your existing objects!

//treat objects with physics (if set to true make sure object + room has physics turned on)
global.phy_set = true;
//initialize breakable object (typically in the create event)
break_id = init_breakable(1);
//break the object (typically replaces previous destroy call)
destroy(break_id, o_player);
  • 2 scripts turn any object into a breakable one
  • Easy usage
  • Switching gravity on or off is a boolean away.
  • Implementation open ended; allows for full customization.

Version Log

  • v 0.0.3:
  1. Fix offset bug
  • v 0.02:
  1. Code Cleanup
  2. Add gravity control global (global.phy_set)
  3. 1/2 fix offset bug
  • v 0.01:
  1. Booze drank
  2. Scripts produced
  3. Buggy alpha

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 0.0.3. Published October 22, 2014

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top