How do I reuse event sheets

Just started using Construct 2? Post your questions here

Post » Thu Feb 02, 2017 2:05 am

I made the control settings for a character in an event sheet with all the animations etc.

Now these are tied to the specific object "Character1". But I want to use this exact copy for Character2 as well.

Instead of recreating and duplicating all of this, is there a way I can use the same sheet for both players?

I want them to select a character on the character select screen, then have the same movement controls and only the sprite will change.

I kinda want a movement sheet only that determines how things work. But not tied to an actual sprite or player.

Seems like duplicate work otherwise.
B
4
S
1
Posts: 5
Reputation: 312

Post » Thu Feb 02, 2017 2:11 am

Families deal with this, but you could also just use the same sprite, with different animations.
ImageImageImage
B
71
S
21
G
220
Posts: 3,648
Reputation: 123,725

Post » Thu Feb 02, 2017 2:37 am

That is one of the frustrations I have ran into on C2 many times. They need a way to change from one sprite to another and from within a sprites frames so you don't have to create different movements events for multiple player sprites.

You can use different animations within a sprite and the movements will still work but then you have to set up a variable to tell the movements which animations to use for different players and you are still working too hard to accomplish something that should be simple.

Best suggestion I have is to make a duplicate of your event sheet and start changing out the sprites in the events without changing anything else. I have had to do that a few times.
Banned User
B
23
S
6
G
58
Posts: 1,229
Reputation: 34,540

Post » Thu Feb 02, 2017 10:20 am

Added: I have a game that allows the user to choose different players. I copy just the movement controls for each player and use a Global variable to determine which player is being used.

When a player is chosen it is created where the old player sprite is and the old player sprite is destroyed.

Then I use OR events for my collisions that effects the objects collided with not the player sprite.

That way your variables like score all stay the same and you just create new layouts and use one event sheet for all the layouts.

It works well if you just need to change players inside a game.
Banned User
B
23
S
6
G
58
Posts: 1,229
Reputation: 34,540


Return to Beginner's Questions

Who is online

Users browsing this forum: davidbox and 2 guests