User prompt
add position, direction and maxSpeed variables to the game container
User prompt
Move the player up to the top fifth of the screen
User prompt
set the stageWidth to 2048 and stageHeight to 2732
User prompt
promote the background width and height to stageWidth and stageHeight variables. Use these variables when determining positions
User prompt
add a player character to the middle of the screen
User prompt
create a player character with a speed and direction, at the top quarter of the screen
User prompt
scale the background width and height by the stageContainer's scale
User prompt
add a fullscreen background
User prompt
Remove everything except the game container
User prompt
Fix Bug: 'TypeError: hero.update is not a function' in this line: 'hero.update();' Line Number: 32
User prompt
Fix Bug: 'TypeError: hero.update is not a function' in this line: 'hero.update();' Line Number: 32
Initial prompt
Ski Me
===================================================================
--- original.js
+++ change.js
@@ -1,3 +1,7 @@
var Game = Container.expand(function () {
var self = Container.call(this);
+ var background = self.createAsset('background', 'Fullscreen background', 0, 0);
+ background.width = LK.stageContainer.width;
+ background.height = LK.stageContainer.height;
+ self.addChild(background);
});
Pixel art of a Santa. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a tree stump covered in snow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a dead tree covered in snow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a christmas tree covered in snow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a spruce tree covered in snow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a rock covered in snow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a christmas present counter. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a christmas present. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a blue christmas present. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Pixel art heart icon . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
two vertical lines with a blank background.
pixel art of a large, snow covered rock . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of skiis . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a floating grinch monster . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
single green firework explosion . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a wooden board covered in snow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a wooden pole with snow at it's base. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
tileable white water texture pixel art.