ποΈ Building Breakout
Be sure to check out our new tutorial, building a flappy bird clone
ποΈ Building Flappy Bird
Introduction
ποΈ Step 0 - Setting up Your TypeScript Environment
You can skip this step if you have a preferred environment setup
ποΈ Step 1 - Start Your Engines
First in main.ts we can import all of Excalibur as ex, this makes it clear in this example what types are coming from Excalibur.
ποΈ Step 2 - Adding a Bird Actor
Next let's making our first Actor for the Bird and .add() it to the default Excalibur Scene which can be accessed off the Engine.
ποΈ Step 3 - The Bird and the Grounds
Let's create some ground for the Bird to collide with, make a new ground.ts file.
ποΈ Step 4 - Flying the Bird
We can take user input in Excalibur from keyboard, pointers (mouse, touch), and gamepads!