Skip to content

Releases: azerion/phaser-input

v2.0.5

02 Jun 14:32
Compare
Choose a tag to compare

v2.0.4

02 May 08:01
Compare
Choose a tag to compare
  • Holding delete (or any key for that matter) now also forces text update (Thanks @derpierre65 )
  • Fixed an issue where the library would crash when no placeHolder is added to the input (Thanks @CFix-Ollie & @Tdnshah)

v2.0.3

21 Apr 08:57
Compare
Choose a tag to compare

v2.0.2

27 Jan 15:58
Compare
Choose a tag to compare
  • Updated example a tad and guarded for non-existing placeHolder on alignment (thanks @trachukov)

v2.0.1

19 Jan 09:08
Compare
Choose a tag to compare
  • Fixed tiny TS issue

v2.0.0

18 Jan 12:23
Compare
Choose a tag to compare
  • Moved away from Fabrique.Plugins namespace (see below)
  • Updated readme (#22)
  • TextAlign now also applied to placeholder (#27)
  • Width of the inputField can now be adjusted post creation
  • Removed node version requirement (#23)

Migrating from v1

the API of the objects is the same as before but the namespace changed. We decided to remove the Fabrique namespace, and house the plugin in it's own (PhaserInput).
so:
Fabrique.Plugins.Input
becomes:
PhaserInput.Plugin

and all other references of Fabrique.Plugins can be replaced with PhaserInput.
If you are still unsure how or what, both the example and the readme have been adjusted to work with the new namespace.

v1.2.6

14 Nov 08:28
Compare
Choose a tag to compare
  • Updated TS compiler to 2.x (fixes #17)
  • Fixed an issues with KeyBoardOpen (#20, Thanks @SamHession)
  • Fixed scrolling on input when game isn't in the top of the page (#19 and #13)
  • Fixed cutoff letters (#15)

v1.2.5

08 Aug 13:24
Compare
Choose a tag to compare
  • Cleaned up event listeners on destroy, fixes #10
  • Updated input value with min/max for number values, fixes #6

v1.2.4

29 Jul 08:04
Compare
Choose a tag to compare

v1.2.3

28 Jul 09:26
Compare
Choose a tag to compare
  • Fixed an issue where setText would crash if no placeholder was set
  • Made startFocus/endFocus public