pluto

- Nov 8, 2024
- Joined Jan 24, 2023
- 0 best answers
- 4 points
- 0 Following1 Follower
- â’¸ 253
i am your average guy who knows some coding
exactly the title
and yes im back i thinkPhotop is goofy
[WUT] Adam Not photop
ackvonhuelio nah i need that but i dont have geodebra and plus i can only install extensions allowed for my school district... is there like more of an alternative?
- In roleplay
ngl inter and chubz are kinda both in the wrong
- chubz sparked the argument
- inter could've just ignored him after the strike
- when you are a mod, you gotta keep your composure
- chubz argued back over his ban
i shall not reply in order to not be so hypocritical of me
ackvonhuelio i mean, i got my acc deleted once for legit having a chat that was private and the purpose was to mess around and see what things i could do with it
Letti42
well, im trying to make it so when the player clicks on a grid, it sets a timer to execute those lines of code.
(it's some ore mining game thingy)for (var gridI = 0; gridI < grids.length; gridI++) { if (mouseIsOver(grids[gridI]) && mouseWentDown("leftButton")) { grids[gridI].destroy(); grids.splice(); for (var stonesI = 0; stonesI < stones.length; stonesI++) {if (mouseIsOver(stones[stonesI]) && mouseWentDown("leftButton")) {cash += oreStats.stone.cash;}} for (var goldsI = 0; goldsI < golds.length; goldsI++) {if (mouseIsOver(golds[goldsI]) && mouseWentDown("leftButton")) {cash += oreStats.gold.cash;}} for (var topazesI = 0; topazesI < topazes.length; topazesI++) {if (mouseIsOver(topazes[topazesI]) && mouseWentDown("leftButton")) {cash += oreStats.topaz.cash;}} for (var emeraldsI = 0; emeraldsI < emeralds.length; emeraldsI++) {if (mouseIsOver(emeralds[emeraldsI]) && mouseWentDown("leftButton")) {cash += oreStats.emerald.cash;}} for (var rubiesI = 0; rubiesI < rubies.length; rubiesI++) {if (mouseIsOver(rubies[rubiesI]) && mouseWentDown("leftButton")) {cash += oreStats.ruby.cash;}} for (var sapphiresI = 0; sapphiresI < sapphires.length; sapphiresI++) {if (mouseIsOver(sapphires[sapphiresI]) && mouseWentDown("leftButton")) {cash += oreStats.sapphire.cash;}} for (var amethystsI = 0; amethystsI < amethysts.length; amethystsI++) {if (mouseIsOver(amethysts[amethystsI]) && mouseWentDown("leftButton")) {cash += oreStats.amethyst.cash;}} for (var diamondsI = 0; diamondsI < diamonds.length; diamondsI++) {if (mouseIsOver(diamonds[diamondsI]) && mouseWentDown("leftButton")) {cash += oreStats.diamond.cash;}} for (var plutonitesI = 0; plutonitesI < plutonites.length; plutonitesI++) {if (mouseIsOver(plutonites[diamondsI]) && mouseWentDown("leftButton")) {cash += oreStats.diamond.cash;}} } }
ok so im looping through the sprite behaviors using a for loop, but whenever i try settimeout, it ofc has a function and idk what else can work
(i tried incrementors and that didn't work)
Fluffypoopo THATS WHAT I'VE BEEN THINKING FOR MONTHS
Flowey_the_Flower be a man and try text; you'll get rizz if you do
ok why whenever i wake up my brain is using 100% of its power in programing
ackvonhuelio yeah my grid is a 8x6 which is not that much
- Edited
ok so i have been trying to make smth that would make it so sprites that were made by loops could have stats on each individual sprite (like for example value)
function drawGridsRow(y) { var x = 25; for (var i = 0; i < 8; i++) { createGrids(x, y); x += 50; } } function drawGrids() { var y = 125; for (var i = 0; i < 6; i++) { drawGridsRow(y); y += 50; } }
- In roleplay
babyshroomie aint no way 💀
- In roleplay
im confuzzled