Use the mouse to paint some terrain for the ninja ball to get to the portal. Click the button in the bottom right to change whether you're drawing Ground (shown by "G" on the button) Danger (shown by "D" on the button) or if you want to erase (shown by "E" on the button). Hit play to test your level and if you want to edit, you can just hit the make button. use the arrow keys to move the ninja ball. When you are in editor mode, use the arrow keys to move the portal. Press r to reset the level when in editor mode. Use z and x to change the size of what you're drawing. Unfortunately it cannot save your level.
All code by me, music is bensound.com