Disable objects outside of view

0 favourites
  • 5 posts
From the Asset Store
Top-down cars vector illustrations in 12 different colors.
  • Hi,

    currently I'm writing a top down shooter you can see here in a demonstration:


    (Use [X] to fire and [C] to use switches to open doors, arrow keys to move)

    The room change is described here, if you wonder. ;)

    What I would like to do now is, that I disable all objects outside of my current room/view and enable them when I enter the room. Vice versa I would like to disable them again, if I leave the room.

    Anyone got a hint how to do this? Might be in the forum, but I just can't find the right keywords.

    Thanks in advance,


  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is each room a different layout? You can use groups to disable grouped logic by room if you want. If it's all on one screen then just have everything disabled and then enable it when the proper thing is triggered.

  • : No, it's one big layout. But I probably got it. There exist a "on screen" command, I didn't find before.

  • Object is visible on screen could work, good luck! Also watch out for future performance issues with everything on one screen/layout.

  • Thanks, I'll try to make each layout not too big and hope that it'll help. :)

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