How do I do this in function

Get help using Construct 2

Post » Tue Dec 06, 2016 10:27 am

Let's say I want to make my sprite scale getting larger by calling a function.
I know that I can just simply set my sprite's scale to current scale plus one, but what if i have three different sprites that can use the same function? How do I achieve it in my code?

Thanks.
B
10
S
1
Posts: 14
Reputation: 478

Post » Tue Dec 06, 2016 10:40 am

pick by id or uid, or set an instance variable and ask for it to isolate the object.
Image
B
109
S
24
G
18
Posts: 1,384
Reputation: 22,881

Post » Tue Dec 06, 2016 10:55 am

TELLES0808 wrote:pick by id or uid, or set an instance variable and ask for it to isolate the object.


Hi TELLES0808 , thanks for helping. Do you have any capx. file or images that show the process? I am kinda confusing how to do that in construct 2..
B
10
S
1
Posts: 14
Reputation: 478

Post » Tue Dec 06, 2016 11:06 am

B
109
S
24
G
18
Posts: 1,384
Reputation: 22,881


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests