Under Project->Export, I created two presets. For one of them, I added "demo" as a custom feature. I can then use os.has_feature() to see if it's the demo build and add the demo restrictions? How do I test the "demo" build in the editor?
Here's my bbcode: [fill][table=3][cell=1][left]a[/left][/cell][cell=1][center]b[/center][/cell][cell=1][right]c[/right][/cell][/table][/fill] What I want: a to appear all the way on the left, b to be centered, c to appear all the way on the right. What actually happens: It just displays "a b c".
I was writing multithreaded GDScript and got a weird error. I couldn't figure out the source. I changed const directions = [[0,-1],[1,0],[0,1],[-1,0]] to var directions = [[0,-1],[1,0],[0,1],[-1,0]] and my code worked! Const isn't thread safe? That is non-obvious behavior.
I have an object in the main game tree A and a thread B. When thread B is done, I want to send a signal to the main thread and then process the data generated by B. If B sends a signal to A, is the signal handled by the main thread? Or is the signal processed by thread B?
I tried the thread documentation. It is wrong. https://docs.godotengine.org/en/stable/tutorials/performance/using_multiple_threads.html thread.start(self, "thread_function", "Wafflecopter") should be thread.start(Callable(self, "thread_function", "Wafflecopter")) Also, your thread class must extends...
After upgrading to 4.0 release, my code that previously worked doesn't work anymore. Trying to suppress the warning doesn't work. I get an error "Integer Division, Decimal Part Will Be Discarded." I explicitly want integer division. Both variables maxval and mod are declared as :int. #warning-ignore...
I spent a few hours reading the documentation, but haven't been able to figure it out. When two objects collide, how to I detect the collision and get the 2 bodies involved in the collision? I see it has something to do with signals, but I couldn't figure out the details. Examples: My scene has a Ri...
I tried installing Godot on my Samsung Galaxy S22+. It looks pretty much unusable. The problem is that each window winds up being too tiny. There doesn't seem to be an easy way to click+drag to stack the windows on top of each other like there is on Windows. (I used the latest apk of Godot 4 beta 10...
I get this error message when starting Godot, and get a blank screen. Godot Engine v3.2.3.stable.official - https://godotengine.org OpenGL ES 3.0 Renderer: Intel(R) UHD Graphics 630 ERROR: initialize: Condition "status != 0x8CD5" is true. Continuing. At: drivers/gles3/rasterizer_scene_gles3.cpp:5095...
I'm looking at the container controls, and I'm trying to see if any does what I want. What I want is: The items are arranged horizontally. If there are too many items to fit, it wraps to the next line. The items are variable width. GridContainer doesn't do what I want, because each column gets the s...
I'm a Unity user, thinking of giving Godot a try. How hard would it be to port GNU MPFR to Godot? https://www.mpfr.org/ I want it to be portable for all compile targets (Desktop, Web, mobile). How hard would this be? I looked into trying this in Unity, and it didn't seem easy. The two reasons I'm th...
I have a Samsung Galaxy S4 and a QQ Tech Mini Wireless Keyboard. I like the way my Moga controller clips on to my phone. Where can I get a similar clip that will hold my phone and my keyboard? I don't think I can buy one, so I'd need someone to make it for me. Also, it would be nice if both sides of...