-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excalibur crashes when using tilemaps and actors together #1418
Comments
I've slightly modified the CodeSandbox sample to demonstrate the crash: https://codesandbox.io/s/excalibur-tiled-example-ev0mt |
I have done further testing by writing a map loader for an entirely unrelated map format (specifically, some entirely inconsequential DOS game which stores its maps as text files). End result: the culprit does not seem to be the Tiled map loader, but possibly something in Excalibur's code itself that is causing the browser to lock up. I'd like to try and contribute to the project and will be hunting down this issue in the Excalibur code. First, I'd like to retest this issue on the latest version; is there any sort of development branch or do I just check out |
Thanks for digging into this!
Master is the best place to work against for fixes, if you want to test a
specific version of excalibur when released we have git tags that
correspond to the release number.
Please open a PR as soon as you can to discuss your fix/findings
Thanks again!
…On Sun, Apr 12, 2020 at 10:53 AM Vincent Beers ***@***.***> wrote:
I have done further testing by writing a map loader for an entirely
unrelated map format (specifically, some entirely inconsequential DOS game
which stores its maps as text files).
End result: the culprit does not seem to be the Tiled map loader, but
possibly something in Excalibur's code itself that is causing the browser
to lock up.
I'd like to try and contribute to the project and will be hunting down
this issue in the Excalibur code. First, I'd like to retest this issue on
the latest version; is there any sort of development branch or do I just
check out master?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1418 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVNZZEVNMC2WYSPXRXLSLRMHPWPANCNFSM4KSDWRNA>
.
|
Found the method that caused the lockup: stub out method Will attempt a fix and send a PR tomorrow. |
…wn (#1491) Closes #1418 TileMapImpl.collides() got stuck infinitely on the `trace points for overlap` loop when the actor's size is zero. ## Changes: - Check size of actor before deciding whether to run the collision logic - Return null when actor width or height is 0 Co-authored-by: Vincent Beers <vincent.beers@sogeti.com>
excaliburjs/excalibur-tiled#87 is a duplicate of this and can also be closed :) |
Steps to Reproduce
Expected Result
The map should display, along with any defined actors.
Actual Result
The entire browser tab freezes and needs to be force closed.
Environment
Notes
import * as ex from 'excalibur'
instead of the above import style makes no difference.Current Workaround
None.
The text was updated successfully, but these errors were encountered: