Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
7 results across 6 corpora for beforely.
Dictionary 1
beforely
Previously
Developer library 6
2D maze game with device orientation
In this tutorial we'll go through the process of building an HTML mobile game that uses the [Device Orientation](/docs/Web/API/Device_orientation_events) and [Vibration](/docs/Web/API/Vibration_API) **APIs** to enhance the gameplay and is built using the [Phaser](https://phaser.io/) framework. Basic JavaScript knowledge is recommended to get the most from this tutorial. ## Example game By the end of the tutorial yo
Move the ball
Games/Tutorials/2D_breakout_game_Phaser/Physics This is the **2nd step** out of 12 of the [creating a Breakout game using Phaser tutorial](/docs/Games/Tutorials/2D_breakout_game_Phaser). In this article, we'll look at how to load a ball sprite, add it to our gameworld, and move it across the screen. Our game will feature a ball rolling around the screen, bouncing off a paddle, and destroying bricks to earn points.
Buttons
Games/Tutorials/2D_breakout_game_Phaser/Randomizing_gameplay This is the **11th step** out of 12 of the [creating a Breakout game using Phaser tutorial](/docs/Games/Tutorials/2D_breakout_game_Phaser). Instead of starting the game right away, we can leave that decision to the player by adding a Start button they can press. Let's investigate how to do that. ## New properties We will need a property to store a boolea
Game over
Games/Tutorials/2D_breakout_game_Phaser/Build_the_brick_field This is the **6th step** out of 12 of the [creating a Breakout game using Phaser tutorial](/docs/Games/Tutorials/2D_breakout_game_Phaser). To make the game more interesting, we can introduce the ability to lose—if you don't hit the ball before it reaches the bottom edge of the screen, it will be game over. ## How to lose To provide the ability to lose,
Extra lives
Games/Tutorials/2D_breakout_game_Phaser/Animations_and_tweens This is the **9th step** out of 12 of the [creating a Breakout game using Phaser tutorial](/docs/Games/Tutorials/2D_breakout_game_Phaser). In this article, we'll implement a lives system, so that the player can continue playing until they have lost three lives, not just one, which makes the game enjoyable for longer. ## New properties Add the following
Bounce off the walls
Games/Tutorials/2D_breakout_game_Phaser/Player_paddle_and_controls This is the **4th step** out of 12 of the [creating a Breakout game using Phaser tutorial](/docs/Games/Tutorials/2D_breakout_game_Phaser). Now that physics have been introduced, we can start implementing collision detection into the game—first we'll look at the walls. ## Bouncing off the world boundaries The easiest way to get our ball bouncing off