Sorry that I cannot help hand in hand with your game, but I have some suggestions for you.
- Sprites
The 2nd option on top of editor mode tab is the Sprite Editor.
After entering the editor, just first click an 8x8 empty space (normally the one on the right of "x") to freely create your character, then leave the other tiles for background, tiles, and coins etc.
Each 8x8 sprite has a number like 1, 2, 3, which is useful in importing sprite in main editor with spr()
.
Also, each has a flag (the 8 dots on the right). Explore a bit and use flag to set solid surfaces etc.
One another point: apart from sprites, you have to make use of Map Editor as well. Then using necessary codes including map()
, mget()
, fget()
to make up a whole game structure.
Trick: when editing, press Ctrl+U on selected codes to get relevant information.
For further information, see here.
- Make it clear instead of blue (?)
What exactly does "it" refers to? Please comment to make it really clear.
- Collision
Well, I haven't made a platformer. But I can share some codes here:
This function will return a value (0 or 1) indicating whether two sprites collide each other.
Using the function, you can then add more events like standing on solid ground, climbing and getting coins.
[Please log in to post a comment]