Example
Example
Click on the example then move with WASD/arrows and strike with space bar.
Fully understand the concept by watching the tutorial in full screen at high res.
Once you have watched the video, you can refer to the code below to help you make your own that fits your game. Make sure you type it yourself to help you learn.
The enemies can check to see if they have been done in by the sword of doom.
Note: The 'distance' function is not built into microStudio, you will have to go here and click import source file .