luizvneto's Recent Forum Activity

  • Understood..

    With the results of caseX being 0 or 1, I need to use this number to set a frame 0 or frame 1, corresponding to caseX, of course, to an animation...

    So in the action 'set frame' of this animation, could I use case.at(casenumber) to set the frame to the number of case(casenumber)?

    Thanks a lot, friend

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sounds complicated at first, but let's try...

    I have in my project 6 variables:

    case1 = 0 or 1

    case2 = 0 or 1

    case3 = 0 or 1

    case4 = 0 or 1

    case5 = 0 or 1

    casenumber, = from 1 to 5

    Those 'caseX' variables represent the status (on or off) of that particular case, I could use matrix but that's not my issue (I think). I want to call "caseX' based on the number provided in "casenumber". is there a function like 'valueOf("case" & casenumber)'?

luizvneto's avatar

luizvneto

Member since 1 Dec, 2016

None one is following luizvneto yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies