Help with my code? two objects being created at the same time

0 favourites
  • 4 posts
From the Asset Store
An educational game for Times Table. An easy to use template for developers to build larger games
  • I'm trying to make a qte system kind of like the lost odyssey. It should create the sprite "perfect" when square is clicked while timer is greater than 0.8 seconds, and create the sprite "too early" when square is clicked while timer is less than 0.8 seconds. But for some reason, when hitting in the right time it creates the "perfect" and "too early" at the same time.

    That's how I made

    I use the LiteTween behaviour in this program, if you need the capx file I would gladly post a link

    I'm still learning, any other tip for my code would be great!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I solved the problem using the "else" event. I tried it before but it did not work. And I still dont understand why the early code did not work

  • Ok, I did not solved it. I runned down to the same problem again. I tried to create the "good" sprite when timer is between 0.8 and 0.9. but now "good" and "too early" sprites shows up at the same time. Help

  • I dont understand, i just changed the conditions order, and it worked. can someone please explain?

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