User prompt
Fix Bug: 'Uncaught ReferenceError: SmallObstacleBox is not defined' in this line: 'obstacleBox = new SmallObstacleBox();' Line Number: 17
User prompt
All obstacles should be together on their own seperate layer above room1
User prompt
move large obstacle box to the left
User prompt
make all 3 obstacles different sizes
User prompt
put the obstacle box back on the top layer to see them
User prompt
the obstacle box should not move
User prompt
boxes should be on the top layer
User prompt
draw 3 boxes at seperate location on screen which represents visual obstacles
User prompt
generate a temporary asset for all spawners
User prompt
make sure all spawners are on the top layer
User prompt
draw three different objects called Spawner1, Spawner2, Spawner3, these objects will be used to spawn enemies behind them
User prompt
heart.x = 1150 + i * (heart.width + 1);
User prompt
heart.x = 1150 + i * (heart.width + 5);
User prompt
heart.y = santa.y - santa.santaGraphics.height - heart.height / 2 + 350;
User prompt
heart.y = santa.y - santa.santaGraphics.height - heart.height / 2 + 400;
User prompt
heart.y = santa.y - santa.santaGraphics.height - heart.height / 2 + 300;
User prompt
heart.y = santa.y - santa.santaGraphics.height - heart.height / 2 + 200;
User prompt
lower the hearts a bit
User prompt
heart.x = 1150 + i * (heart.width + 10);
User prompt
heart.x = 1200 + i * (heart.width + 10);
User prompt
heart.x = 1100 + i * (heart.width + 10);
User prompt
heart.x = 1000 + i * (heart.width + 10);
User prompt
heart.x = 830 + i * (heart.width + 10);
User prompt
heart.x = 330 + i * (heart.width + 10);
User prompt
heart.x = 130 + i * (heart.width + 10);
===================================================================
--- original.js
+++ change.js
@@ -1,4 +1,8 @@
+var SmallObstacleBox = Container.expand(function () {
+ var self = Container.call(this);
+ var obstacleGraphics = self.createAsset('smallObstacle', 'Small obstacle', 0.5, 0.5);
+});
var ObstacleLayer = Container.expand(function () {
var self = Container.call(this);
var obstaclePositions = [{
x: 2048 / 4,
over the shoulder santa firing a revolver Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d transparent christmas crosshair Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d 3rd person front view of a christmas town square with a starry sky Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Christmas sparkles png Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
circular christmas golden star pattern transparent png Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas brick wall Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d opened christmas crate Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d diagonal christmas car or truck in snow Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a christmas poster showcasing miss santa clause Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a single white snowflake Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d stacked christmas winter tire Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d stacked christmas winter tire Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas magical mistletoe Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas 357 Magnum bullets Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d silhouette of a flying reindeer with a red glowy nose Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas dark sparkles Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas evil robot elf with a gun Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d pile of gray and red nuts and bolts Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
transparent snow sphere. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
snd_pistol
Sound effect
snd_enemyshot
Sound effect
snd_obstacle
Sound effect
snd_messages
Sound effect
snd_ricochet
Sound effect
snd_reindeer
Sound effect
snd_mistletoe
Sound effect
snd_reindeershot
Sound effect
snd_mistletoeshot
Sound effect
snd_christmasmusic
Music
snd_reload
Sound effect
snd_blastwave
Sound effect