doodle/pkg
Noah Petherbridge a2e1bd1ccb Improve OnCollide Doodad Script Handling
* Events.OnCollide now receives a CollideEvent object, which makes
  available the .Actor who collided and the .Overlap rect which is
  zero-relative to the target actor. Doodad scripts can use the .Overlap
  to see WHERE in their own box the other actor has intruded.
  * Update the LockedDoor and ElectricDoor doodads to detect when the
    player has entered their inner rect (since their doors are narrower
    than their doodad size)
  * Update the Button doodads to only press in when the player actually
    touches them (because their sizes are shorter than their doodad
    height)
  * Update the Trapdoor to only trigger its animation when the board
    along its top has been touched, not when the empty space below was
    touched from the bottom.
* Events.OnLeave now implemented and fires when an actor who was
  previously intersecting your doodad has left.
* The engine detects when an event JS callback returns false.
  Eventually, the OnCollide can return false to signify the collision is
  not accepted and the actor should be bumped away as if they hit solid
  geometry.
2019-05-06 22:58:09 -07:00
..
balance Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
collision Improve OnCollide Doodad Script Handling 2019-05-06 22:58:09 -07:00
doodads Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
enum Code Layout Refactor 2019-04-09 17:35:44 -07:00
filesystem Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
level Mobile Enemy Doodad Test 2019-05-06 16:30:45 -07:00
log Initial Doodad JavaScript System 2019-04-15 23:07:40 -07:00
scripting Improve OnCollide Doodad Script Handling 2019-05-06 22:58:09 -07:00
uix Improve OnCollide Doodad Script Handling 2019-05-06 22:58:09 -07:00
userdir Drag Doodads Onto Levels in Edit Mode 2018-10-20 16:03:59 -07:00
wallpaper Code Layout Refactor 2019-04-09 17:35:44 -07:00
commands.go Shareware Build Flags 2019-04-19 17:23:37 -07:00
config.go Shareware Build Flags 2019-04-19 17:23:37 -07:00
doodle.go Mobile Enemy Doodad Test 2019-05-06 16:30:45 -07:00
editor_scene_debug.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_scene.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
editor_ui_doodad.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
editor_ui_palette.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
editor_ui.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
fps.go Remove ScreenshotKey Event, Add F* Key Handlers 2019-04-19 16:21:04 -07:00
guitest_scene.go UI: Fix packing bug in the GUITest 2019-04-19 15:08:00 -07:00
main_scene.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
play_scene.go Mobile Enemy Doodad Test 2019-05-06 16:30:45 -07:00
scene.go Port over code from old collision dev PR 2019-04-09 19:17:56 -07:00
shell.go Code Layout Refactor 2019-04-09 17:35:44 -07:00