User prompt
Set hero graphic anchor point to .2,.2
User prompt
Set hero graphic anchor point to .3,.2
User prompt
Set hero graphic anchor point to .1,.2
User prompt
Set hero graphic anchor point to .2,.2
User prompt
Set hero graphic anchor point to .2,.8
User prompt
Set hero graphic anchor point to .8,.4
User prompt
Set hero graphic anchor point to .2,.4
User prompt
Set health bar asset anchor to 0,0
User prompt
Set hero graphic anchor point to .4,.6
User prompt
Set hero graphic anchor point to .6,.6
User prompt
Set hero graphic anchor point to .6,.3
User prompt
Set hero graphic anchor point to .6,.5
User prompt
Set hero graphic anchor point to .3,.5
User prompt
Add the initial hero rotation when setting rotation in move
User prompt
Declare a variable for the rotation hero is originally created with
User prompt
Set hero asset rotation rather than self rotation
User prompt
Set zombie asset rotation rather than self rotation
User prompt
Add a health bar to the hero
User prompt
Add a health bar class to the game
User prompt
Rotate the hero asset counter clockwise by 5deG
User prompt
Rotate the hero asset counter clockwise by 5deg
User prompt
Rotate the hero asset counter clockwise by 5deg
User prompt
Rotate the hero asset counter clockwise by 5deG
User prompt
Rotate the hero asset counter clockwise by 5deg
User prompt
Rotate the hero asset counter clockwise by 5deg
===================================================================
--- original.js
+++ change.js
@@ -13,9 +13,9 @@
var Hero = Container.expand(function () {
var self = Container.call(this);
self.targetX = 2048 / 2;
self.targetY = 2732 / 2;
- var heroGraphics = self.createAsset('hero', 'Hero character', .6, .6);
+ var heroGraphics = self.createAsset('hero', 'Hero character', .4, .6);
var initialHeroRotation = -0.0872665 - 35 * (Math.PI / 180);
heroGraphics.rotation = initialHeroRotation;
self.healthBar = self.addChild(new HealthBar(100, 100));
self.healthBar.y = -50;
Soldier with gun seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
empty abandoned city street background seen from the top. Zoomed in. Top down. Street only
Zombie seen from above. Arms in front of it Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Fired Bullet tip, no case, grayscale Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Simple circular click target, showing where the hero needs to walk to. Grayscale. No shadows Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cloud puff explosion, grayscale, seen from topdown. Circular. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.