User prompt
set isEventOngoing to = ""; when destroying ObjGO, ObjRALLY, ObjJUMP, and ObjACCELERAte
User prompt
set isEventOngoing to "" when destroying ObjGO, ObjRALLY, ObjJUMP, and ObjACCELERAte
User prompt
make their speed randoms between -5 and -9
User prompt
✅ Set ObjJUMP speed to -9 Set ObjACCELERATE speed to -11
User prompt
set obj jump to -7 set obj accelerate to -9
User prompt
when destroying objjump rally go and accelerate do not touch isEventOngoing
User prompt
now hero ground floats in the air at the wrong coordinates when detached how come?
User prompt
change it to 5
User prompt
change it to two
User prompt
if bottom right is selected, instantiate objjump 1 seconds later
User prompt
after objcar is destroyed set `isEventOngoing` to `false`. event text is set to "Event: None", and the `randomEvent` variable is cleared. The `distanceTraveled` is increased by 100 units.
User prompt
after objcar is destroyed do #2,4,5,6,7,8
User prompt
adjust accordingly so that hero ground is back in the correct position
User prompt
change it to 5
User prompt
after objcar is destroyed reset event flag
User prompt
if objcar intersects with hero or hero ground trigger game over
User prompt
Wait 0.5 second after objcar is instantiated to play snd_carhonk
User prompt
wait 1 second after objcar is instantiated to play snd_carhonk
Code edit (1 edits merged)
Please save this source code
User prompt
when objheadlights fades out, instantiate in its place objcar and make it go left until it leaves the playspace and destroys itself
User prompt
change objcarsign and make it fade in and out over 2 seconds instead of 3
User prompt
remove the middle right
Code edit (1 edits merged)
Please save this source code
User prompt
when objcarsign is faded out, select randomly between upper right, middleright and bottomright of the playspace and instantiate objheadlights and make it fade in and out over 2 seconds
User prompt
else if (randomEvent === 'Avoid') instantiate in the center of the playspace objcarsign and make it fade in and out over 3 seconds
===================================================================
--- original.js
+++ change.js
@@ -508,8 +508,9 @@
self.x = game.width;
var minY = 400;
var maxY = game.height / 2 + 200;
self.y = minY + Math.random() * (maxY - minY);
+ isEventOngoing = "";
}
// Add hover effect
self.y += Math.sin(LK.ticks / 10) * 2;
};
@@ -525,12 +526,8 @@
self.x += self.speed;
if (self.x < -self.width) {
self.destroy();
isEventOngoing = false;
- isEventOngoing = false;
- isEventOngoing = false;
- isEventOngoing = false;
- isEventOngoing = false;
eventTxt.setText('Event: None');
randomEvent = "";
distanceTraveled += 100;
// Trigger acceleration effects
@@ -645,11 +642,11 @@
self.x = game.width;
var minY = 400;
var maxY = game.height / 2 + 200;
self.y = minY + Math.random() * (maxY - minY);
+ isEventOngoing = "";
return;
return;
- return;
}
// Add hover effect
self.y += Math.sin(LK.ticks / 10) * 2;
};
@@ -667,8 +664,9 @@
self.x = game.width;
var heroYMin = Math.max(hero.y - hero.height / 2, 0);
var heroYMax = Math.min(hero.y + hero.height / 2, game.height);
self.y = heroYMin + Math.random() * (heroYMax - heroYMin);
+ isEventOngoing = "";
}
// Add hover effect
self.y += Math.sin(LK.ticks / 10) * 2;
};
@@ -686,8 +684,9 @@
self.x = game.width;
var heroYMin = Math.max(hero.y - hero.height / 2, 0);
var heroYMax = Math.min(hero.y + hero.height / 2, game.height);
self.y = heroYMin + Math.random() * (heroYMax - heroYMin);
+ isEventOngoing = "";
}
// Add hover effect
self.y += Math.sin(LK.ticks / 10) * 2;
};
2d cyberpunk particle of a dash ability. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
blue jetfuel. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art speech bubble that says "?" neon color. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art speech bubble that says "Go" neon color. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art speech bubble that says "Ok" neon color.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a bubble a wing inside in neon color.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art bubble with 2 fast foward arrows neon color. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Gray Cyber neon lit logo of the word Rush. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
side profile of a flying car in the art style of a 16 bit neon cyberpunk game. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro cyberpunk datadisk in neon colors. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro cyberpunk pole flag in neon colors with the words 'events' on it.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro sign that says "Hold to Dash" in neon colors. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro sign that says "Tap to Move" in neon colors.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro sign that says "catch" with an flying drone symbol in neon colors.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro flying drone in neon colors.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
retro sign that says "Survive" with an face symbol in neon colors... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
neon colored cyberpunk round electricity. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
SynthwaveMusic
Music
snd_letsgo
Sound effect
snd_announcer
Sound effect
snd_powerup
Sound effect
snd_dataacquire
Sound effect
snd_walkie
Sound effect
snd_nice
Sound effect
snd_carhonk
Sound effect
snd_enemy
Sound effect
snd_sphere
Sound effect
snd_windup
Sound effect
snd_spikey
Sound effect
snd_drone
Sound effect