User prompt
Tá, então tipo assim, coloca o texto pra baixo.
User prompt
Então, assim, coloca o peixe para baixo.
User prompt
Os textos estão tudo juntos.
User prompt
O negócio tá em Undefined.
User prompt
Eu acho que é melhor criar um texto para essa variável.
User prompt
Colocar a variável.
User prompt
Após o level 2 aumenta %20 inimigo spawn rate
User prompt
And the sound
User prompt
O PowerUp ativa automaticamente depois de 2 segundos.
User prompt
Adicione um efeito azul quando o PoiApp for ativado.
User prompt
Power Up 1, congela!
User prompt
Põe a pium, conchela.
User prompt
Muito pouco inimigo, tem que aumentar
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'powerup.x = enemies[i].x;' Line Number: 64
User prompt
Inimigos tem chance de dropar powerups
User prompt
Coloquei uns assets para isso, pode fazer o level.
Code edit (1 edits merged)
Please save this source code
User prompt
Coloque os heart_icons mais para cima e no meio do pato
User prompt
Coloque os heart_icons mais para cima e no meio
User prompt
Coloca no meio e um pouco pra cima também
User prompt
Coloca três heart_icons em cima do pato
User prompt
Eu ainda não tô conseguindo ver
User prompt
I can't see the heart icons
User prompt
Coloca no topo, fica melhor
User prompt
Coloca três em cima do Pato
===================================================================
--- original.js
+++ change.js
@@ -76,9 +76,9 @@
self.speed = 10;
self.update = function () {
// Apply gravity
self.speed += 0.5; // Gravity pulling down
- self.y += self.speed + 5; // Apply gravity to vertical speed and move downwards
+ self.y += self.speed; // Apply gravity to vertical speed
// Check if player is on the ground
if (self.y > ground.y - self.height / 2) {
self.y = ground.y - self.height / 2; // Correct position
self.speed = 0; // Stop moving downwards
@@ -271,9 +271,9 @@
size: 100,
fill: "#ffffff"
});
yourGoalText.anchor.set(0.5, 0);
-LK.gui.top.addChild(yourGoalText);
+LK.gui.bottom.addChild(yourGoalText);
// Display current level text
var levelText = new Text2('Level: ' + currentLevel, {
size: 100,
fill: "#ffffff"
Title game:duck with a gun. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Duck with a gun title logo. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Yellow_bullet pixel. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Red dot with white in the middle pixel. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Mana_icon pixel. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Enemy pixel. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
White_bullet_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
duck_death. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
duck_revive_in_game_over. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Continue_button_spending_gems. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Powerup_1. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Scenario. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Enemy pixel_2 more strong.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Danger sign. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.