User prompt
when displaying the game over screen, also display the Busted asset in the center of the screen. It needs to start very small from the size of a pixel up to it's original size over the course of 200 miliseconds.once it reaches it's full size freeze it in place. this animation should only play just once!
User prompt
ensure the busted animation is not referenced twice in the code as I believe that's why it plays twice. remove any duplicate code
User prompt
the Busted animation playes twice, it should only play just once! after it reaches it's original size, mark it's animation as complete so it doesnt run a second time
User prompt
the Busted animation playes twice, it should only play just once!
User prompt
the Busted animation playes twice, it should only play just once!
User prompt
when displaying the Busted asset, once it increases to it's original size, it shouldn't repeat the animation, instead freeze the asset to it's original size. that animation needs to only play once
User prompt
when displaying the game over screen, also display the Busted asset in the center of the screen. It needs to start very small from the size of a pixel up to it's original size over the course of 200 miliseconds
User prompt
increase the time of the game over screen from 2 to 3 seconds
User prompt
during the game over screen state, change the game's default background color to this edf5f9
User prompt
as soon as the game goes to the game over screen, also stop the spawner from generating foods, and freeze any foods in place that have been generated already
User prompt
now create a Game Over screen. after the amount of Units go above 10, instead fo going directly to Game over, display the Game_Over asset inside the Foreground container, and remove all other visual assets from the screen. anchor the image to the bottom of the screen and maintain it's asset size. Display this asset for 2 seconds before going to the game actual game over state
User prompt
now create a Game Over screen and add it in its own class. after the amount of Units go above 10, instead fo going directly to Game over, display the Game_Over asset inside the Foreground container, and remove all other visual assets from the screen. anchor the image to the bottom of the screen and maintain it's asset size. Display this asset for 2 seconds before going to the game actual game over state
Code edit (4 edits merged)
Please save this source code
User prompt
when the game goes to the game over state for the 3 econds, also change the default game's background color to white. this white color is only changed during this game over screen, it should revert to the existign color upon restarting the game
Code edit (1 edits merged)
Please save this source code
User prompt
after the game is over and the game_over asset is displayed, you also need to hide the game's score and the digestive system so they're not shown on the screen as well.
User prompt
the game over state broke after the last game update. not only the Game_Over asset is not displayed, but the game also continues going for an extra turn after the 11th unit has been filled which would suppose to trigger this game over state
User prompt
now create a Game Over screen. after the amount of Units go above 10, instead fo going directly to Game over, display the Game_Over asset inside the Foreground container, and remove all other visual assets from the screen. anchor the image to the bottom of the screen and maintain it's asset size. Display this asset for 2 seconds before going to the game actual game over state
User prompt
now create a Game Over screen. after the amount of Units go above 10, instead fo going directly to Game over, display the Game Over asset inside the Foreground container, and remove all other visual assets from the screen. anchor the image to the bottom of the screen and maintain it's asset size. Display this asset for 2 seconds before going to the game actual game over state
Code edit (1 edits merged)
Please save this source code
User prompt
when displaying any of the assets between UI_1 and 5, play the Splash sound
Code edit (2 edits merged)
Please save this source code
User prompt
when the player changes state from the down to the up state play the Flush sound
User prompt
when the player moves to the up state play the Flush sound
Code edit (4 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -209,15 +209,15 @@
var UIElementDisplay = Container.expand(function () {
var self = Container.call(this);
self.displayUIElement = function (unitsCollected) {
var uiElementId;
- if (unitsCollected >= 1 && unitsCollected <= 2) {
+ if (unitsCollected >= 1 && unitsCollected <= 3) {
uiElementId = 'UI_1';
- } else if (unitsCollected >= 3 && unitsCollected <= 5) {
+ } else if (unitsCollected >= 5 && unitsCollected <= 7) {
uiElementId = 'UI_2';
- } else if (unitsCollected >= 6 && unitsCollected <= 7) {
+ } else if (unitsCollected === 8) {
uiElementId = 'UI_3';
- } else if (unitsCollected >= 8 && unitsCollected <= 9) {
+ } else if (unitsCollected === 9) {
uiElementId = 'UI_4';
} else if (unitsCollected === 10) {
uiElementId = 'UI_5';
}
hamburger. pixelated. 8-bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
poop UI element . pixelated. 8 bit.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
text saying "Constipated" against a poop banner. pixelated. 8-bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
text saying "You’re on a roll!" against a toilet paper banner. pixelated. 8-bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
text saying "Holy Crap!" against a divine angelic poop banner. pixelated. 8-bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixelated text saying "Shit Yeah!" as a shitty newspaper headline. pixelated. 8-bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
macdonalds fries but with the M letter rotated so it looks like a 3. pixelated. 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
large KFC bucket with the digit 5 on it. pixelated. 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit pixelated image of a video game character sitting with hands on a large belly, wearing a white shirt and brown pants. The setting is a simple bathroom, with the character as the main focus. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.