Which method would be more efficient overall for my events?

0 favourites
  • 3 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • I have a game where the player will appear as different characters in different levels. I'm trying to be as efficient as possible in setting up the movements. I've attached an image of how I've got my initial sprite set up- should I do an entirely new set for each character (7 total)? Or should I just add each of the other 6 into this existing set of events as additional actions? OR is there a more efficient way that you can think of that I'm just missing?

    Thank you!

  • I usually append numbers to animations so you can use the same actions to control all of them. All characters and their animations are in the same sprite and named walk1, jump1, for character 2 walk2, jump2 and so on

    say you create a variable called select then target each animation as "walk"&select or "jump:&select

    For character 1 you would set variable select to 1, for character 2 set to 2 and so on

    It was suggested to me that one could use families for this too. Put all of your characters ( if each is different sprite ) into a family and then you can control all of them by using these same controls on the family.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great ideas! Thank you!

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