User prompt
encore plus vite
User prompt
une fois que la fée a passer une ligne de potion les potion doive tomber plus vite
User prompt
encore plus
User prompt
il faut que les potion bouge beaucoup plus !
User prompt
les potion doive bouger
User prompt
il faut qu'il y a plein de potion en même temp
User prompt
il dois y avoir de plus en plus de potion
User prompt
la fée dois être sur le curser
User prompt
la fée dois avoir trois vie si elle touche une potion elle perd un vie
Initial prompt
fairy
===================================================================
--- original.js
+++ change.js
@@ -23,9 +23,9 @@
// Potion class
var Potion = Container.expand(function () {
var self = Container.call(this);
var potionGraphics = self.createAsset('potion', 'Witch potion', 0.5, 0.5);
- self.baseSpeed = 8;
+ self.baseSpeed = 12;
self.speedMultiplier = 1;
self.move = function () {
self.x += (Math.random() - 0.5) * self.baseSpeed * 2 * self.speedMultiplier;
self.y += self.baseSpeed * self.speedMultiplier;
@@ -80,13 +80,13 @@
// Update potion speed multiplier based on fairy's y position
var potionSpeedLine = 1366; // Define the y position line for increasing potion speed
if (fairy.y < potionSpeedLine) {
for (var p = 0; p < potions.length; p++) {
- potions[p].speedMultiplier = 1.5;
+ potions[p].speedMultiplier = 2;
}
}
// Spawn potions with increasing frequency
- var spawnRate = Math.max(30, 120 - Math.floor(LK.ticks / 1800)); // Decrease spawn interval every 30 seconds, minimum 0.5 seconds
+ var spawnRate = Math.max(20, 100 - Math.floor(LK.ticks / 1800)); // Decrease spawn interval every 30 seconds, minimum 0.5 seconds
if (LK.ticks % spawnRate === 0) {
for (var j = 0; j < 5; j++) {
// Spawn 5 potions at once
var potion = new Potion();
nothing
fairy. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
heart. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
un monde féerique. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
enleve ça
le même coeur mais vide