User prompt
make a wall on the sides
User prompt
if you keep clicing you get out makewal to
User prompt
make th game more detailed
User prompt
make it wayyyy harder
User prompt
make the screen follow me
User prompt
make me keep move side ways
User prompt
make gravity and the player jumps when you click
User prompt
make a ground
User prompt
make the player go side ways continuasly and change the background to mach the playr
Initial prompt
geometry crash
===================================================================
--- original.js
+++ change.js
@@ -5,9 +5,12 @@
var Bullet = Container.expand(function () {
var self = Container.call(this);
var bulletGraphics = self.attachAsset('bullet', {
anchorX: 0.5,
- anchorY: 0.5
+ anchorY: 0.5,
+ scaleX: 1.5,
+ scaleY: 1.5,
+ tint: 0xFFFF00
});
self.speed = -30;
self.update = function () {
self.y += self.speed;
@@ -20,9 +23,12 @@
var Enemy = Container.expand(function () {
var self = Container.call(this);
var enemyGraphics = self.attachAsset('enemy', {
anchorX: 0.5,
- anchorY: 0.5
+ anchorY: 0.5,
+ scaleX: 1.5,
+ scaleY: 1.5,
+ tint: 0xFF0000
});
self.speed = 10;
self.update = function () {
self.y += self.speed;
@@ -36,9 +42,12 @@
var Ground = Container.expand(function () {
var self = Container.call(this);
var groundGraphics = self.attachAsset('ground', {
anchorX: 0.5,
- anchorY: 0.5
+ anchorY: 0.5,
+ scaleX: 1.5,
+ scaleY: 1.5,
+ tint: 0x008000
});
self.update = function () {
// Ground update logic
};
@@ -49,9 +58,12 @@
var Player = Container.expand(function () {
var self = Container.call(this);
var playerGraphics = self.attachAsset('player', {
anchorX: 0.5,
- anchorY: 0.5
+ anchorY: 0.5,
+ scaleX: 1.5,
+ scaleY: 1.5,
+ tint: 0x0000FF
});
self.speed = 10;
self.update = function () {
// Player update logic