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
7
S
1
Posts: 11
Reputation: 397

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
104
S
23
G
17
Posts: 1,350
Reputation: 22,028

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
7
S
1
Posts: 11
Reputation: 397

Post » Tue Dec 06, 2016 11:06 am

B
104
S
23
G
17
Posts: 1,350
Reputation: 22,028


Return to How do I....?

Who is online

Users browsing this forum: alextro, stevenode, Yahoo [Bot] and 3 guests