Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/excaliburjs/sample-excalibird. Getting started example clone of Flappy Bird
excaliburjs.com/sample-excalibird/
···106106107107At this point the screen will just be a solid color we picked as our `backgroundColor`.
108108109109+We can add some css to our game to center it on the screen
110110+111111+```css
112112+html,
113113+body {
114114+ background-color: black;
115115+ margin: 0;
116116+ padding: 0;
117117+ height: 100%;
118118+}
119119+120120+body {
121121+ display: flex;
122122+ justify-content: center;
123123+ align-items: center;
124124+}
125125+```
126126+127127+Then include this in your `index.html` in the `<head>` section
128128+129129+```html
130130+<link rel="stylesheet" href="./src/style.css">
131131+```
132132+109133### Step 2 - Adding a Bird Actor
110134111135Next let's making our first Actor for the Bird and `.add()` it to the default Excalibur Scene which can be accessed off the `Engine`.
···123147import * as ex from "excalibur";
124148125149export class Bird extends ex.Actor {
126126- constructor({
127127- pos: ex.vec(200, 300),
128128- width: 16,
129129- height: 16
130130- color: ex.Color.Yellow
131131- })
150150+ constructor() {
151151+ super({
152152+ pos: ex.vec(200, 300),
153153+ width: 16,
154154+ height: 16
155155+ color: ex.Color.Yellow
156156+ })
157157+ }
132158}
133159```
134160