cwf's Forum Posts

  • 2 posts
  • Thanks for all reply, but I need to set this situation, so maybe not to use UID.

    1. random display one : sprite 1/2/3/4 (one only)

    2. after a keyboard press a Key a then sprite 1 will destroy.

    3. another random display one : sprite 1/2/3/4 (one only)

    ......

    loop

    I search many post of that, but really don't know how to setup the script, please help me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A. Default display is sprite_all, I create it , make 4 copy of that, and I want to set a random change to Red animation, I set sprite_all animation set to int(random(4)), another action is animation "Red" . However, 4 sprite_all change to Red animation at the same time. I also try to use choose(0,1,2,3) , but it is same result.

    sprite_all:

    Frame number Animation

    0 1 2 3 Black

    0 1 2 3 Red

    0 1 2 3 Yellow

    B. Should split 4 sprite, like the below, is it easy to have the effect?

    sprite_0

    Frame number Animation

    0 Black

    0 Red

    0 Yellow

    sprite_1

    Frame number Animation

    0 Black

    0 Red

    0 Yellow

    sprite_2

    Frame number Animation

    0 Black

    0 Red

    0 Yellow

    sprite_3

    Frame number Animation

    0 Black

    0 Red

    0 Yellow

  • 2 posts