# Plants Vs. Zombies Micro - By ScriptScraper 🌱

**URL:** <https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654>\
**Category:** Show & Tell\
**Tags:** game\
**Created:** [April 26, 2026, 6:45pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654 "2026-04-26T18:45:58Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![DimonSw0rd11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dimonsw0rd11/32/32564_2.png) [@DimonSw0rd11](https://forum.makecode.com/u/DimonSw0rd11)\
**Post date:** [June 3, 2026, 3:01am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/21 "2026-06-03T03:01:34Z")

</div>

(for script) I made some code for the cursor to snap to the tile like described

 ![Screenshot 2026-06-02 7.04.52 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/e/2ecb93e6382163c8736760da1f1ca9609ad411b2.png)

I’m sure there’s a better way to detect when no movement keys are pressed (without using is any key pressed) but the code here works

---

<div class="post-metadata">

**Author:** ![kirbob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kirbob/32/34880_2.png) [@kirbob](https://forum.makecode.com/u/kirbob)\
**Post date:** [June 3, 2026, 3:06am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/22 "2026-06-03T03:06:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/f/7f58e3ccdd238b447b941bdccf75c92bf54a75b8.png)this game is so good i played so much

---

<div class="post-metadata">

**Author:** ![AlexTheGoober64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexthegoober64/32/36900_2.png) [@AlexTheGoober64](https://forum.makecode.com/u/AlexTheGoober64)\
**Post date:** [June 3, 2026, 3:07am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/23 "2026-06-03T03:07:41Z")

</div>

BRO THIS MUSIC IS SO PEAK HOW DID YOU RECREATE IT SO WELL!?

---

<div class="post-metadata">

**Author:** ![kirbob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kirbob/32/34880_2.png) [@kirbob](https://forum.makecode.com/u/kirbob)\
**Post date:** [June 3, 2026, 3:11am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/24 "2026-06-03T03:11:48Z")

</div>

also:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/0/b02dbddb91b690e0ed1d57b3958a9d42db32d749.png)

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [June 3, 2026, 11:42pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/25 "2026-06-03T23:42:36Z")

</div>

I don’t think that’s supposed to happen… is that after playing for a really long time?

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [June 3, 2026, 11:42pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/26 "2026-06-03T23:42:39Z")

</div>

thanks! I wouldn’t have thought of this

---

<div class="post-metadata">

**Author:** ![teaeat100](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/teaeat100/32/33097_2.png) [@teaeat100](https://forum.makecode.com/u/teaeat100)\
**Post date:** [June 3, 2026, 11:42pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/27 "2026-06-03T23:42:41Z")

</div>

The Zombie Combination of 26’

---

<div class="post-metadata">

**Author:** ![DimonSw0rd11](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dimonsw0rd11/32/32564_2.png) [@DimonSw0rd11](https://forum.makecode.com/u/DimonSw0rd11)\
**Post date:** [June 3, 2026, 11:42pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/28 "2026-06-03T23:42:43Z")

</div>

that’s a lot of repeaters

---

<div class="post-metadata">

**Author:** ![TheGooberEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thegooberearth/32/36693_2.png) [@TheGooberEarth](https://forum.makecode.com/u/TheGooberEarth)\
**Post date:** [June 3, 2026, 11:42pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/29 "2026-06-03T23:42:47Z")

</div>

just replace the sunflowers oh wait there is no shovel

---

<div class="post-metadata">

**Author:** ![kirbob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kirbob/32/34880_2.png) [@kirbob](https://forum.makecode.com/u/kirbob)\
**Post date:** [June 3, 2026, 11:53pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/30 "2026-06-03T23:53:11Z")

</div>

i played for a little longer than i should have.. i was at max coins for like 90% of the run until it crashed

---

<div class="post-metadata">

**Author:** ![teaeat100](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/teaeat100/32/33097_2.png) [@teaeat100](https://forum.makecode.com/u/teaeat100)\
**Post date:** [June 3, 2026, 11:59pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/31 "2026-06-03T23:59:18Z")

</div>

There is, cursor hovers above plant them press “B”

---

<div class="post-metadata">

**Author:** ![kirbob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kirbob/32/34880_2.png) [@kirbob](https://forum.makecode.com/u/kirbob)\
**Post date:** [June 4, 2026, 12:34am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/32 "2026-06-04T00:34:17Z")

</div>

its not on the pic but when i moved the cursor (it took over like 2 minutes for it to even make it on to a plant) the shovel kinda crashed or something

---

<div class="post-metadata">

**Author:** ![TheGooberEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thegooberearth/32/36693_2.png) [@TheGooberEarth](https://forum.makecode.com/u/TheGooberEarth)\
**Post date:** [June 4, 2026, 12:34am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/33 "2026-06-04T00:34:20Z")

</div>

huh I didnt realize that lol I was looking for the shovel button near the plants

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [June 4, 2026, 10:19pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/34 "2026-06-04T22:19:34Z")

</div>

_Poll ([view on site](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/34))_

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [June 4, 2026, 10:19pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/35 "2026-06-04T22:19:39Z")

</div>

how did it crash? If it was a gray screen, then that happens for some reason when the game runs for too long, I don’t think it’s a problem with the code.

---

<div class="post-metadata">

**Author:** ![kirbob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kirbob/32/34880_2.png) [@kirbob](https://forum.makecode.com/u/kirbob)\
**Post date:** [June 5, 2026, 2:20am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/36 "2026-06-05T02:20:06Z")

</div>

it lagged out until it froze. I waited like 8 minutes, it was more of a soft lock

---

<div class="post-metadata">

**Author:** ![Greysalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/greysalt/32/35195_2.png) [@Greysalt](https://forum.makecode.com/u/Greysalt)\
**Post date:** [June 16, 2026, 4:42pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/37 "2026-06-16T16:42:33Z")

</div>

Can someone make a main menu? I can code it for you guys and use the music provided

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [June 18, 2026, 2:23am UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/38 "2026-06-18T02:23:01Z")

</div>

I’m already planning to make the main menu next update or so, I plan on remaking the whole game eventually. But right now I’ve temporarily paused working on this game for the cursed game jam, and I’ll go back once it ends

---

<div class="post-metadata">

**Author:** ![Greysalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/greysalt/32/35195_2.png) [@Greysalt](https://forum.makecode.com/u/Greysalt)\
**Post date:** [June 18, 2026, 4:45pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/39 "2026-06-18T16:45:43Z")

</div>

Oh Okay I can’t wait to see what you do Next but here is one recomndation… along with the menu you should add the seed screen where you can pick your seed and add the waves in one update. I know that might be too much but GOOD JOB

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [July 20, 2026, 11:57pm UTC](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654/40 "2026-07-20T23:57:55Z")

</div>

BIG update incoming. It’ll take quite some time, so in the meantime, here’s a sneak peak!

 ![PVZ Makecode Lawn Day](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/2/42d5d22c2c4256f21dd765dd7f578e7b69a65a96.png)

[Previous page](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654.md?page=1)

[Next page](https://forum.makecode.com/t/plants-vs-zombies-micro-by-scriptscraper/43654.md?page=3)
