blob: 475740e5b608f4a9d792dc652bd711148c70be9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
game.createBigBlue = () => {
const bigBlue = game.Entity();
bigBlue.addComponent(game.components.Position({x: 0, y: 0}));
bigBlue.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
bigBlue.sprite = game.graphics.Sprite({
image: game.assets.bigblue,
spriteHeight: 24,
spriteWidth: 24,
numFrames: 3,
timePerFrame: 100,
});
return bigBlue;
}
|