Plants Vs. Zombies: Makecode Edition

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

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

2 Likes

this game is so good i played so much

4 Likes

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

4 Likes

also:

6 Likes

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

2 Likes

thanks! I wouldn’t have thought of this

2 Likes

The Zombie Combination of 26’

2 Likes

that’s a lot of repeaters

2 Likes

just replace the sunflowers oh wait there is no shovel

2 Likes

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

3 Likes

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

2 Likes

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

3 Likes

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

3 Likes
How well does the game run?
  • Buttery smooth
  • Good
  • Could be better
  • Bad
  • < 5 FPS :skull:
0 voters
3 Likes

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.

3 Likes

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

2 Likes

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

2 Likes

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

3 Likes

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

1 Like

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

7 Likes