Need for a background object.

For questions about using Classic.

Post » Sat Mar 01, 2008 11:44 am

There really needs to be a function to paste things into the background (as in MMF). I saw there was a post about this before. But could it please be implemented. Its not effective to have throusands of objects. and there needs to be a way to make a background that is noticed as an object that can be created from a simple loop through an array. As was common practice in MMF.

Pretty pretty please.
B
2
G
5
Posts: 10
Reputation: 1,270

Post » Sat Mar 01, 2008 5:34 pm

MMF effectively uses a huge texture the size of the frame for the background, and when you paste something it modifies this texture. Construct does not have any texture for the back of the layout, because it limits the size of the layout to the amount of memory you have: a relatively modest 5000x5000 area would take up at least 75mb of memory in MMF, but in Construct, it doesn't take up any at all. I think they have a virtual size feature which works around this, but I guess you can't paste anything past the actual size. A large 50,000 x 50,000 area would use a rather prohibitive 7.5 gigabytes of memory for the background, whereas Construct would still use no memory.

So this is why you must create objects instead of pasting in Construct. But there's no object limit in Construct and sprites with a single animation with a single frame to display, which are not moving (aka a static, unchanging sprite) are highly optimised and you should be able to create them in the high tens of thousands before the object count starts impacting performance.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Sat Mar 01, 2008 6:16 pm

[quote="Ashley":r7dgkdvk]
sprites with a single animation with a single frame to display, which are not moving (aka a static, unchanging sprite) are highly optimised and you should be able to create them in the high tens of thousands before the object count starts impacting performance.[/quote:r7dgkdvk]

Welp, guess this answers my problem with Tiled Background stuff. I'll just switch everything over to sprites. I guess I'm still kind of stuck on the limitations of MMF and thinking that I'll have similar problems with Construct.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 12 guests