Game Development Reference
In-Depth Information
Bomb blueprint
Most of the bomb logic is the same as any other fruit. So you can build and construct your
components hierarchy in the same way. Or you can just duplicate one of the fruits and
change its sprite to the bomb one.
You can keep only the start function from the old logic of a fruit, which is responsible for
enabling the inputs. However, delete anything else related to chopping, as there will not be
any chopping to the bomb.
Finally, you need to call the Open Level node when the player swipes over a bomb and
sets its value to the lose level as Level Name . So it means that if the player swipes over the
bomb, then open the lose level, which will contain a lose word.
Search WWH ::




Custom Search