Code edit (2 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
increase the animation speed for the enemy_rower
User prompt
enemy_rower needs to have an animation comprised of 2 frames. the second frame is enemy_rower_1. alternate between these frames once every 500 miliseconds
Code edit (3 edits merged)
Please save this source code
User prompt
move the enemy_rower 50 pixels lower
User prompt
attack the asset Enemy_Rower to the Obstacle similar to how you attached the rower to the player. the enemy_rower needs to overlap the obstacle
User prompt
attack the asset Enemy_Rower to the Obstacle similar to how you attached the rower to the player
User prompt
attack the asset Enemy_Rower to the Obstacle
User prompt
I dont see the 2 instances of the enemy_rower attached to the obstacle. this is a bug, attach them to the obstacle
User prompt
attack the asset Enemy_Rower to the Obstacle. but attach 2 of them with a 50 pixels distance between them
Code edit (1 edits merged)
Please save this source code
User prompt
spawn even more coins
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -124,9 +124,9 @@
self.rowerGraphics[self.rowerFrame].visible = false;
self.rowerFrame = 0;
self.rowerGraphics[self.rowerFrame].visible = true;
}
- self.acceleration += 0.8; // Increase acceleration
+ self.acceleration += 2; // Increase acceleration
// Prevent player from going out of bounds
if (self.y - playerGraphics.height / 2 <= 0) {
self.y = playerGraphics.height / 2;
self.acceleration = 0; // Reset acceleration
@@ -188,9 +188,9 @@
// Game Variables
// Assets will be automatically generated based on usage in the code.
var playerGraphics;
var player;
-var playerSpeed = 5;
+var playerSpeed = 10;
var score = 0;
var scoreTxt;
var obstacles = []; // Array to keep track of obstacles
var obstacleSpeed = -10;