-
Does an mc that is offscreen add to the cpu-load?
hello,
I was wondering if an mc that is added as a child to an mc, but is not seen on screen, adds to the graphic rendering load.
i turned it off, but just didn't remove it from the displaylist. it's timers are off, and doesn't do anything.
and if yes, does it help to turn visible to false? will that stop it from taking cpu-time?
-
Pumpkin Carving 2008
Not to my knowledge, but that may be different since AS3.
The 'Boose':
ASUS Sabertooth P67 TUF
Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
8GB G.Skill Ripjaws 1600 DDR3
ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
New addition: OCZ Vertex 240GB SATA III SSD
WEI Score: 7.6
-
Senior Member
If it's not doing anything it won't eat cpu, but if it is in the displaylist, i.e, flash's memory, it will add to your memory usage, and hence may turn up the lag(too much memory usage means lag)
If you like me, add me to your friends list .
PS: looking for spriters and graphics artists for a RPG and an Arcade fighting project. If you can help out, please pm me!
My Arcade My Blog
Add me on twitter:
-
Senior Member
It will probably just check if it needs to render it, and since it isn't on screen just skips over it(so probably really small CPU usage). The visible flag may be checked first, before all of its edges are checked(to see if any edge is on screen), so using the visible flag may help a bit. (but for a smaller number of mc's I doubt it matters)
UnknownGuy
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|