How to make LAVA

Magneter

  • Posts: 5
Can someone tell me how to make "lava"? I mean a TILE that "kills" player on collision. I can't find any way to do this

P.S I am new

JeffreyDriver

  • Posts: 1717
This would probably be easier by using actors for the lava, unless you're going to have loads of them on screen.

You could also use regions.
Current Projects:
Retro Redux Compilation (NEW).
Retro Redux (untitled) (NEW).
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

Hectate

  • *
  • Posts: 4643
Or the Tile API. If you check tiles near (or underneath?) the character and find that they match the tile ID of any lava tiles.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Magneter

  • Posts: 5
I know, but i can't understand that TILE API :/

morphman86

  • Posts: 141
The TILE API is listed as an Expert level topic. If you're new to Stencyl, you might want to go with something simpler, like the aforementioned actor route.
Replace the tile with an actor (that can be the same size as a tile) and check for collisions between the player and the actors of the lava type. This also gives you the benefit of being able to easily animate the lava.
Programming equivalent of Jack-of-all-trades

Magneter

  • Posts: 5

I think you are right... Well i will mark this topic as Solved