Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'data')' in or related to this line: 'var startX = obj.event.data.global.x;' Line Number: 236
Code edit (9 edits merged)
Please save this source code
User prompt
plese make the game.up function detect swipes in three directions, either primarily up,primarily down or primarily right
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
User prompt
every 30 tiks, spawn a new collectible at random y position and x above 2048, and move it onto the screen
Code edit (10 edits merged)
Please save this source code
User prompt
make a class for a collectible object that is assigned a random asset: snacks, snacks2,snacks3, snacks4, snacks5, snacks6, or snacks7
Code edit (5 edits merged)
Please save this source code
User prompt
use player velocityY to make hm jump
Code edit (1 edits merged)
Please save this source code
User prompt
mak the player bob and bump continously to simulate a kind of stick-doll walkcycle animation
User prompt
use two instances of path for seamless scrolling
User prompt
make a parallax effect where the path and the bushes move slowly towards the left, as new instances are spawned on the right side seamlessly
User prompt
make another asset called berrybush, and use it randomly for shrubbery
Code edit (2 edits merged)
Please save this source code
User prompt
add a bit of randomness to the shrubberies x and y positions
Code edit (9 edits merged)
Please save this source code
User prompt
make a function to place x amount of shrubberies, more or less evenly spaced
User prompt
add a few shrubberies between the background and ground
Code edit (4 edits merged)
Please save this source code
User prompt
make a path asset
Code edit (1 edits merged)
Please save this source code
User prompt
please make a fullscreen background image
===================================================================
--- original.js
+++ change.js
@@ -79,15 +79,17 @@
if (self.actionTimer >= self.actionTimerMax) {
self.dashing = false;
self.playerWalkGraphics.alpha = 1;
self.playerDashGraphics.alpha = 0;
+ self.actionTimer = 0;
}
} else if (self.ducking) {
self.actionTimer++;
if (self.actionTimer >= self.actionTimerMax) {
self.dashing = false;
self.playerWalkGraphics.alpha = 1;
self.playerDuckGraphics.alpha = 0;
+ self.actionTimer = 0;
}
}
// Just walking
if (!self.jumping && !self.dashing && !self.ducking) {
A background illstration for a game, rich in style, medieval fantasy themed, of a landscape seen from a great distance, like froma mountain ridge with mountains and forests and lakes and lots of features.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A spritesheet with various poses for a heavily armored little dwarven warrior with an axe in various poses for use in an endless runner game. Te poses should include walking, eating, jumping, ducking low, and chargingforward. Sprites should be laid out in a rectangular grid wih blank space between them. Style should be medieval fantasy.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A game logo for a game called 'Endless Viking Run' using norse font on a background of a viking shield and crossed axes. Muted colors.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.