User prompt
make the ShipMove asset play sound when the ship moves
User prompt
make the ship asset move with the mouse clicks
User prompt
put the ship asset
User prompt
Move the title of Five Nights at Freddy's up
User prompt
make a game menu with the title Five Nights at Freddy's and a play button
Code edit (1 edits merged)
Please save this source code
User prompt
make the back have the texture of the image "background"
User prompt
make the background have the texture of the "background" asset
User prompt
delete all
User prompt
delete the items
User prompt
make the block texture untraversable
User prompt
create a minecraft style dirt surface
Initial prompt
Paper Minecraft
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 }); /**** * Game Code ****/ // Create a new instance of the ship asset var ship = game.addChild(LK.getAsset('ship', { anchorX: 0.5, anchorY: 0.5, x: 1024, y: 1366 }));
===================================================================
--- original.js
+++ change.js
@@ -1,29 +1,17 @@
/****
* Initialize Game
****/
var game = new LK.Game({
- backgroundColor: 0xd7ed0e
+ backgroundColor: 0x000000
});
/****
* Game Code
****/
-// Create a title for the game
-var title = new Text2('Five Nights at Freddy\'s', {
- size: 100,
- fill: 0xFFFFFF
-});
-title.anchor.set(0.5, 0);
-LK.gui.top.addChild(title);
-// Create a play button
-var playButton = new Text2('Play', {
- size: 50,
- fill: 0xFFFFFF
-});
-playButton.anchor.set(0.5, 0);
-LK.gui.center.addChild(playButton);
-// Add an event listener to the play button
-playButton.down = function (x, y, obj) {
- // Start the game when the play button is pressed
- console.log("Play button was pressed, start the game");
-};
\ No newline at end of file
+// Create a new instance of the ship asset
+var ship = game.addChild(LK.getAsset('ship', {
+ anchorX: 0.5,
+ anchorY: 0.5,
+ x: 1024,
+ y: 1366
+}));
\ No newline at end of file
futuristic spaceship old nintendo game sprite. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
UFO sprite old nintendo game. 2d. No shadows
meteorite sprite old nintendo game. 2d. Blank background. High contrast. No shadows
Alien Mothership. 2d. Blank background. High contrast. No shadows