User prompt
When spawning particles, make sure the direction of the particles can only be upwards.
User prompt
make all particles having a negative y-speed.
User prompt
Add half the height of the player to particle Y.
User prompt
Add particles that spawn from the center button of my character when I jump.
User prompt
prevent the platforms from spawning at the very top and the very bottom of the screen.
User prompt
So while my character is in the air say not standing on the ground nor standing on a platform make it rotate
User prompt
double the spawn rate of enemies.
User prompt
double the pace of which platforms spawn at.
User prompt
Make sure platforms and enemies never overlap.
User prompt
increase my jump height by 25%
User prompt
half as high as I can jump by decreasing the modified vector when jumping.
User prompt
Half how high I can jump.
User prompt
half the impact of the gravity of the plane.
User prompt
Make the speed of the enemy speed up 10 times as fast.
User prompt
make the enemy speed speed up as time progress in the game.
User prompt
the enemy should move 25% faster than the platforms.
User prompt
Make the enemies move 25% faster.
User prompt
Use a different asset for the platforms.
User prompt
Move the player even further to the left.
User prompt
Move the horizontal position of the player such that it's much closer to the left of the screen.
User prompt
I seem to sink halfway into the floor. Please fix this for the floor without changing the player in person.
User prompt
I seem to sink halfway into the floor rather than being standing on the floor. Please fix that.
User prompt
Please set the platform graphics anchor Y to zero.
User prompt
For the PlayerGraphics asset, please set anchor Y to 1.
User prompt
Please move the Player Graphics Anchor Y to 1.
===================================================================
--- original.js
+++ change.js
@@ -13,9 +13,9 @@
var particleGraphics = self.attachAsset('particle', {
anchorX: 0.5,
anchorY: 0.5
});
- self.speed = Math.random() * 5 + 2;
+ self.speed = -(Math.random() * 5 + 2);
self.direction = Math.random() * Math.PI * 2;
self.lifetime = 30;
self.update = function () {
self.x += Math.cos(self.direction) * self.speed;