Questions tagged [overlap2d]

Overlap2D is an open source editor for game UI, levels, and other content.

Filter by
Sorted by
Tagged with
2
votes
1answer
57 views

How can I position a large amount of boxes to prevent overlap efficiently

I've been working on an asset to position labels like they do in Diablo or Path of Exile, but I'm having trouble finding an algorithm to position the labels efficiently. Currently I just boxcast in ...
1
vote
1answer
206 views

Check if rectangle sides overlap each other in 2d

I am drawing a rectangle. On touching the corners, I am able to resize this rectangle. Now, the issue is during resizing, opposite sides overlap and cross each other. I have to stop this overlapping ...
0
votes
1answer
54 views

How PhysicsBodyLoader.SCALE of overlap2d runtime works?

What is the purpose of that method is and when I have to use it? Really I have no idea. I also found the source code but that didn't help me much.
1
vote
1answer
382 views

2D Bounding box for collision detection - alternate shapes

I have objects in my game such as clouds and stars. I have given the bounds for them in rectangle format. The images are not rectangular, although the collision boxes are. How can I implement a ...
1
vote
0answers
50 views

Does Overlap2d have frustum culling?

Does Overlap2d have its own frustum culling or do I have to implement my own?