I have made a mario level editor, (Check newest project) and I want to make the levels you make actually playable like all Mario levels.
However there is one small problem.
All the ground blocks are different colors, and they are all stamps, I have no idea how to make mario sense when he is touching the ground. Any help?
I was thinking maybe when the bottom of his foot was not touching the background, then I realised his foot is a slightly different shade of brown on each one.
This is one of the reasons why we need an if <touching stamp of [____]> block!
Offline
If they are all stamps and different colors (and it's mario, so tile based), you could use lists (arrays) to record positions where there is a collision?
Offline
Sounds complicated, explain please?
Offline
I have tried everything..
I made a list collisionX and collisionY and made the stamper add its position to both, but I am not sure how to make mario sence when he is in a coliding distance from one of thoes points.
There is no (As far as I am aware) distance to X Y block.
I even tried fitting a <Not <_>> block into where the color should go of <If touching color []>
If anyone can make it for me, please try, just make the character a black block and upload it! I will put the mario in.
http://scratch.mit.edu/projects/colorfusion/985509
Offline