How do I make multiple sprites work on one event?

0 favourites
  • 5 posts
From the Asset Store
_______ Huge collection of metal fixtures ________
  • i want to be able to make my rpg game be able to collect items and when they are all collected, the objective changes text.

    how would this work?

    i dont think there is a way to make a system such as

    when "apple and 5 other items" are destroyed, change textbox text

    please help

  • You could make a variable system to check what objects are collected and then change the text based off the value of the variable.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • could you give an example

  • Player on collision with apple1 (or apple family) add 1 to global variable "Text value"

    When "Text value" equals 5, set text to: "yum!".

  • i want to be able to make my rpg game be able to collect items and when they are all collected, the objective changes text.

    how would this work?

    i dont think there is a way to make a system such as

    when "apple and 5 other items" are destroyed, change textbox text

    please help

    If you want to change a text when ALL apples are destroyed, you can check if the total number of apples is equal to 0.

    System > Compare two values

    First value: apple.count

    Comparison: Equal to

    Second value: 0

    Text > Set text to "yeee"

    Or, if you're using a family, change "apple" to "familyName.count"

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)