Enemies with different damage

Get help using Construct 2

Post » Thu Feb 02, 2017 2:40 pm

Hello, forum people

I have a problem I am wanting to make 2 enemies with the same sprite plus each one with a different damage but not going there is how to do it so I am doing to save events because I have the free version

Or it has to be two even sprites

If you have a way to economize events and put several enemies with different speed damage please tell me

I would be very happy
educao,pessoa que gostam de ajudar uns aos outro

Education, person who likes to help each other
B
12
S
6
G
11
Posts: 33
Reputation: 6,756

Post » Thu Feb 02, 2017 3:39 pm

@t-games

Why are you posting everything in the 'Effects' section of the forum? That section is totally irrelevant to your posts.

The section Headings are very clear and contain a description to help you determine which section is the best for your post.

I've attempted to put your posts in what I consider the correct section, but please let me know if you feel otherwise.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,483
Reputation: 59,752

Post » Thu Feb 02, 2017 5:10 pm

T games wrote:Hello, forum people

I have a problem I am wanting to make 2 enemies with the same sprite plus each one with a different damage but not going there is how to do it so I am doing to save events because I have the free version

Or it has to be two even sprites

If you have a way to economize events and put several enemies with different speed damage please tell me

I would be very happy


-Make an Instance variables (damage, speed,...) for your choice sprite.
-Create multiples of your sprite in the layout.
-On start of layout [or when sprites are created depending on if sprites are being restored in your game] set the damage and speed to random(your min, your max)
-Every Tick | Set the sprite's damage to Self.Damage or something like that. Same applies for speed.
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,244

Post » Thu Feb 02, 2017 10:52 pm

MPPlantOfficial wrote:
T games wrote:Hello, forum people

I have a problem I am wanting to make 2 enemies with the same sprite plus each one with a different damage but not going there is how to do it so I am doing to save events because I have the free version

Or it has to be two even sprites

If you have a way to economize events and put several enemies with different speed damage please tell me

I would be very happy


-Make an Instance variables (damage, speed,...) for your choice sprite.
-Create multiples of your sprite in the layout.
-On start of layout [or when sprites are created depending on if sprites are being restored in your game] set the damage and speed to random(your min, your max)
-Every Tick | Set the sprite's damage to Self.Damage or something like that. Same applies for speed.


thank you
educao,pessoa que gostam de ajudar uns aos outro

Education, person who likes to help each other
B
12
S
6
G
11
Posts: 33
Reputation: 6,756

Post » Thu Feb 02, 2017 10:54 pm

zenox98 wrote:@t-games

Why are you posting everything in the 'Effects' section of the forum? That section is totally irrelevant to your posts.

The section Headings are very clear and contain a description to help you determine which section is the best for your post.

I've attempted to put your posts in what I consider the correct section, but please let me know if you feel otherwise.



I'm sorry, I'm still new to the forum.

Please could you help me as put in the right kind of type at the beginning is showing shaving construct 2 general etc then each name and a theme does not
If you did not, I'm sorry.
educao,pessoa que gostam de ajudar uns aos outro

Education, person who likes to help each other
B
12
S
6
G
11
Posts: 33
Reputation: 6,756

Post » Fri Feb 03, 2017 2:25 am

Go to the Board Index and you will see the board topics. Click on the topic that best suits what you are asking about and then click new topic and put in your headline and question.

The "How Do I...." topic is for questions about doing stuff with C2.

Hope that helps and welcome to the forum.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,800

Post » Fri Feb 03, 2017 2:51 am

You can set a Global variable and use that to change damage variables.

Every time you change to a different enemy sprite animation change that variable and use it to determine changes to damage.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,800

Post » Fri Feb 03, 2017 2:53 am

thank you
educao,pessoa que gostam de ajudar uns aos outro

Education, person who likes to help each other
B
12
S
6
G
11
Posts: 33
Reputation: 6,756

Post » Fri Feb 03, 2017 2:58 am

Thank you very much for your very well done game.
educao,pessoa que gostam de ajudar uns aos outro

Education, person who likes to help each other
B
12
S
6
G
11
Posts: 33
Reputation: 6,756

Post » Fri Feb 03, 2017 3:33 am

T games wrote:Thank you very much for your very well done game.


Right on T Games and glad you enjoyed the game!
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,800

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests