dotnet-ad / dotnet-ad/Humper

Ovelapped tiles

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
125
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Good day
I write some demo and found your project but i have two questions:
- is project completely dead? there is no updae for a long time, no issue..
- more practice: for example, i have box with snow terrain at (60, 60, 68, 68). than player enter to snow i want to add some additional acceleration, so i want to detect collision with such boxes (with `Cross` resolution). Now, suggest, that we have bonuses, that can generated on not occupied cells (including snow). Now, there is possible situation then i have bonus at same position (60, 60, 68, 68).
So, now my player come to that cell and i receive only one collision. I drill down to sources and method `Hit` in `World` class (at line 81) take only nearest hit, so other hits with overlapped boxes will be ignored.
Can you give me workaround about that issue? or may be i do something wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the World.Hit method at line 81 and reproduce the described case using overlapping boxes at (60, 60, 68, 68), including the Cross resolution. Trace how the nearest hit is selected and determine the intended behavior for multiple overlapping collisions; done should mean that behavior is documented or handled consistently, with a reproducible check for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.