View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0025413||Runner||[All Projects] General||Public||2017-01-24 12:04||2021-07-29 16:44|
|Priority||None||Severity||C - General||Reproducibility||<25%|
|Target Version||Fixed in Version|
|Summary||0025413: instance_activate_region causes showdown when a large number of objects are present|
|Description||In the attached project, there is an object every pixel for the entire room width (50024).|
Any object within a set distance of the centre of the window will remain active while all other objects are deactivated, this is done by calling instance_activate_region every 5 steps and each active object deactivating itself if it is outside of the active area, this results in 50,000 objects and around 600 active objects.
The project will run around 60FPS at the left and right of the room but will drop to 15FPS the closer to the centre of the room that the view is.
|Steps To Reproduce||Run the attached .gmz|
Run with Windows target
Notice the number of active objects, the FPS and the position.
Press left/right to move the view and press -/+ to jump the x-position by 5000
Notice that when the x-position is around 25000 the FPS has dropped to around 15FPS
Notice when the x-position is around 50000 the FPS has returned to around 60FPS
|Additional Information||Original helpdesk ticket: http://help.yoyogames.com/tickets/118627|
|1.4 Found In|
|2.x Runtime Found In|
|2.x Runtime Verified In|