[Request]Opt's using the Render Cells

  • Couple ideas here:

    1. Couldn't the 'Is Onscreen' condition benefit from render cells by only looking thru onscreen cells?

    2. Here would be an interesting new system condition: 'Pick by distance from point'. We could then specify a x/y point, a distance, and a comparator (<,>,=,etc...). This could work with/without render cells, but it would obviously be faster with them.

    3. There could also be a similar condition: 'Pick distance between', where we could define a min/max range to pick objects from (imagine a zone shaped like a torus). Again, this would use render cells where enabled to limit the number of objects that need to be queried.

    Both of these would help to process local objects on large layouts, by providing an efficient way to pick and sort thru them (assuming said objects are on a layer with render cells enabled).

  • 2 can already be done with a pick by comparaison, and I do not see much how would the cells work in that context as they are mostly rectangle areas, where a distance from point is defined by a circle area., same for 3.

  • You don't need render cells for any of these, you can already do them with collision cells by testing for overlaps with rectangular objects to mark out an area.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Whoops, forgot about that trick; thanks for the reminder!

    Carry on...

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