How to make a Mask?

Get help using Construct 2

Post » Sat Jun 02, 2012 10:36 pm

until now i didn't understand the mask idea when the images in different layer it do no effect sometime weird effects :P ill try them all xD i liked the idea ^^
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Sat Jun 02, 2012 11:07 pm

[QUOTE=7Soul] @LaDestitute you need to change the ImagePoints position of the heartOutline sprite. Moving the max to the top seems to fix it, but you need to play with it around to get it correctly[/QUOTE]
Tried that. It won't fill to the top all the way, and and it's misaligned unlike below:

Zelda Gamekit (my project)

Example capxs I have made:
Zelda-Style Inventory
Zelda Hearts System

The unwritten "How do I" capx etiquette! Nearly always provide a capx of the problem you have, and try to isolate the problem and/or no capx above 10 MB. :)
B
38
S
19
G
26
Posts: 438
Reputation: 16,581

Post » Sat Jun 02, 2012 11:42 pm

@LaDestitute: I just edited some of the image points, does this solve your problem?

Link: heartHUD_edited.capxNimtrix2012-06-02 23:43:18
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sat Jun 02, 2012 11:45 pm

Yeah I used image points to have a precise start for the red sprite.
it's made so the sprite that grows from 0 to it's max height will really start at the border of the outline, so you should see something between 0 and 1 HP out of 100.
Else it would be hidden behind the outline.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Jun 03, 2012 12:07 am

[QUOTE=Nimtrix] @LaDestitute: I just edited some of the image points, does this solve your problem?

Link: heartHUD_edited.capx[/QUOTE]
Can't open it, since I'm using the current stable release r90
Zelda Gamekit (my project)

Example capxs I have made:
Zelda-Style Inventory
Zelda Hearts System

The unwritten "How do I" capx etiquette! Nearly always provide a capx of the problem you have, and try to isolate the problem and/or no capx above 10 MB. :)
B
38
S
19
G
26
Posts: 438
Reputation: 16,581

Post » Sun Jun 03, 2012 12:43 am

@LaDestitute: I basically just moved the image points "emtpy" and "full" to the bottom and top middle of the sprite, and moved the origin of the same sprite to bottom middle.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sun Jun 03, 2012 3:49 am

[QUOTE=Nimtrix] @LaDestitute: I basically just moved the image points "emtpy" and "full" to the bottom and top middle of the sprite, and moved the origin of the same sprite to bottom middle.[/QUOTE]
Thank you!
Zelda Gamekit (my project)

Example capxs I have made:
Zelda-Style Inventory
Zelda Hearts System

The unwritten "How do I" capx etiquette! Nearly always provide a capx of the problem you have, and try to isolate the problem and/or no capx above 10 MB. :)
B
38
S
19
G
26
Posts: 438
Reputation: 16,581

Previous

Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 32 guests