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