-
Notifications
You must be signed in to change notification settings - Fork 114
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
Bracket bevy feedback #269
Comments
One issue with the scaler, for non-resizing modes, the scaler can produce negative usize results resulting in a panic by rust. My debugs are not very helpful, but you can see that Testing with CleanShot.2022-06-13.at.19.31.31.mp4 |
Went ahead and fixed the window issue! #270 |
There's a few overflow crashes right now. I goofed when I translated from Bevy and used a bunch of Funny Bevy issue. I can't find a way to set window size from a plugin, because the window size resource is read before plugin instantiation. :-| |
@thebracket that's effectively a known limitation. We either need to solve bevyengine/bevy#5111 or bevyengine/bevy#1255 to resolve that. |
Closing this in favor of 0.8 coming out. Alot of changes will happen. I created a seperate issue (#281 )to track more things I have noticed. |
Hey just wanted to share some feedback while poking around in the bevy branch!
First off, on exiting of the program, bracket-bevy seems to throw an error on unwrapping of the window in the mouse system
Which is odd since bracket-bevy is just a plug-in of systems running in bevy so I would think bevy wouldn't update the system on app exit. A quick google search didn't lead me down and successive results on why the system would still run.
Point 2: it seems that when importing bracket-bevy, and bevy as specific git branches, I am clashing when importing bracket-pathfinding. When implementing base map or alrogithm2D, the compiler is complaining that two different versions of bracket-geometry are being used. Pretty odd since they are locked at the same version.I plan to continue to mess around with the plug-in but would love to help out if you could use it!
EDIT:
Sorry im just dumb on point #2. I have to use the specific git branch for each bracket library. Silly me
Edit #2:
Did some more digging into the window unwrapping issue when the window is closed manually or by the
bevy::window::close_on_esc
. Seems bevy closes every window, and then once every window is closed, it then sends out the AppExit event which triggers the shutdown of the application. If you simple insert theAppExit
event, everything shuts down cleanly without the error being produced.The text was updated successfully, but these errors were encountered: