User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.moveTween = tween.to(player, {' Line Number: 470
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.moveTween = tween.to(player, {' Line Number: 470
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.moveTween = tween.to(player, {' Line Number: 470
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.moveTween = tween.to(player, {' Line Number: 470
User prompt
Now it is way too slow. Make it speed up when far away from the mouse, and slow down when near the mouse. It should be fast enough for the player to make quick escapes. The fatrther the mouse, the more the ship speed.
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.moveTween = tween.to(player, {' Line Number: 458 ↪💡 Consider importing and using the following plugins: @upit/tween.v1
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.moveTween = tween.to(player, {' Line Number: 458
User prompt
No make it still move slowly while dragging but slower than before, but keep the delay instantaneous for the ship.
User prompt
The takes time to start moving, make that instantaneous.
User prompt
Make it even slower, and also if the ship is not where the mouse is at any time and the mouse is down, the ship immediately tries to stay on top of the mouse always.
User prompt
It still moves very fast, make it move much slower.
User prompt
Make it so that when the mouse is clicked/screen is touched in a specific spot, the Player's Ship moves towards the mouse instead of teleporting to it. This movement should have realistic physics. ↪💡 Consider importing and using the following plugins: @upit/tween.v1
Code edit (1 edits merged)
Please save this source code
User prompt
Cosmic Defender: Space Assault
Initial prompt
Lets make a 2d Top down shooter game
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
An enemy spaceship in a topdown shooter. In-Game asset. 2d. High contrast. No shadows
A player's spaceship in a topdown shooter (mainly blue in colour). In-Game asset. 2d. High contrast. No shadows
A powerup in a top-down shooter (icon of powerup no text). In-Game asset. 2d. High contrast. No shadows
Health Powerup in 2d space shooter (top down). In-Game asset. 2d. High contrast. No shadows
An explosion which contains debris of a spaceship. In-Game asset. 2d. High contrast. No shadows
pool of fire with top down view. In-Game asset. 2d. High contrast. No shadows
Make a small circle that looks like a laser (red colour). In-Game asset. 2d. High contrast. No shadows
Make a very small circle that looks like a laser (blue colour). In-Game asset. 2d. High contrast. No shadows. In-Game asset. 2d. High contrast. No shadows
A missile. In-Game asset. 2d. High contrast. No shadows