User prompt
Make the dialogue about your crush saying you can’t date her unless you can goon
User prompt
Make all your crush’s dialogue about gooning, at the beginning thinking you can’t goon, and at the end wanting to date you very bad because she knows you can goon
User prompt
Make the past dialogue disappear when the next one pops up
User prompt
Give your crush dialogue, and make her start thinking you can’t goon good enough, and ending with her wanting to date you.
User prompt
Make it so the time limit to press all the buttons on the first day is 20, and then every level after that the time limit decreases by 1 second
User prompt
Make it so you have 20 seconds to press all the buttons, and it decreases by 0.15 each second
User prompt
Make it so when you press a button, the time requirement decreases
User prompt
Make the time requirement in which you need to press the button slower
User prompt
Make the dialogue at the bottom
User prompt
Add dialogue from your crush each day
User prompt
Make a day counter and make the button bigger and circular and say “goon” on it
Initial prompt
Gooning simulator
/**** * Classes ****/ //<Write imports for supported plugins here> //<Write entity 'classes' with empty functions for important behavior here> var RedButton = Container.expand(function () { var self = Container.call(this); var buttonGraphics = self.attachAsset('redButton', { anchorX: 0.5, anchorY: 0.5 }); self.moveToRandomPosition = function () { self.x = Math.random() * (2048 - buttonGraphics.width) + buttonGraphics.width / 2; self.y = Math.random() * (2732 - buttonGraphics.height) + buttonGraphics.height / 2; }; self.onPress = function () { game.handleRedButtonPress(); }; self.down = function (x, y, obj) { self.onPress(); }; }); var StartButton = Container.expand(function () { var self = Container.call(this); var buttonGraphics = self.attachAsset('startButton', { anchorX: 0.5, anchorY: 0.5 }); var buttonText = new Text2('goon', { size: 50, fill: 0xFFFFFF }); buttonText.anchor.set(0.5, 0.5); self.addChild(buttonText); self.onPress = function () { game.startDay(); }; self.down = function (x, y, obj) { self.onPress(); }; }); /**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 //Init game with black background }); /**** * Game Code ****/ var dayCounter = new Text2('Day: 1', { size: 50, fill: 0xFFFFFF }); dayCounter.anchor.set(0.5, 0); LK.gui.top.addChild(dayCounter); game.updateDayCounter = function () { dayCounter.setText('Day: ' + day); }; game.updateDayCounter(); //<Assets used in the game will automatically appear here> //<Write game logic code here, including initializing arrays and variables> var redButton = new RedButton(); var startButton = new StartButton(); var day = 1; var pressCount = 0; var maxPresses = 10; var timeLimit = 2000; // Initial time limit in milliseconds var timer; game.addChild(startButton); startButton.x = 2048 / 2; startButton.y = 2732 / 2; game.startDay = function () { pressCount = 0; redButton.moveToRandomPosition(); game.addChild(redButton); startButton.visible = false; timer = LK.setTimeout(game.failDay, timeLimit); game.updateDayCounter(); // Add dialogue from your crush each day var dialogue = ["Hey!", "How are you?", "What's up?", "Missed you!", "Let's hang out!", "You're awesome!", "See you tomorrow!", "Good job!", "Keep it up!", "Almost there!", "You're doing great!", "Just a little more!", "You're almost done!", "Last day!", "Congratulations!"]; var crushDialogue = new Text2(dialogue[day - 1], { size: 50, fill: 0xFFFFFF }); crushDialogue.anchor.set(0.5, 0); LK.gui.bottom.addChild(crushDialogue); }; game.handleRedButtonPress = function () { pressCount++; if (pressCount >= maxPresses) { game.completeDay(); } else { redButton.moveToRandomPosition(); } }; game.completeDay = function () { LK.clearTimeout(timer); day++; if (day > 15) { LK.showYouWin(); } else { timeLimit -= 100; // Decrease time limit each day startButton.visible = true; game.removeChild(redButton); } }; game.failDay = function () { LK.showGameOver(); }; game.update = function () { // Game update logic if needed };
===================================================================
--- original.js
+++ change.js
@@ -85,9 +85,9 @@
size: 50,
fill: 0xFFFFFF
});
crushDialogue.anchor.set(0.5, 0);
- LK.gui.top.addChild(crushDialogue);
+ LK.gui.bottom.addChild(crushDialogue);
};
game.handleRedButtonPress = function () {
pressCount++;
if (pressCount >= maxPresses) {