Home

Phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

List of my plugins

  1. Anchor: Set position based on visible window.
  2. AwaitLoader: Await custom task in preload stage.
  3. Away time: Get time from previous closing application to now.
  4. BBCodeText: Drawing text with BBCode protocol.
  5. Board: Core object of Board system.
  6. Board/Field of view: Visible testing, to find field of view.
  7. Board/Hexagon map: Create tile positions in hexagon/triangle/parallelogram geometry in hexagon grid.
  8. Board/Match: Get matched chess.
  9. Board/Mini board: Chess Container, to rotate/mirror/drag chess together.
  10. Board/Monopoly: Move through path tiles.
  11. Board/Move To: Move chess towards target position with a steady speed.
  12. Board/Path finder: Find moveable area or moving path.
  13. Board/Shape: Grid (polygon) shape object.
  14. Buff data: Data manager with buffs.
  15. Build arcade object: Create arcade body, and inject arcade object methods.
  16. Bullet: Move game object toward current angle of game object, with a constant speed.
  17. Button: Fires 'click' event when touch releasd after pressed.
  18. Canvas: Drawing on canvas.
  19. Canvas image data: Get image data from texture, or text object.
  20. Circle mask image: Load a texture, then apply a circle mask.
  21. Clock: A clock to count elapsed time.
  22. Conditions table: Check conditions to find passed tests listed in a csv table.
  23. ContainerLite: Control the position and angle of children game objects.
  24. CSV-scenario: Run script in csv format.
  25. CSV-to-hash-table: Hash table indexed by (col-key, row-key) from csv string.
  26. Cursor at bound: Map position pf cursor to cursor key state.
  27. Curve/Spiral: Spiral curve.
  28. Drag: Drag game object.
  29. Drag-rotate: Get dragging angle around a specific point.
  30. Ease-move: Ease-move game object.
  31. Eight direction: Move game object by cursor keys, with a constant speed.
  32. Effect layer/outline: Draw outline of target game objects.
  33. Event promise: Return a promise of an event.
  34. Fade-out-destroy: Fade out game object then destroy it.
  35. Fade-volume: Fade-in/fade-out volume of sound.
  36. File chooser: Create a transparent file chooser button.
  37. Firebase/broadcast: Broadcast real-time messages, using firebase-database.
  38. Firebase/files: Save JSON data, using firebase-firestore.
  39. Firebase/ID-alias: Map an unique ID to another unique ID, using firebase-firestore.
  40. Firebase/Item-table: 1d/2d/3d table, using firebase-database.
  41. Firebase/leaderboard: Descending sort scores, using firebase-firestore.
  42. Firebase/online-user-list: Online user list, using firebase-database.
  43. Firebase/single-room: Chat room, using firebase-database.
  44. Flash: Flashing (set invisible then visible) game object.
  45. Flip: Flipping game object to another face by scaling width/height.
  46. FSM: Finite state machine.
  47. Gashapon: Pick random item from box.
  48. Geom/Hexagon: Hexagon geometry object.
  49. Geom/Rhombus: Rhombus shape and methods.
  50. Gesture/Pan: Get pan events of a game object.
  51. Gesture/Pinch: Get scale factor from 2 dragging touch pointers.
  52. Gesture/Press: Get press events of a game object.
  53. Gesture/Rotate: Get spin angle from 2 dragging touch pointers.
  54. Gesture/Swipe: Get swipe events of a game object.
  55. Gesture/Tap: Get tap/multi-taps events of a game object.
  56. Grid align: Align objects on quadrilateral or hexagon grid.
  57. Grid table: Viewer of grid table, to manipulate game object of each visible cell.
  58. Image URI loader: Load image by uri in preload stage.
  59. Input text: Input DOM element.
  60. Interception: Predict the intersection position of two game objects with constant moving speed.
  61. Life time: Destroy game object when time-out.
  62. Line: Draw a line with start/end/body textures.
  63. LZ-string: Compress string using LZ-based compression algorithm.
  64. Mouse-wheel to up/down: Map mouse-wheeling to (up/down) cursor key state.
  65. Move to: Move game object towards target position with a steady speed.
  66. Nine patch: Stretchable image.
  67. Particles-along-bounds: Emit particles along bounds of game object.
  68. Particles/Bitmap-zone: Particles' emitter zone from canvas bitmap of text/canvas game object.
  69. Path follower: Set position of game object on a path.
  70. Perlin: Perlin2/Perlin3 noise and simplex2/simplex3 noise.
  71. Pop up: Scale up game object.
  72. Quest: Question manager.
  73. Random place: Place objects randomly inside an area without overlapping.
  74. Restorable data: Restorable data manager.
  75. RotateTo: Rotate game object towards target position with a steady speed.
  76. Round-Rectangle: Round rectangle shape.
  77. Run-commands: Run commands in array.
  78. Scale-down-destroy: Scale down game object then destroy it.
  79. Script-tag loader: Load script tag in preload stage.
  80. Scroller: Drag content. Slow down when dragging released, pull back when out of bounds.
  81. Sequence: Run sequence commands in array.
  82. Shader/glow-filter: Glow post processing filter.
  83. Shader/gray-scale: Gray scale post processing filter.
  84. Shader/hsl-adjust: Adjust color in HSL domain, post processing filter.
  85. Shader/inverse: Inverse color post processing filter.
  86. Shader/outline: Outline post processing filter.
  87. Shader/pixelation: Pixelation post processing filter.
  88. Shader/swirl: Swirl post processing filter.
  89. Shader/toonify: Draw outlines and quantize color in HSV domain, post processing filter.
  90. Shake-position: Shake position of game object.
  91. Ship: Move game object as a space ship by cursor keys.
  92. Slider: Drag thumb on a slider bar.
  93. TagText: Displays text with multi-color, font face, or font size with tags.
  94. TCRP/Player: Run commands on time.
  95. TCRP/Recorder: Store commands with time.
  96. Text/edit: Create an input text object above a text object to edit string content.
  97. Text/typing: Typing text on text object.
  98. Text/page: Display text page by page on text object.
  99. UI/buttons: A container with a group of buttons.
  100. UI/chart: Draw chart on canvas.
  101. UI/dialog: A container with a title, content, buttons and backgrounds.
  102. UI/fixwidthbuttons: A container with a group of fix-width buttons.
  103. UI/fixwidthsizer: Layout children game objects into lines.
  104. UI/grid buttons: A container with a group of buttons in grids.
  105. UI/grid sizer: Layout children game objects in grids.
  106. UI/gird table: A container with a grid table, slider, and scroller.
  107. UI/label: A game object container with an icon, text, and background.
  108. UI/menu: A container with buttons and sub-menu.
  109. UI/number bar: A container with an icon, slider, text, and background.
  110. UI/overlap sizer: Layout children game objects overlapped.
  111. UI/pages: A container with pages, only current page is visible.
  112. UI/scroll-able panel: A container with a panel, slider, and scroller.
  113. UI/sizer: Layout children game objects.
  114. UI/slider: A container with a track, indicator, thumb and background.
  115. UI/tabs: A container with 4 groups of buttons around a center panel.
  116. UI/text area: A container with a text, slider, and scroller.
  117. UI/text box: A container with an icon, (typing and paging) text, and background.
  118. UI/toast: Show text message for a short while.
  119. Unique item list: List of unique items. Support array and set methods.
  120. Virtual joystick: Simulate curosr keys according touch events.
  121. Wait events: Wait fired events or callbacks.
  122. Webfont-loader: Load web font by google webfont loader in preload stage.
  123. XOR: Encrypt or decrypt string by XOR algorithm.
  124. Youtube player: Play youtube video on iframe.