Create a new project using the barebone extracted from the "part1" of the last example ( You should only have a blank )
You have already seen button in the HTML5 Audio → audio Sprite example.
Add several buttons assign them callbacks to change a text on screen. You'll need asset
<Your example folder>/public/assets/ui/flixel-button.png
<Your example folder>/public/assets/fonts/bitmap/nokia16black.png
<Your example folder>/public/assets/fonts/bitmap/nokia16black.xml
Optional: if you have refactored your previous code using Scene, put all the buttons into sceneA, and have a button unload sceneA and load the previous game.
In the menu (or menu scene) add a bouncing draggable button, refer to : physics→ arcade→ draggable , game objects→ container→ Arcade Physics Body Test, physics→ Arcade→ Draggable body
Hint : You need an additional "makephysicsbutton" function, put both button and text into a container, you need to disable the setInteractive for the bitmap or it will catch the click before the container does
Hint: Use the this.physics.world.enable(...); for your container, if you copied the makebutton, the collision box size should be button's width x 2 and button's height x 1.5, pay attention to the setScale for the button Image.
Deliverable:
A menu scene with several buttons and a draggable button.
Clicking on each button (except for the draggable one) will result in text change according to the button name
Optional: Has a button the load your game as the main scene ( you'll need to do the scene optional task in platformer extended)
Loading a tilemap
Create a new project and try to put the code in Depth Sorting → Isometric Map to work.
You'll need assets:
<Your example folder>/public/assets/tests/iso/isometric-grass-and-water.json
<Your example folder>/public/assets/tests/iso/isometric-grass-and-water.png
<Your example folder>/public/assets/tests/iso/skeleton8.png
<Your example folder>/public/assets/tests/iso/rem_0002.png
Refer to the example of Input→ Mouse→ Pointer Lock
Instead of camera moving it self
Capture the mouse when clicking the game window
Have a software mouse pointer ( Assume you already know how to add picture/sprite into the game, have 8 dir arrow is not mandatory but please try to do it )
Scroll the map when the mouse is near the edge
Hint : the sprite of mouse needs <pointer sprite>. setScrollFactor(0)
A port of the example Depth Sorting → Isometric Map into full html version
One skeleton goes around a house
Capture when clicked and manipulate a soft mouse to scroll the map ( edge pointer switch not mandatory, can just use the same pointer if you don't have enough time )