GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Change Images

Hello! So I've been doing my research and learning on what I got to do to make games and such, but there is one thing I can't figure out.

I'm trying to make image A turn into Image B which can then turn into Image C and then back to Image A and so on as a loop by click of mouse (So I can test it) and then change it into Touch so that it can be for App games.

The only thing is, I can only get from A to B and then nothing. It just stays at B. I can't find anything to make this happen D:

Comments

  • rcalvo924rcalvo924 Posts: 7Member

    I totally posted this in the wrong forum..

  • SocksSocks London, UK.Posts: 12,822Member

    @rcalvo924 said:
    I'm trying to make image A turn into Image B which can then turn into Image C and then back to Image A and so on as a loop by click of mouse (So I can test it) and then change it into Touch so that it can be for App games.

    A quick and easy way would be to name your images as 0, 1, 2, then use:

    Rule: When Touch is pressed
    --Change self.image to (self.image+1)%3

  • SocksSocks London, UK.Posts: 12,822Member

    Example file attached:

    123.zip 30.8K
  • rcalvo924rcalvo924 Posts: 7Member

    Thanks!

Sign In or Register to comment.