User prompt
make the player shoot bullets and make it so the bullet counter goes down when the player shoots one
User prompt
the purple things are the bullets
User prompt
when the player shoots, the bullet counter doesn't decrease
User prompt
make it show how many bullets you have left
User prompt
make there be a limit to the bullets and by shooting the objects, you can collect more bullets
Initial prompt
Project Cloud
===================================================================
--- original.js
+++ change.js
@@ -23,9 +23,9 @@
});
// Bullet class
var Bullet = Container.expand(function () {
var self = Container.call(this);
- var bulletGraphics = self.createAsset('bullet', 'Hero Bullet', 0.5, 0.5);
+ var bulletGraphics = self.createAsset('purpleBullet', 'Purple Bullet', 0.5, 0.5);
self.speed = -10;
self.move = function () {
self.y += self.speed;
};
android. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
letter X png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
space background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
galaxy background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
galaxy background. High quality
space background.. High contrast