Solarus-Games English Forum

Solarus => Development => Topic started by: aaa on October 27, 2022, 05:25:04 AM

Title: Making 3 wall blocks get deleted when 2 torches are lit using the lantern
Post by: aaa on October 27, 2022, 05:25:04 AM
Hello! I have little to no experience with programming, but I want to make a room with a route blocked by 3 wall blocks, and I want the route to become accessible once 2 torches are lit. How can I do that? Thank you very much!
Title: Re: Making 3 wall blocks get deleted when 2 torches are lit using the lantern
Post by: Christopho on October 27, 2022, 08:57:26 AM
Check the new tutorial playlist here: https://www.youtube.com/playlist?list=PLzJ4jb-Y0ufwkbfy49F_NrLtxCAiGJw5r
Episode #57 covers exactly that (making something happen when torches are lit), but you first need all the basics including custom entities (episode #54). Have fun!
Title: Re: Making 3 wall blocks get deleted when 2 torches are lit using the lantern
Post by: aaa on October 27, 2022, 05:14:58 PM
Thank you so much!!!