3 Arks - Adventure RPG (2D iso)

This forum is currently in read-only mode.
From the Asset Store
2d mushroom sprite 2d game character enmy sprite game art
  • Wow, that is a LOT of sprites. Be careful to watch your VRAM usage!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Like I said you can do all of that. All you have to do is add a separate animation for each one, you will then need a way to pick which instance that you want a particular animation showing. Easily done using a private variable.

    + System: Start of layout
    .+ System: For "n" from 0 to 10
    ..-> System: Create object Sprite on layer 1 at (random(640), random(480))
    ..-> Sprite: Add 1 to 'anim'
    .+ Sprite: Value 'anim' Equal to LoopIndex("n")
    ..-> Sprite: Set animation to Sprite.Value('anim')
    [/code:n6nkvdp3]
    
    This cap will show you how to change an animation, but it also shows some of the issues with using just one object, IE multiple behaviors.
    [url]http://dl.dropbox.com/u/666516/multianimations.cap[/url]
  • Wow, that is a LOT of sprites. Be careful to watch your VRAM usage!

    es, it's too much I think. I will tried to reduce the number of frame of my animation (20 to 8 or 10 could be great), to decrease the number of sprite for a map.

    This cap will show you how to change an animation, but it also shows some of the issues with using just one object, IE multiple behaviors.

    http://dl.dropbox.com/u/666516/multianimations.cap

    aho, thank you very much, it's great ! Thank you very much .

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