User prompt
add baseballcap
User prompt
move beanie up by 40
User prompt
move beanie down by 200
User prompt
move beanie up by 300
User prompt
move beanie to the other side of the wolf skin hat
User prompt
move beanie to next to the wolf skin hat
User prompt
add beanie
User prompt
When all 17 items are collected in inventory you win the game
User prompt
Extend inventory bar on top screen by 300
User prompt
Remove inventory background on top and bottom of screen
User prompt
Move inventory bar at bottom up 300 pixels.
User prompt
Fix bottom inventory bar so your items fit in the middle of the box and positioned correctly.
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'setText')' in or related to this line: 'budgetText.setText('$' + shoppingCart.getBudget());' Line Number: 378
User prompt
Move top inventory bar 200 pixels left.
User prompt
Make all items $1.00
User prompt
Make items cheaper.
User prompt
Extend inventory bar length on top of screen 100 pixels right.
User prompt
Extend the inventory bar length on top of screen to 300 pixels right.
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'addItem')' in or related to this line: 'if (shoppingCart.addItem('Fox Skin', 5)) {' Line Number: 347
User prompt
Arrange inventory bar so items start near the pause button.
User prompt
Fix inventory bar so items start at the left of screen and move to the right of screen.
User prompt
Adjust the inventory bar so items fit from left to right.
User prompt
Move items in inventory bar to the left by 300 pixels.
User prompt
Arrange prices so all items can be bought with $20.
User prompt
Make Knee Board Cheaper!
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 }); /**** * Game Code ****/ // Create a title page var titlePage = game.addChild(new Container()); titlePage.addChild(LK.getAsset('titlescreen', { anchorX: 0.5, anchorY: 0.5, x: 1024, y: 1366 })); // Create a start button var startButton = titlePage.addChild(LK.getAsset('categoryButton', { anchorX: 0.5, anchorY: 0.5, x: 1024, y: 1666, scaleX: 1.5, scaleY: 1.5 })); // Add text to the start button var startButtonText = new Text2('Start', { size: 50, fill: 0xFFFFFF }); startButtonText.anchor.set(0.5, 0.5); startButton.addChild(startButtonText); startButton.interactive = true; startButton.on('down', function () { // Remove the title page when the start button is clicked titlePage.destroy(); // Add the thrift background when the start button is clicked game.addChild(LK.getAsset('thriftBackground', { anchorX: 0.5, anchorY: 0.5, x: 1024, y: 1366 })); // Add inventory bar to the top of the screen with automatic scrolling var inventoryBar = game.addChild(LK.getAsset('cartBackground', { anchorX: 0.5, anchorY: 0.0, x: 200, y: 0, scaleX: 1.25 // Extend the inventory bar length to 400 pixels right })); // Add a second inventory bar to the bottom of the screen var bottomInventoryBar = game.addChild(LK.getAsset('cartBackground', { anchorX: 0.5, anchorY: 1.0, x: 1024, y: 2732 })); // Add shopkeeper to the game screen var shopkeeper = game.addChild(LK.getAsset('shopkeeper', { anchorX: 0.5, anchorY: 0.5, x: 1224, y: 1430 })); // Add big-ass coat to the game screen var bigAssCoat = game.addChild(LK.getAsset('bigAssCoat', { anchorX: 0.5, anchorY: 0.5, x: 1524, y: 2040 })); bigAssCoat.interactive = true; bigAssCoat.on('down', function () { if (shoppingCart.addItem('Big Ass Coat', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); bigAssCoat.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('bigAssCoat', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add Dookie Brown leather jacket to the game screen var dookieBrownLeatherJacket = game.addChild(LK.getAsset('dookieBrownLeatherJacket', { anchorX: 0.5, anchorY: 0.5, x: 2004, y: 2040 })); dookieBrownLeatherJacket.interactive = true; dookieBrownLeatherJacket.on('down', function () { if (shoppingCart.addItem('Dookie Brown Leather Jacket', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); dookieBrownLeatherJacket.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('dookieBrownLeatherJacket', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add Grandad's coat to the game screen var grandadsCoat = game.addChild(LK.getAsset('granddadsClothes', { anchorX: 0.5, anchorY: 0.5, x: 1769, y: 2020 })); grandadsCoat.interactive = true; grandadsCoat.on('down', function () { if (shoppingCart.addItem('Grandad\'s Coat', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); grandadsCoat.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('granddadsClothes', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add pink leopard mink to the game screen var pinkLeopardMink = game.addChild(LK.getAsset('pinkLeopardMink', { anchorX: 0.5, anchorY: 0.5, x: 300, y: 2100 })); pinkLeopardMink.interactive = true; pinkLeopardMink.on('down', function () { if (shoppingCart.addItem('Pink Leopard Mink', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); pinkLeopardMink.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('pinkLeopardMink', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add plaid button-up shirt to the game screen var plaidButtonUpShirt = game.addChild(LK.getAsset('plaidButtonUpShirt', { anchorX: 0.5, anchorY: 0.5, x: 550, y: 1620 })); plaidButtonUpShirt.interactive = true; plaidButtonUpShirt.on('down', function () { if (shoppingCart.addItem('Plaid Button-Up Shirt', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); plaidButtonUpShirt.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('plaidButtonUpShirt', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add Lord Jumpsuit to the game screen var lordJumpsuit = game.addChild(LK.getAsset('velourJumpsuit', { anchorX: 0.5, anchorY: 0.5, x: 100, y: 2120 })); lordJumpsuit.interactive = true; lordJumpsuit.on('down', function () { if (shoppingCart.addItem('Lord Jumpsuit', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); lordJumpsuit.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('velourJumpsuit', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add built-in onesie with socks to the game screen var builtInOnesieWithSocks = game.addChild(LK.getAsset('builtInOnesieWithSocks', { anchorX: 0.5, anchorY: 0.5, x: 820, y: 1600 })); builtInOnesieWithSocks.interactive = true; builtInOnesieWithSocks.on('down', function () { if (shoppingCart.addItem('Built-In Onesie With Socks', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); builtInOnesieWithSocks.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('builtInOnesieWithSocks', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add zebra pajamas to the game screen var zebraPajamas = game.addChild(LK.getAsset('flannelZebraPyjamas', { anchorX: 0.5, anchorY: 0.5, x: 750, y: 2020 })); zebraPajamas.interactive = true; zebraPajamas.on('down', function () { if (shoppingCart.addItem('Zebra Pajamas', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); zebraPajamas.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('flannelZebraPyjamas', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add fox skin to the game screen var foxSkin = game.addChild(LK.getAsset('furFoxSkin', { anchorX: 0.5, anchorY: 0.5, x: 970, y: 2000 })); foxSkin.interactive = true; foxSkin.on('down', function () { if (shoppingCart.addItem('Fox Skin', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); foxSkin.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('furFoxSkin', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add skeet blanket to the game screen var skeetBlanket = game.addChild(LK.getAsset('skeetBlanket', { anchorX: 0.5, anchorY: 0.5, x: 1200, y: 2000 })); skeetBlanket.interactive = true; skeetBlanket.on('down', function () { if (shoppingCart.addItem('Skeet Blanket', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); skeetBlanket.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('skeetBlanket', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add house slippers to the game screen var houseSlippers = game.addChild(LK.getAsset('houseSlippers', { anchorX: 0.5, anchorY: 0.5, x: 1700, y: 1320 })); houseSlippers.interactive = true; houseSlippers.on('down', function () { if (shoppingCart.addItem('House Slippers', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); houseSlippers.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('houseSlippers', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add wolf skin hat to the game screen var wolfSkinHat = game.addChild(LK.getAsset('wolfSkinHat', { anchorX: 0.5, anchorY: 0.5, x: 520, y: 1290 })); wolfSkinHat.interactive = true; wolfSkinHat.on('down', function () { if (shoppingCart.addItem('Wolf Skin Hat', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); wolfSkinHat.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('wolfSkinHat', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add Gator Shoe to the game screen var gatorShoes = game.addChild(LK.getAsset('gatorShoes', { anchorX: 0.5, anchorY: 0.5, x: 1800, y: 1430 })); gatorShoes.interactive = true; gatorShoes.on('down', function () { if (shoppingCart.addItem('Gator Shoes', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); gatorShoes.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('gatorShoes', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add velcro sneakers to the game screen var velcroSneakers = game.addChild(LK.getAsset('velcroSneakers', { anchorX: 0.5, anchorY: 0.5, x: 1900, y: 1310 })); velcroSneakers.interactive = true; velcroSneakers.on('down', function () { if (shoppingCart.addItem('Velcro Sneakers', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); velcroSneakers.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('velcroSneakers', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add telescope to the game screen var telescope = game.addChild(LK.getAsset('telescope', { anchorX: 0.5, anchorY: 0.5, x: 900, y: 1030 })); telescope.interactive = true; telescope.on('down', function () { if (shoppingCart.addItem('Telescope', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); telescope.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('telescope', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add kneeboard to the game screen var kneeboard = game.addChild(LK.getAsset('kneeBoard', { anchorX: 0.5, anchorY: 0.5, x: 1500, y: 2200 })); kneeboard.interactive = true; kneeboard.on('down', function () { if (shoppingCart.addItem('Kneeboard', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); kneeboard.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('kneeBoard', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add broken keyboard to the game screen var brokenKeyboard = game.addChild(LK.getAsset('brokenKeyboard', { anchorX: 0.5, anchorY: 0.5, x: 1770, y: 970 })); brokenKeyboard.interactive = true; brokenKeyboard.on('down', function () { if (shoppingCart.addItem('Broken Keyboard', 1.00)) { budgetText.setText('$' + shoppingCart.getBudget()); brokenKeyboard.destroy(); // Remove item from scene var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar; var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', { anchorX: 0.5, anchorY: 0.5, x: targetBar.children.length * 180 + 90, y: 125 })); itemSlot.addChild(LK.getAsset('brokenKeyboard', { anchorX: 0.5, anchorY: 0.5, x: 0, y: 0, scaleX: 0.5, scaleY: 0.5 })); } }); // Add instruction box with black background to the middle of the screen var instructionBox = game.addChild(LK.getAsset('instructionBox', { anchorX: 0.5, anchorY: 0.5, x: 1024, y: 1366, scaleX: 1.5, scaleY: 1.5 })); var shoppingCart = new ShoppingCart(20); // Initialize shoppingCart with $20 in budget var budgetText; // Define budgetText in the global scope var instructionText = new Text2('Welcome to Poppin\' Tags: A Thrift Shop Adventure.', { size: 50, fill: 0xFFFFFF }); instructionText.anchor.set(0.5, 0.5); instructionText.zIndex = 2; // Increase zIndex to place text in front of instruction box instructionBox.addChild(instructionText); instructionBox.interactive = true; var clickCount = 0; instructionBox.on('down', function () { clickCount++; if (clickCount === 1) { instructionText.setText('You have $20 in your pocket and are huntin\' for a come-up.'); } else if (clickCount === 2) { instructionText.setText('Try and buy all items on your shopping list \n as cheap as you can. This is gonna be AWESOME!!!'); } else if (clickCount === 3) { instructionBox.destroy(); shoppingCart = new ShoppingCart(20); // Create a shopping cart with $20 in budget var shoppingCartDisplay = game.addChild(LK.getAsset('moneyContainer', { anchorX: 0.5, anchorY: 0.5, x: 200, y: 300, scaleX: 1.5, scaleY: 1.5 })); budgetText = new Text2('$' + shoppingCart.getBudget(), { size: 50, fill: 0xFFFFFF }); budgetText.anchor.set(0.5, 0.5); budgetText.zIndex = 2; // Increase zIndex to place text in front of shopping cart shoppingCartDisplay.addChild(budgetText); } }); }); var ShoppingCart = /*#__PURE__*/function () { function ShoppingCart(initialBudget) { _classCallCheck(this, ShoppingCart); this.budget = initialBudget; this.items = []; } return _createClass(ShoppingCart, [{ key: "addItem", value: function addItem(item, price) { if (this.budget >= price) { this.items.push(item); this.budget -= price; return true; } return false; } }, { key: "removeItem", value: function removeItem(item, price) { var index = this.items.indexOf(item); if (index > -1) { this.items.splice(index, 1); this.budget += price; } } }, { key: "getBudget", value: function getBudget() { return this.budget; } }, { key: "getItems", value: function getItems() { return this.items; } }]); }(); function _createClass(Constructor, protoProps, staticProps) { if (protoProps) { protoProps.forEach(function (prop) { Object.defineProperty(Constructor.prototype, prop.key, prop); }); } if (staticProps) { staticProps.forEach(function (prop) { Object.defineProperty(Constructor, prop.key, prop); }); } return Constructor; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
===================================================================
--- original.js
+++ change.js
@@ -73,9 +73,9 @@
y: 2040
}));
bigAssCoat.interactive = true;
bigAssCoat.on('down', function () {
- if (shoppingCart.addItem('Big Ass Coat', 1)) {
+ if (shoppingCart.addItem('Big Ass Coat', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
bigAssCoat.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -102,9 +102,9 @@
y: 2040
}));
dookieBrownLeatherJacket.interactive = true;
dookieBrownLeatherJacket.on('down', function () {
- if (shoppingCart.addItem('Dookie Brown Leather Jacket', 3)) {
+ if (shoppingCart.addItem('Dookie Brown Leather Jacket', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
dookieBrownLeatherJacket.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -131,9 +131,9 @@
y: 2020
}));
grandadsCoat.interactive = true;
grandadsCoat.on('down', function () {
- if (shoppingCart.addItem('Grandad\'s Coat', 2)) {
+ if (shoppingCart.addItem('Grandad\'s Coat', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
grandadsCoat.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -160,9 +160,9 @@
y: 2100
}));
pinkLeopardMink.interactive = true;
pinkLeopardMink.on('down', function () {
- if (shoppingCart.addItem('Pink Leopard Mink', 4)) {
+ if (shoppingCart.addItem('Pink Leopard Mink', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
pinkLeopardMink.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -189,9 +189,9 @@
y: 1620
}));
plaidButtonUpShirt.interactive = true;
plaidButtonUpShirt.on('down', function () {
- if (shoppingCart.addItem('Plaid Button-Up Shirt', 2)) {
+ if (shoppingCart.addItem('Plaid Button-Up Shirt', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
plaidButtonUpShirt.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -218,9 +218,9 @@
y: 2120
}));
lordJumpsuit.interactive = true;
lordJumpsuit.on('down', function () {
- if (shoppingCart.addItem('Lord Jumpsuit', 5)) {
+ if (shoppingCart.addItem('Lord Jumpsuit', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
lordJumpsuit.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -247,9 +247,9 @@
y: 1600
}));
builtInOnesieWithSocks.interactive = true;
builtInOnesieWithSocks.on('down', function () {
- if (shoppingCart.addItem('Built-In Onesie With Socks', 2)) {
+ if (shoppingCart.addItem('Built-In Onesie With Socks', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
builtInOnesieWithSocks.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -276,9 +276,9 @@
y: 2020
}));
zebraPajamas.interactive = true;
zebraPajamas.on('down', function () {
- if (shoppingCart.addItem('Zebra Pajamas', 2)) {
+ if (shoppingCart.addItem('Zebra Pajamas', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
zebraPajamas.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -305,9 +305,9 @@
y: 2000
}));
foxSkin.interactive = true;
foxSkin.on('down', function () {
- if (shoppingCart.addItem('Fox Skin', 3)) {
+ if (shoppingCart.addItem('Fox Skin', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
foxSkin.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -334,9 +334,9 @@
y: 2000
}));
skeetBlanket.interactive = true;
skeetBlanket.on('down', function () {
- if (shoppingCart.addItem('Skeet Blanket', 0.5)) {
+ if (shoppingCart.addItem('Skeet Blanket', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
skeetBlanket.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -363,9 +363,9 @@
y: 1320
}));
houseSlippers.interactive = true;
houseSlippers.on('down', function () {
- if (shoppingCart.addItem('House Slippers', 0.5)) {
+ if (shoppingCart.addItem('House Slippers', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
houseSlippers.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -392,9 +392,9 @@
y: 1290
}));
wolfSkinHat.interactive = true;
wolfSkinHat.on('down', function () {
- if (shoppingCart.addItem('Wolf Skin Hat', 1)) {
+ if (shoppingCart.addItem('Wolf Skin Hat', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
wolfSkinHat.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -421,9 +421,9 @@
y: 1430
}));
gatorShoes.interactive = true;
gatorShoes.on('down', function () {
- if (shoppingCart.addItem('Gator Shoes', 5)) {
+ if (shoppingCart.addItem('Gator Shoes', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
gatorShoes.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -450,9 +450,9 @@
y: 1310
}));
velcroSneakers.interactive = true;
velcroSneakers.on('down', function () {
- if (shoppingCart.addItem('Velcro Sneakers', 0.5)) {
+ if (shoppingCart.addItem('Velcro Sneakers', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
velcroSneakers.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -479,9 +479,9 @@
y: 1030
}));
telescope.interactive = true;
telescope.on('down', function () {
- if (shoppingCart.addItem('Telescope', 4)) {
+ if (shoppingCart.addItem('Telescope', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
telescope.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -508,9 +508,9 @@
y: 2200
}));
kneeboard.interactive = true;
kneeboard.on('down', function () {
- if (shoppingCart.addItem('Kneeboard', 6)) {
+ if (shoppingCart.addItem('Kneeboard', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
kneeboard.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
@@ -537,9 +537,9 @@
y: 970
}));
brokenKeyboard.interactive = true;
brokenKeyboard.on('down', function () {
- if (shoppingCart.addItem('Broken Keyboard', 0.1)) {
+ if (shoppingCart.addItem('Broken Keyboard', 1.00)) {
budgetText.setText('$' + shoppingCart.getBudget());
brokenKeyboard.destroy(); // Remove item from scene
var targetBar = inventoryBar.children.length < 10 ? inventoryBar : bottomInventoryBar;
var itemSlot = targetBar.addChild(LK.getAsset('itemSlot', {
onesie with socks. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
big coat. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
brown leather jacket. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
flannel zebra pyjamas. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
fur fox skin. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Pink leopard mink coat. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Wolf skin hat. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Velour jumpsuit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Telescope. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Dirty blanket. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Velcro sneakers. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Plaid button up shirt. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
music keyboard. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Shopping list that says Big ass coat, Broken keyboard, skeet blanket, pink leopard mink, built-in onesie with the socks. In-Game asset. 2d. High contrast. No shadows
Price tag that says big ass coat $4.00. In-Game asset. 2d. High contrast. No shadows
Price tag that says Kneeboard $4.00. In-Game asset. 2d. High contrast. No shadows
police tag that says Broken Keyboard for $2. In-Game asset. 2d. High contrast. No shadows
Price tag that says Telescope $3.00. In-Game asset. 2d. High contrast. No shadows
price tag that's says Dookie Brown Leather Jacket $3.50. In-Game asset. 2d. High contrast. No shadows
price tag that says pink leopard mink $5. In-Game asset. 2d. High contrast. No shadows
price tag that says plaid button up shirt $2. In-Game asset. 2d. High contrast. No shadows
Price tag that says Gator shoes $3.00. In-Game asset. 2d. High contrast. No shadows
price tag that says fox skin $4.50. In-Game asset. 2d. High contrast. No shadows
Price tag that says Velcro sneakers $2.00. In-Game asset. 2d. High contrast. No shadows
price tag that says house slippers $1.50. In-Game asset. 2d. High contrast. No shadows
Price tag that says velour jumpsuit $3.00. In-Game asset. 2d. High contrast. No shadows
price tag that says wolf skin hat $2. In-Game asset. 2d. High contrast. No shadows
Price tag that says skeet blanket $2.00. In-Game asset. 2d. High contrast. No shadows
Price tag that says Zebra Pyjamas $2.50. In-Game asset. 2d. High contrast. No shadows
Green Discount price tag that says Big ass coat $2.40. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount Dookie Brown Leather Jacket $2.80. In-Game asset. 2d. High contrast. No shadows
Green price tag that says discount kneeboard $3.20. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount plaid button up shirt $1.60. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount zebra pajamas $2. In-Game asset. 2d. High contrast. No shadows
Green pricetag that says discount Telescope $2.40. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount velour jumpsuit $2.40. In-Game asset. 2d. High contrast. No shadows
Green pricetag that says discount Velcro sneakers $1.60. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount house slippers $1.20. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount wolf skin hat $1.60. In-Game asset. 2d. High contrast. No shadows
Green pricetag that says discount gator shoes $2.40. In-Game asset. 2d. High contrast. No shadows
Green pricetag that says discount built in onesie with socks $1.60. In-Game asset. 2d. High contrast. No shadows
Price tag that says built-in onesie with socks $2.00. In-Game asset. 2d. High contrast. No shadows
green price tag that says discount pink leopard mink 99 cents! In-Game asset. 2d. High contrast. No shadows
green price tag that says discount fox skin $2 In-Game asset. 2d. High contrast. No shadows
green price tag that says discount skeet blanket $0.50 In-Game asset. 2d. High contrast. No shadows
Green price tag that says discount broken keyboard $1 In-Game asset. 2d. High contrast. No shadows
Make picture transparent
Make picture transparent
Make picture transparent
Make picture transparent
Make picture transparent
Add number 5 to painted area
Sign that says play the notes in right order to start the game. In-Game asset. 2d. High contrast. No shadows
portrait banner, high definition, for a game titled "Poppin' Tags: A Thrift Shop Trubute"
How to play button. In-Game asset. 2d. High contrast. No shadows
1
Sound effect
2
Sound effect
3
Sound effect
4
Sound effect
5
Sound effect
6
Sound effect
7
Sound effect
8
Sound effect
Item1
Sound effect
Instrumental
Music
instrumentalMusic
Music
Heymacklemore
Sound effect
Cash
Sound effect
Leopardmink
Sound effect
Gatorshoes
Sound effect
Houseslippers
Sound effect
Dookiebrown
Sound effect
Velcros
Sound effect
Grandmascoat
Sound effect
Bigasscoat
Sound effect
Kneeboard
Sound effect
Brokenkeyboard
Sound effect
Skeetblanket
Sound effect
Foxfur
Sound effect
Builtinonesie
Sound effect
Plaidshirt
Sound effect
Telescope
Sound effect
Velourjumpsuit
Sound effect
Wolfhat
Sound effect
Zebrajamies
Sound effect
Poptags
Sound effect
Probsshoulda
Sound effect