How do I stop my sprite from showing? [SOLVED]

0 favourites
  • 5 posts
From the Asset Store
Minimal Sprite Font with Stroke for Pixel Art games.
  • Unlike the heading, this is a bit more complicated.

    When 'Seed' is visible and Wrong = 1 show 'WrongCompletely' ( sprite)

    + System: Wrong ≥ 1
    ----+ System: Trigger once
    --------+ Seed: Is visible
    ---------> Seed: Set visibility Invisible
    ---------> WrongCompletely: Set visibility Visible
    ---------> System: Set Wrong to 0
    ---------> System: Subtract 1 from Correct
    

    so when apple is shown I don't want the wrong ( sprite) to show

    + System: Correct ≥ 7
    + System: Wrong ≥ 1
    -> WrongCompletely: Set visibility Invisible
    ----+ System: Pick a random Apple instance
    -----> Apple: Move to top of layer
    -----> Apple: Set Bullet angle of motion to 90 degrees
    -----> Apple: Set Bullet Enabled
    
    + Apple: Y > 600
    -> Apple: Destroy
    -> System: Set Wrong to 0
    -> System: Subtract 1 from Correct
    
    

    But when correct = 7 and wrong = 1 the 'Wrongcompletely' sprite shows and the apple doesn't fall. Here is a pic of the debugging

  • Definitely an easy fix, easier to work out if you share the file

  • Definitely an easy fix, easier to work out if you share the file

    I'm sorry but, I'm not allowed to. This is the most i can give you :( I really wish i could tho 😔😔

  • Key events are missing such as when and how do you add 1 to wrong? Can't really figure anything out from this code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Key events are missing such as when and how do you add 1 to wrong? Can't really figure anything out from this code.

    I addd 1 to wrong, when the wrong answers are pressed. Once it does the required action I set 'Wrong back to 0

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