===================================================================
--- original.js
+++ change.js
@@ -5,11 +5,9 @@
var Bullet = Container.expand(function () {
var self = Container.call(this);
var bulletGraphics = self.attachAsset('bullet', {
anchorX: 0.5,
- anchorY: 0.5,
- scaleX: 2,
- scaleY: 2
+ anchorY: 0.5
});
self.speed = -15;
self.update = function () {
self.y += self.speed;
@@ -57,8 +55,15 @@
/****
* Game Code
****/
+// Initialize background
+var background = game.addChild(LK.getAsset('background', {
+ anchorX: 0.0,
+ anchorY: 0.0,
+ x: 0,
+ y: 0
+}));
// Initialize player
var player = game.addChild(new Player());
player.x = 2048 / 2;
player.y = 2732 - 150;
Shiny Cartoon Bubble. No background. Transparent background. Blank background. No shadows. 2d. In-Game asset. flat
Bubble Shooting Gun. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
FLAMING NEEDLE. No background. Transparent background. Blank background. No shadows. 2d. In-Game asset. flat
Bubbles in space large. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.