Gdevelop: Destroy outside: Extra border not applied to new instances

Created on 15 Feb 2019  路  3Comments  路  Source: 4ian/GDevelop

Describe the bug

Even with an extra border, instances created at runtime are beeing deleted right after they got created if they were placed outside of the screen but within the extra border.
This doesn't apply to instances that were placed in the scene editor before starting the game.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new project and add a sprite object
  2. Set an extra border in "at the beginning of the scene"
  3. Create an instance outside the screen but inside the extra border via "create object" action
  4. According to the debugger, the instance gets deleted immediately (while instances that were created in the scene editor before running the game stay alive)

image

) Not really a bug

All 3 comments

Additional border is per instance, it's not a global setting. So you have to apply it to objects that you create

To avoid this confusion, I think having the additional border in the settings of the behavior would help. You can create a card for it on trello if you wish

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shadow00dev picture shadow00dev  路  4Comments

Jeje2201 picture Jeje2201  路  5Comments

triptych picture triptych  路  5Comments

4ian picture 4ian  路  4Comments

Phenomena3 picture Phenomena3  路  5Comments