Read all instructions, even though it will be long. arrow keys to move. Press "p" to collect trees, it will only work if you are centered on the tree. If you are not touching a tree, press "p" to place wood. (it will only work if you have enough blocks). To farm trees so you can have infinite, you can press "f" to place them. (1 tree will let you plant 2 more). Press numbers 1 - 4 to place colored blocks. To kill enemies, click on them. (they are called zorgs)
Tile scrolling from Griffpatch's tutorial. World gen by me, from this project I made, https://scratch.mit.edu/projects/537638248/ everything else by me.