Always Performance[:)]

Get help using Construct 2

Post » Fri May 25, 2012 7:44 am

Hello everyone,
I've read about the "performance tips", But I still have several questions:
1. Now I know that we shouldn't use too much sprites, But what about the instances of one sprite? should we avoid to use it too much?
2. I didn't understand, what is the difference between a text sprite and a text box...In fact, I'm using lots of text box...
3. I still can't find where we could set the Framerate? Like, I want to make a game for the Moblie device, how could I set the Framerate to 30fpt, please?

Thanks in acvance
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Fri May 25, 2012 11:31 am

Hi nothing,

1. you should always destroy unused sprites.
2. text sprite is a simple text, while text box is a box where you can write own text during runtime
3. http://www.scirra.com/tutorials/67/delta-time-and-framerate-independence/page-1

regards
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Fri May 25, 2012 12:39 pm

1. Are you asking if it's OK to use lots of instances of the same sprite? That's pretty much what the manual was talking about. It doesn't matter which object types you use, lots of instances will cause a slowdown, period.

2. Text box is a form control. It allows the user to type in some text. Text is just some text drawn on the screen - it's not interactive. If you want to display text, use Text. If you want the user to type in text, use Text Box.

3. We don't support setting the framerate, because it's not something you should do.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Fri May 25, 2012 2:20 pm

OK, Now I understand, Thank you for your reponse again<
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Fri May 25, 2012 11:11 pm

[QUOTE=Ashley] 1. Are you asking if it's OK to use lots of instances of the same sprite? That's pretty much what the manual was talking about. It doesn't matter which object types you use, lots of instances will cause a slowdown, period. [/QUOTE]


In UDK and the proprietary engine we used at my last job there is a performance boost when using instances as opposed to unique sprites/meshes. Is this not the case here?

If you have two sprites that are the same object, placed as instances, it would not perform better then two objects that are unique?

A+B > A+A in terms of resource use?

B
9
Posts: 59
Reputation: 997


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests