User prompt
keep the gravity but Change the initial firing angle of the arrow to match the angle of the mouse pointer to the archer
User prompt
decrease gravity
User prompt
make arrow fall over time and match angle of arrow to fall
User prompt
make velocity of arrow match the angle of fire
User prompt
add constant -115 degrees to the arrow at all times
User prompt
add a constant 115 degrees to the angle of the arrow at all times
User prompt
make initial firing angle of arrow match the angle of the mouse pointer to the archer
User prompt
always make arrow leave from archer's position
User prompt
double speed of target
User prompt
move 2x faster
User prompt
move 2x faster
User prompt
only move from y=screenheight*.24 to y=screenheight*.75
User prompt
move target to right of screen and move up and down slowly
User prompt
position player x=50, y=screenheight/2
User prompt
Fix Bug: 'Uncaught ReferenceError: Player is not defined' in this line: 'var player = self.addChild(new Player());' Line Number: 27
User prompt
create a player graphic asset
User prompt
create a graphic for player
User prompt
create asset for player that I can edit
User prompt
create asset for player
User prompt
position player x=50 y = screenheight/2
User prompt
create player asset
User prompt
rotate arrow down as it falls
User prompt
when arrow flies make it drop a bit as it move across the screen like gravity
User prompt
rotate arrow 115 degrees
User prompt
rotate arrow 120 degrees
===================================================================
--- original.js
+++ change.js
@@ -1,4 +1,8 @@
+var Player = Container.expand(function () {
+ var self = Container.call(this);
+ var playerGraphics = self.createAsset('player', 'Player Graphics', .5, .5);
+});
var Arrow = Container.expand(function () {
var self = Container.call(this);
var arrowGraphics = self.createAsset('arrow', 'Arrow Graphics', .5, .5);
arrowGraphics.rotation = -115 * (Math.PI / 180);
a green field background
a target roundel viewed from the side
plain gold star, no outline Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a cartoon archers bow viewed from the side Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a long cartoon arrow with gold shaft and steel point Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.