Sprite Or Event ? Witch is better?

Get help using Construct 2

Post » Mon May 09, 2016 10:58 am

Hi,

i have store panel in every level witch shown by click on Store Button.

for best Performance, is better create it and pin child object to it with event or copy/paste it for new level?
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Mon May 09, 2016 4:12 pm

up
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Tue May 10, 2016 1:47 pm

Um this doesn't make any sense, are you asking about variable or animation? ......a sprite cannot do any action until an event is ran. So could you explain your question or rather express it better ?
B
52
S
24
G
6
Posts: 391
Reputation: 7,845

Post » Tue May 10, 2016 2:11 pm

look... i have 2 panel shop sprite and 20 sprite pined to theme. so i need show this panel for any level and i have 50 level.

is it better to copy/paste my panel and it's button for each level or create them by system create object for each level?(sorry for my bad english)
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Tue May 10, 2016 2:42 pm

It likely wont matter for you but it is good practice to have what assets you need loaded onto the layout ahead of time. This is so there is no jank when c2 goes to create the objects you need.

Can you use debug in the free version? If so test both ways and see if you can spot any difference.
ImageImage
B
118
S
23
G
7
Posts: 1,070
Reputation: 12,964

Post » Tue May 10, 2016 3:34 pm

OK, thank's.
i try for it.
B
10
S
3
Posts: 180
Reputation: 1,212


Return to How do I....?

Who is online

Users browsing this forum: charliesan763 and 18 guests