tag a framenumber ?

Get help using Construct 2

Post » Mon Nov 11, 2013 1:56 am

Is there anyway to tag a spesific framenumber in sprite animation ??
B
13
S
5
G
4
Posts: 176
Reputation: 4,429

Post » Mon Nov 11, 2013 2:55 pm

Not directly, but you could easily create a variable with a number

eg: "damage zone" and give it a value eg 5

then check at any point if the current frame of the animation player is at that target area

system player.current frame >= "player.damage zone"

then you can easily tweak that number later on.
B
87
S
44
G
16
Posts: 1,002
Reputation: 17,932

Post » Mon Nov 11, 2013 3:08 pm

On top of my head maybe you can "tag" a specific frame by putting in an imagepoint on it, give it a name, and use it as a tag via an event that loops through imagepoints of frame and check if it exists.
B
18
S
4
G
1
Posts: 332
Reputation: 3,149


Return to How do I....?

Who is online

Users browsing this forum: AndreasR and 15 guests