godot-yet-another-behavior-tree icon indicating copy to clipboard operation
godot-yet-another-behavior-tree copied to clipboard

Examples bad zoom

Open hsandt opened this issue 2 years ago • 2 comments
trafficstars

Camera is too zoomed in and stretching the window doesn't help, so I miss part of the scene in examples main scenes.

In blackboard_sharing I only see 2 characters. In simple_ai_logic I only see trees and apparently a character moving near the bottom-right corner of the screen.

image

hsandt avatar Mar 16 '23 18:03 hsandt

Can you share your display settings ? I used default ones (at least, default ones at the time of creating the addon 😄) and did not reproduce your issue. Maybe your game settings are not comaptible with examples ?

image

Earewien avatar Mar 16 '23 18:03 Earewien

OK I got it, my Stretch Mode was set to canvas_items with Aspect expand. Setting Mode to disabled makes it work.

I suppose that's one reason to keep the examples part of the repository but not export them, as discussed in https://github.com/AdrienQuillet/godot-yet-another-behavior-tree/issues/29

Too bad this cannot be set per scene/camera, it would allow examples to work as standalone. Or maybe it can? I never tried.

I don't see an easy solution to this, I suppose the best you can do right now is adding to the README / documentation that examples are better tested in a proper repo clone, or using disabled Stretch if manually copied in another project. Since import in Asset Library is disabled for the examples folder, at least we don't encourage the user to do the latter.

hsandt avatar Mar 21 '23 14:03 hsandt