doodads/dev-assets/doodads/buttons
Noah 5de48b13f5 Checkpoint Flag & Retry from Checkpoint
* New Doodad: Checkpoint Flag. They update the player's spawn point
  whenever the player passes one. The most recently activated
  checkpoint is rendered brighter than the others.
* End Level Modal: the fake alert box window drawn by the Play Mode
  is replaced with a fancy modal widget (similar to Alert and Confirm).
  It handles level victory or failure conditions and can show or hide
  all the buttons as needed.
* Gameplay: There is a "Retry from Checkpoint" option added, which
  appears in the level failure modal. It will teleport you back to
  the Start Flag or the last Checkpoint Flag you had touched, without
  resetting the level -- your keys, unlocked doors, etc. will be
  preserved so you can retry.
* Set a maximum speed on the "Camera Follows Actor" logic of 64
  pixels per tick. This results in a smoother scrolling transition
  when the player jumps to a new location on the map, such as by
  a Warp Door.
* Update the default color palettes:
    * All: Add a "hint" magenta color.
    * Colored Pencil: Add a "darkstone" solid color.

Updates to the Doodads JavaScript API:

* SetCheckpoint(Point(x, y)): set the player character's spawn
  position. Giving it Self.Position() is an easy way to set the
  player spawn to your doodad's location.
2021-08-15 20:17:53 -07:00
..
Makefile Doodads: Electric Trapdoor and Resettable Box 2021-08-08 20:10:42 -07:00
README.md 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00
button.js Various updates 2021-03-30 23:40:41 -07:00
button1.png 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00
button2.png 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00
sticky.js Checkpoint Flag & Retry from Checkpoint 2021-08-15 20:17:53 -07:00
sticky1.png 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00
sticky2.png 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00
typeB1.png 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00
typeB2.png 1st Round of Doodad Sprites + Improve Doodad Tool 2019-04-17 00:02:41 -07:00

README.md

Button Doodads

doodad convert -t "Sticky Button" sticky1.png sticky2.png sticky-button.doodad
doodad install-script sticky.js sticky-button.doodad

doodad convert -t "Button" button1.png button2.png button.doodad
doodad install-script button.js button.doodad

doodad convert -t "Button Type B" typeB1.png typeB2.png button-typeB.doodad
doodad install-script button.js button-typeB.doodad