How to Code Using Scratch

Planning

Designing Your Sprites

Jumping

Follow the script on the image to make your character jump! for the first part, go into data and make a variable called jumpheight.
Moving



Follow the image to make your character move! But make sure you duplicate your character's costume and flip it.
Terrain and Objects

So far you have your basic character. Let’s up your game a bit by adding terrain and objects! Draw up a small village pixel shop.
Making a Shop



First make sure it is set to “go to back” and position on the floor of your game. Follow this set of code to make your character enter the shop by pressing “w” but, you will have to duplicate you shop costume to make words saying, click "w" to enter. You will also need to include a shop background.
Buying and Selling

So far a sentence will pop up onto the screen telling you how to enter the shop and when you click “w” the backdrop changes and you can buy weapons or health. Now what we will do is use the list code. That way, if you buy something it will be added onto the list, so that you can select what you want to equip.
Code for the Shop...

Code for the Gun...

Code for the Ninja Shuirken...

Code for the Fifty Dollar...

Code for the 200 Dollars...

Code for the Exit Sign..

Code for the Background...

Enjoy!

I will begin to work on part two, but for the waiting period have fun and try to experiment with scratch. Check out some of my projects by simply typing "floppyman2" into the search bar.