rex

Members
  • Content count

    13
  • Joined

  • Last visited

About rex

  • Rank
    Member

Contact Methods

  • Website URL
    https://rexrainbow.github.io/phaser3-rex-notes/docs/site/

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. rex

    Multicolor text

    I had made 2 plugins for multi-color text -- bbcode text , tag text These plugins also support my text-typing, or text paging behavior
  2. Run script in csv format. Csv could be edited by excel or google document. Links Document Sample code minified source code Live demo Run csv-script : csv-script in google document
  3. rexDrag Drag game object. It wraps input events into a class, and have some extra features: - Drag on axis (horizontal, vertical, or both) - Try dragging object, see live demo. Links Document Sample code minified source code Live demo Create and drag object : When pointer down (touch start), an object will be created and dragging. (object was created after touched, therefore it won't fire 'dragstart', or 'drag' event from Phaser.Input) rexSlider Drag thumb on a slider bar. Links Document Sample code minified source code Live demo Slider bar : drag white thumb, or press left/right arrow key rexVirtualJoyStick Simulate cursor keys according to touch events. Links Document Sample code minified source code Live demo Virtual joystick : drag on gray circle
  4. Add text page plugin. Now it could show content page by page with typing behavior, in text object, rexBBCodeText object, rexTagText object.
  5. rexTextTyping Typing text on text object, bbcode text object, or tag text boject. Links Document Sample code minified source code Live demo Typing on text object and bbcode text object : it supports typing left-to-right, right-to-left, middle-to-sides, sides-to-middle rexTextPage Display text page by page on text object, bbcode text object, or tag text boject. Links Document Sample code minified source code Live demo Typing on bbcode text object page by page
  6. Add another format text object -- tag text.
  7. rexBBCodeText Game object, drawing text with BBCode protocol. Links Document Sample code minified source code Live demo Set bbcode text rexTagText Displays text with multi-color, font face, or font size with tags. Links Document Sample code minified source code Live demo Set tag text
  8. Game object, drawing on canvas. Links Document Sample code minified source code Live demo Draw chart : draw chart by chartjs
  9. rex

    Fading volume problem

    I try to fade volume of (web-audio) sound by tween behavior, here is a test case. The volume is fading in my speaker, but the sound.volume property : always return 1 in firefox browser, which is incorrect fading from 0 to 1 in chrome browser
  10. scene.scene.remove(key);
  11. In phaser3, it is possible to add scene at runtime, but how to destroy and free a scene instance? Or should scene instance be kept always?