Construct 0.99's error after thousand of objects?

This forum is currently in read-only mode.
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hi, I am trying to test the performance of Construct 0.99.97, using the Ghost Shooter tutorial. I reduced the size of the monster's sprite to 32 x 32, make the layout 640 x 480, exactly the same as the screen, and turn off collision for player and monster. (or else all monsters will eat the player alive)

    I used a simple event that if I hold the right mouse button, I will spawn a monster in every 2 milliseconds. I am going up to 5000 monsters on the screen at once and the game is still not lagging at all. I'm very impressed. This is something that we can't do in some other Game Creation software.

    But anyway, when there are so many instances, a few things are not right:

    1. The collision between the bullet and monster sometimes do not work. Bullets simply fly over the monsters on some occasions.

    2. When monster is outside the layout, it will move its angle toward the player. This time, I set the monster to rotate 360 degrees toward the player. This makes the monster instantly shift its direction toward the player when it is outside the layout. What is interesting is when there are so many instances, sometimes, these monsters suddenly "jump" to positions near the player and move toward the player instead.

    These two things occur more frequently when I hold down the right button, spawning stream of monsters.

    So from this, I start to worry about having too many instances in a layout, due to this error. Should we do anything about this? I know that most of the time, I won't be hitting more than 1000 instances, but in some rare chances, and just in case, what can we do?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • im pretty sure what your experiencing is not due to the high object count, but probably due to the code that controls them not being built for so many instances, and perhaps framerate, and the z ordering.

    i never saw any bugs when i had a ton of objects. although it would be nice to see this cap file, instead of having to recreate it ourself

  • [quote:28ac4kwz]i never saw any bugs when i had a ton of objects. although it would be nice to see this cap file, instead of having to recreate it ourself

    I do agree with you so here : http://www.megaupload.com/?d=SC04URUZ

    I followed the Ghost Shooter tutorial to about part 3 before doing the basic AI. After that, I add "Right mouse button is down" for spawning monsters.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)