User prompt
Visibility order of the dash should be below ninja.
User prompt
Ninja should be on highest top in terms of visibilty order ( higher than the dash also )
User prompt
also the dash of upper path.
User prompt
Now dash should be on the top in terms of visibilty order.
User prompt
Reduce little bit more.
User prompt
Reduce the zoom out and in
User prompt
do not zoom background outside of the two paths boundry.
User prompt
background location should be at the centre and also zoom in and zoom out animation should be very very less and from middle.
User prompt
Remove everything related to background and create a new background class that just zoom in and zoom out the background.
User prompt
Background should very slowly zoom in and zoom out.
User prompt
Stop moving background with path instead just make it slowly zoom in and zoom out.
User prompt
Stop moving background with path instead just make it slowly zoom in and zoom out.
User prompt
initially spawn 10000 backgrounds.
User prompt
Currently the background is not spawning as i expected, it should spawn 5 intance when the player reacheds the third background, each time.
User prompt
Currently the background is spawned very late, it looks ugly.
User prompt
Now, Instead of spawning path, background, and obstacles when when they are visible on screen, Pre spawn this elements, such that, initially spawn 5 instances and then whenever payer reaches the 3rd instance angain spawn another 5 instances.
User prompt
Now along with the path spawn the background and move it at the speed of the path.
User prompt
background should feel like it is moving but it should not move.
User prompt
Background should also move.
User prompt
Background is not visible.
User prompt
There should be gap between the paths spawned horizontally
User prompt
Curretly the speed of path is too fast reduce it and also the speed of obstacle to match with path.
User prompt
currently the speed of path going from left to right is too fast and speed of obstacle going left to right is too slow, so it is not matching with the path and looks odd.
User prompt
What? Now i can't see Obstacles anymore. fix this.
User prompt
After playing the game some time, i found that when the speed of path is increased the obstacles are weirdly colliding with each other if there are more than one obstacle in group. Fix the issue.
===================================================================
--- original.js
+++ change.js
@@ -104,9 +104,9 @@
var obstacleGraphics = self.attachAsset('obstacle', {
anchorX: 0.5,
anchorY: 0.5
});
- self.speed = 20;
+ self.speed = 50;
self.update = function () {
self.x -= self.speed;
if (self.x < -self.width) {
self.destroy();
@@ -118,9 +118,9 @@
var pathGraphics = self.attachAsset('path', {
anchorX: 0.5,
anchorY: 0.5
});
- self.speed = LK.ticks / 300;
+ self.speed = 50;
self.update = function () {
self.x -= self.speed;
if (self.x < -self.width) {
self.destroy();
@@ -167,9 +167,9 @@
game.update = function () {
var lastPath = 0;
if (LK.ticks % 50 == 0) {
var randomPath = Math.random() > 0.5 ? 1 : 2;
- var spawnDistance = randomPath === lastPath ? 512 : 2048 + obstacleGroupSize * 100;
+ var spawnDistance = randomPath === lastPath ? 512 : 4096;
var obstacleGroupSize = Math.floor(Math.random() * 3) + 1;
for (var i = 0; i < obstacleGroupSize; i++) {
var newObstacle = new Obstacle();
newObstacle.x = spawnDistance + i * newObstacle.width;
Ninja Star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A minimalist icon depicting a ninja head silhouette in black. The silhouette should be simple and recognizable, with a headband or mask detail. The background should be transparent or a contrasting color (e.g., red or white).. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Coin. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Shield. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Transparent sheild bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a series of curved, tapered lines that originate from the ninja's body and extend outward in the direction of movement. The lines should vary in length and thickness, with a sense of energy and dynamism.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
backgroundMusic
Sound effect
coinCollect
Sound effect
jumpSound
Sound effect
footstepSound1
Sound effect
footstepSound2
Sound effect
footstepSound3
Sound effect
shooterSpawn
Sound effect
destructorSpawn
Sound effect
attackerSpawn
Sound effect
shooterAttack
Sound effect
destructorAttack
Sound effect
attackerAttack
Sound effect
enemyHit
Sound effect
shieldCollect
Sound effect
shieldCollectSound
Sound effect
ninjaGrunt
Sound effect
destructorAttackSound
Sound effect