Skip to main content

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

I figured out how to upload game to itch.io using a site I know how 2 use. I found a site that converts scratch files to html5. I can now make my own pvz game now lol. 

Oh that's nice! Good for you! I'd be glad to give it a try once you finish it if you do! Wish you luck with it. I don't really use Scratch because of some limitations I think it has but I think it shouldn't be THAT hard to create a TD defense game on it.

The pvz game is coming together very smoothly. I have peashooter almost done. Animations are done and pea firing is done, just need to make it to where they shoot when they see a zombie.  Sunflower is  mostly done as well. And basic zombie is coming together. GUI elements are done for the most part, and seed packets will be finalized when plants are done. Have a good day.

Good to know man! Wish you luck on the project, if you need any ideas on how to make something work you can ask me as well (but only ideas since I don't use Scratch, but I can maybe transfer the logic from engine to engine). Don't forget to tell me once you're done so I can test it!

If you want ideas on how to make the peashooter fire only when they see a zombie, I recommend you this: This is only how I made it but if you see Scratch can't do it then it's ok if you got another solution:

- Create a lane object for each lane, so when you place a peashooter, it recognizes the lane it is on (as well as the zombies that are created on that lane)

- Make the peashooter analice if there's a zombie on the same lane they are on (You maybe can do this so the peashooter doesn't fire unless the peashooter and the zombie are overlapping the same lane).

And I didn't add this on my game but as an extra...

- Also make the peashooter not to fire unless there is a zombie on the lane whose X coordinate is higher than that of the peashooter. If you do it right, the peashooter won't shoot if there's just a zombie behind them and no zombies in front of it, just like the og PvZ. As I said before, I didn't add this into my game but I did smth similar for PvZ Night with the puffshrooms and it worked fine.

I like tried watching a few tutorials on pvz scratch games, and I made a lot of mistakes in my game. Now I am going to have to take even longer on the game to fix what I just messed up lol.

also I tried what you suggested but I think that scarcth's window is 2 small or smthn, cause it could not work with my character sizes which were already very small. This project is giving me a headache.

sorry of the number of replies your gonna get when you come back on itch.io, but I don't really wanna work on the pvz game because it's 2 advanced 4 me. I can make u some animations if u want.

Hey it's ok. I don't really want you to work in anything you don't enjoy. If you enjoy doing animations then that's ok but don't do them just because of me. Also don't worry for the amount of replies, I also exceed most of the time in that. 

Scratch isn't the best game engine at least for me, and from what I understood it was never meant to be a game engine so I think it's normal if it has some limitations. If you ever plan to go back to your project, I highly recommend you learn to use GDevelop since it's, at least for me, the most viable engine you'll find unless you know any programming language. I think it's a good start.

My final tip, when developing a game, you WILL find bugs, errors, or things you weren't expecting to happen. You will have real headaches sometimes and you'll be breaking your head wondering why something doesn't work. You can follow tutorials but you cannot depend on them, because if something goes wrong and you don't understand why the tutorial works, then you are likely screwed.

Hope you get to see this and if it sounds like I'm angry or something, I'm not. I just want you to read this in case you want to develop a game in the future. If you get to learn the basics of C#, you should get to Unity because I believe it will help you create larger and greater projects, but on ANY engine that you use, no matter how professional or simplistic it is, you'll find bugs and learning to deal with them is most of the time the difference between releasing a game and dreaming of releasing a game, at least if you 100% understand the logic of the engine you are using.

Wish you luck, buddy.

Oh, also, doing something differently than how a tutorial shows you to do it isn't necessarily a mistake. Most of the time there is more than 1 way to do something and as long as the game works the way you wanted it to then it's ok. As I said before you should listen to tutorials BUT don't depend on them. You can get the part of the info you find useful in 1 or more of them and just use that part to do your game.

Ok i see what ur saying. I actually do want to make some animations 4 u if u want cause I really enjoy making animations, I have a sprite sheet of a peashooter I made last night on piskel and it's pretty good. IDK if this link will work, but if it does work, you can use the peashooter lol.

file:///media/fuse/drivefs-1eb98327206cf8aa152dbe03e1d1d567/root/New%20Piskel%20(2)-1.png.png

This is the pea 4 the peashooter lol

file:///media/fuse/drivefs-1eb98327206cf8aa152dbe03e1d1d567/root/New%20Piskel-1.png%20(1).png

Oh ok then. Yeah that's okay if you like doing animations. I'm currently not working on anything PvZ related but thanks for that. I really appreciate it.

Also, no the links don't work lol, I think it has to be something related to the "file://media" thing because I think that means you have the file on your PC and you opened it on google, which won't work because I don't have the file.

One thing you can do is click on the "Add image" thingy when uploading a message so I can get the images, maybe frame-by-frame or if possible a gif but yh that type of links don't work when you are sharing smth. But now you know!

here are the images, sorry they are extremely big, but yeah there is a peashooter sprite sheet and a pea for the peashooter.