Well I found some inspiration to make a platformer but had no idea where to start.
Then I found this link made by someone her on the forum: http://codea.io/talk/discussion/6317/kind-of-platformer
and decided to copy his code and try to understand it.
After about a day, I kinda had the idea of what it was doing and kind of edited to do things I wanted.
I was able to manipulate it to have just the regular blocks, the “air” and then added lava.
As you’ll see in the video:
– the blocks affect everyone, from the alien to the player
– the lava spreads to any block that’s empty and to the bottom, left, or right of it
– and lava kills everyone, ask it should do
https://m.youtube.com/watch?v=ZaPwW3iEDP0
I want to give a shout out to @thebombdiggity for throwing the code out there.