How do I stop my game from crashing?

0 favourites
  • 3 posts
From the Asset Store
five golem elements Sprites Sheet.Best for enemy or villain game characters.
  • Hi, my game has started crashing for some reason. It isn't beacuse of thousands of objects or anything. It just crashes at about 100. Is there an infinit loop or something? I can't find anything...

    Game: https://drive.google.com/file/d/1sAYsMjl3aAtr2YMJJfq-kHbU2tXKLk4_/view?usp=sharing

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's level spawning section that make the system crashed. Add trigger once under condition at event 171 & 172 for quick fix.

    Something like:

    + PC1: [X] Is overlapping LevelBlock

    + System: Trigger once

    -> System: Create object LevelBlock on layer "Level" at (floor(PC1.X÷528)×528, floor(PC1.Y÷368)×368), create hierarchy: False, template: ""

    + PC2: [X] Is overlapping LevelBlock

    + System: Trigger once

    -> System: Create object LevelBlock on layer "Level" at (floor(PC2.X÷528)×528, floor(PC2.Y÷368)×368), create hierarchy: False, template: ""

  • It's level spawning section that make the system crashed. Add trigger once under condition at event 171 & 172 for quick fix.

    Something like:

    + PC1: [X] Is overlapping LevelBlock

    + System: Trigger once

    -> System: Create object LevelBlock on layer "Level" at (floor(PC1.X÷528)×528, floor(PC1.Y÷368)×368), create hierarchy: False, template: ""

    + PC2: [X] Is overlapping LevelBlock

    + System: Trigger once

    -> System: Create object LevelBlock on layer "Level" at (floor(PC2.X÷528)×528, floor(PC2.Y÷368)×368), create hierarchy: False, template: ""

    I tried this but it still didn't work... I found that it has to do with you comming close to the spawner after a few rooms. I belive that it has something to do with either the spawning or the pathfinding of the enemy.

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