Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm no expert, but I believe it might be some sort of memory issue. I like to tab out (or in this case, switch tabs) to fix Youtube or whatever, and I think I found out what happened.

So, after placing your plants, I imagine that the plant takes up a tile, which disallows other plants from being placed there. However, if you were to switch tabs, the game seems to forget that those tiles are full, but the plants remain, allowing for Plant Stacks(tm).

Thanks for the explanation. After checking again, it hasn't been fixed. I trully don't know why the game forgets the tiles are full, but your explanation seems to make sense. Hopefully I'll get to fix it. Seriously though I don't know why this sometimes work and sometimes doesn't. I even found the bug you just got. I'll check again and try to get it fixed. Again, thanks for letting me know.

(+1)

No problem, always glad to help. And do with that what you will, but in all seriousness, I kind of like the concept of combining "towers" in order to use space efficiently.

(+1)

Actually maybe I can use that idea for a latter game, however PvZ is all about using your space so it doesn't work here, but now that you mention it, it really could be a good mechanic for a tower defense game. Maybe I'll make a game about it in the future, maybe not. Still, great idea.

(1 edit)

Actually, I think I know what the problem was. I put over 3 checks just to confirm that a tile is ocupied because sometimes the game just won't recognize it for some reason. What happens (or what I think was happening, was that one of those checks was if one plant was over another object, which was the tiles. However, what I didn't realize as I made the tiles invisible (so the background tiles would seem as the actual tiles) was that actually, the plants were created on a lower layer than the tiles, thus a plant would never be above said tile, which could cause an error. If this doesn't solve it then I don't know what it could be. Hopefully the new version won't have any bugs.

Edit: I uploaded it and it seems it has been fixed. At least the bug I found before seems fixed, and luckily, the bug you found is so.

Legit, I was going to put that it might've been a layer issue in my first reply, but it seems it may not be the case

(2 edits)

Is that screenshot from now or it was from before? Askin cuz I just uploaded again and Imma punch my pillow if it's still not working lol.

Edit: Turns out I hadn't upload the right file. Sorry! If you're still there I'm asking for the actual version.

It was from just now, I even closed my browser, hmm. I've got no clue what might be causing it, but the switching tabs thing seems to re-activate it again for whatever reason.

(4 edits)

I just uploaded it again. Could you check it now please? I confused the file before and accidentally put the same one as the old version.

Fr*ck. I think the new version solved it but now I ranned into another bug.

Nevermind I think it was just some other thing. Still I would like you to see if the main bug was fixed. I understand if you're tired but it would really help me.

Forget it, the bug is still there. I'm pretty much gonna stay here a long time, I would actually recommend you to just go and do other stuff, I have actually made you lose a lot of time.

(1 edit)


It seems a lot harder to get the bug to occur consistently, but unfortunately occur it did. Also, for a bit after the mine explodes, I have some difficulty placing plants in it's tile, was that the other bug?

Edit: After some more testing (and general clicking around) I think I have a hunch, I think it's caused directly by the potato mines. After they explode, after a few seconds, I can start making plant stacks.

I think so. However, I think I got what causes the main bug. Not sure about mine one, but main one is caused right after a zombie eats a plant, I think. I'm working on it rn.