User prompt
For alpha of background add .5 and set max to 1
User prompt
Also add a new bell when bells are destroyed for being off screen
User prompt
Remove bells which are 100 below the visible are factoring in the layer
User prompt
Divide background alpha by 500000 instead of 10000
User prompt
Divide background alpha by 10000 rather than 100
User prompt
Divide player alpha with 10000
User prompt
Calculate background alpha as (-2790-player.y)/100
User prompt
Player alpha should decrease 100 times slower. Note that player.y can go negative
User prompt
Increase background alpha 100 times slowe
User prompt
Slowly increase background alpha as player y decrease. Cap alpha at 1
User prompt
Set background alpha to .5
User prompt
Add a background graphics element behind all layers
User prompt
Move down forest graphics by 50px
User prompt
Set mountain later speed to .3/2/2/2
User prompt
Set valley speed to .3/2/2
User prompt
Set forest later speed to .3/2
User prompt
Set ground layer speed to .3
User prompt
Move up forestGraphics by 100px
User prompt
Move up forestGraphics by 50px
User prompt
Move down ground layer by 20px
User prompt
Attach ground layer after foreground
User prompt
Move down ground graphics by 100px
User prompt
reverse the flipping of player graphics
User prompt
Flip playerGraphics based on x speed
User prompt
Flip playerGraphics based on y speed
===================================================================
--- original.js
+++ change.js
@@ -106,9 +106,9 @@
var targetParallaxValue = 1366 - player.y;
var currentParallaxValue = foreground.actualY;
var parallaxDifference = targetParallaxValue - currentParallaxValue;
var parallaxSpeed = Math.max(1, Math.abs(parallaxDifference) / 10);
- background.alpha = (-2790 - player.y) / 500000;
+ background.alpha = Math.min(1, (-2790 - player.y) / 500000 + 0.5);
if (currentParallaxValue < targetParallaxValue) {
self.layers.forEach(function (layer) {
layer.setParallaxY(currentParallaxValue + Math.min(parallaxSpeed, targetParallaxValue - currentParallaxValue));
});
Tree line of snowy pine trees. Cartoon. Black background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Mountain valley with snowy trees. Scenic view. Nighttime. Cartoon. Black background. New moon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Background mountains, nighttime, snow topped Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d platform snowy ground. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cute cartoon rabbit, jumping upwards facing camera. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Starry night sky, northern lights, looking up. Cartoon style. Above clouds Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Single White Christmas bell. White decorations. Cartoon. Outline Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
White Simple Cartoon snowflake Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.