performance - tiles vs bigger graphics

Discussion and feedback on Construct 2

Post » Tue May 07, 2013 2:08 am

I was reading the performance tips part and it said something about it being better to use a couple of bigger objects than a bunch of small ones. Tiles, being a bunch of small objects, have their own advantage of not taking up as much memory right ? I wonder where the trade off point (not sure if it's the right word. The moment where it's better to choose one over the other) is. I guess this depends on the amount of available RAM vs available CPU or GPU power ? Anyone know if there are studies done that show where the trade off point is for typical devices or what formula can be used to calculate the trade off point for each device?
B
11
S
3
G
1
Posts: 19
Reputation: 2,010

Post » Tue May 07, 2013 2:12 am

I don't think you'll be able to use any mathematical formula. Interesting question though! I think experimentation is the best option - just go with something that feels right. Remember, tiled backgrounds are your friend!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue May 07, 2013 6:13 am

yea... after that most recent scirra blog post, I took my current project's memory usage down 2 thirds. I think it is just best to use a tiled background when ever possible.
B
20
S
3
G
1
Posts: 46
Reputation: 1,486

Post » Tue May 07, 2013 3:19 pm

Thanks guys! I found this interesting article and will go through it tonight. Skimming through it the article looks like just the thing I'll need for this: http://blogs.msdn.com/b/davrous/archive/2013/04/26/html5-gaming-benchmarking-sprites-animations-on-your-targeted-devices-amp-browsers.aspx
B
11
S
3
G
1
Posts: 19
Reputation: 2,010

Post » Tue May 07, 2013 4:02 pm

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Wed May 08, 2013 11:02 pm

thanks Kyatric! I read that article when it was posted, which also prompted me to think about measurements as well as the best tactic to take. I'm coming from the other side of the equation of wanting to build up graphics from tiles and parts that may be too small and therefore result in too many objects on screen. I read somewhere ImpactJS' editor has a option to let you combine smaller graphics in a larger one for that reason. I was wondering if CS2 has something like that or if the feature is considered for future updates. I know small graphics are combined in a spritesheet automatically. But combining several sprites into a single object (composite sprite?) would be really nice and compile them into a single graphic at the start of a layout for instance.
B
11
S
3
G
1
Posts: 19
Reputation: 2,010


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests