Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.
Facial expression scales at different rate when resizing windowaramplIn the "Adding the facial expression" should we leave anchors of facial expression at "Full Rect" preset? This causes facial expression to scale at different rate than body up to disappearing while body is still there.86May. 15, 2024
Question about Anchoring SophiaMuseDoesI noticed that when my window is too narrow and tall, like a vertical phone game, that Sophia will begin to float away from the bottom edge of the screen. Both the scene I made and the one in the Solutions folder have the same issue. Would there be a way to prevent that from happening? 42May. 27, 2024
Setting up the Anchors for SophiaEddyHello, I set the anchors as you described in the lesson just after experimenting with the properties of the TextureRect and while I was playing the scene and trying to resize the window, the character disapeared like I placed the anchors incorrectly. I change the anchors to coincide with the TextureRect node and it worked fine.
I was wondering, why does it work differently? My parameters are as intented and I followed the instructions. 52May. 16, 2024
background questionsqwirexIs it possible to make a background using a pre-animated video and if so, what format should it be and what control unit should I use for this?11Jan. 07, 2025
Am I missing something?nervous-woodpeckerWhen I apply the tutorial requirements, Sophia moves up towards the center of the screen when I drag either the left or right side of the debug window. Is this expected behavior? My question is mostly just to clarify I'm not missing something. When I play games it's true I never think to resize the screen much on 1920x1080, but I guess most PC games aren't meant to be responsive the way we'd expect a web app to be. I'm coming from JavaScript/HTML/CSS land with all this. More general question: when you release a game, do you assume the player has certain screen size to work with?11Sep. 16, 2024
Fit content tick for the RichTextLabel nodelznewt00zHi, I've been playing with resizing the screen and noticed that the text disappears once the window resized a little bit (I have a 1080p screen). I checked the solution for this lesson and found out that you use the fit_content property is set to true, and with that resizing works well with the text.
p.s. Also anchoring for the texture works well only if the texture node size covers at least 50% of the height, otherwise Sophia's texture disappears too quickly as well.21Jun. 22, 2024
Issue resizing ExpressionmachadolabsAt this [section ](https://school.gdquest.com/courses/learn_2d_gamedev_godot_4/telling_a_story/your_first_ui_scene#adding-the-facial-expression)we add the Expression to Sophia. I was able to make it centered and follow the parent but if I try to scale it down, it does not do anything and I was under the impression looking at the video that you were able to scale it down a little bit.
Sophia (Body):
```gdscript
- Expand Mode: Ignore Size
- Stretch Mode: Keep Centered
- Anchor: Full Rect
```
Expression:
```gdscript
- Expand Mode: Ignore Size
- Stretch Mode: Keep Centered
- Anchor: Full Rect
```40Apr. 10, 2025
Problem with Sophia anchors on full screenmckryxx[https://imgur.com/a/uFqWMoP](https://imgur.com/a/uFqWMoP)
I'm having some problems with anchors. If I put all the 4 four anchors on the bottom left edge, the image follows that edge when the user changes the size of the window. But if change my anchors so the image of Sophia can rezise on window size change, it dissapears or it's scaled too much.
this are my settings:
- Root node (Control node "Dialogue") size: 1152 px H, 648 px W
- Sophia it's a textureRect: 40x40 px, Expand Mode: Ignore Size; Stretch Mode: Keep Aspect Centered.
- The anchors I put for sohia are: Top Left and bottom Left 100% Height, Bottom and Top Right 100%Height 50% Width
I thought i did understand anchors but I can't understand what the image is doing haha60Apr. 09, 2025
Why does Sophia's body slide off after a certain length?BONDEGGHi,
I was just wondering if this is normal or if I've done something wrong, but if I resize the window Sophia's body starts to float from the bottom of the screen and then very quickly becomes invisible if I keep reducing the screen size.
I've read some other Q&A's that mention similar issues but just wanted to make sure that this was expected.10Mar. 19, 2025
Is this fine?arjunSo basically, when I resize my window a lot the bottom of her body is visible so you can see how it is cut off. Also, when you resize it to that same amount, her face slowly gets smaller (not the problem) and her mouth goes above her nose (the problem). This problem with the mouth going over the nose only happens when I adjust the size AFTER setting the anchor to full rect but it doesn't happen when the anchor is on full rect. The problem about being able to see the cut-off part on the bottom of her body happens when I make the window shorter vertically, but it's fine horizontally. I noticed that when I resized my windows like how you guys did in the clip, it was fine but when I did it my own way, it wasn't. I think that means you guys have the same problem. Any clarification?
Also, is the next button supposed to resize with the window or is it just supposed to stay on the bottom left? Just a question, not a problem.
Even with these two issues, I'm going to to continue the course. Please tell me if this is something that is supposed to happen or if I did something wrong. Also can you tell me what to fix and if I should restart because I'm pretty sure I followed everything correctly. Also being able to add an image to my question would be great so maybe you guys could add that feature :)10Mar. 01, 2025
Shader scale is different between the editor and runtimewarlike-waspThe pattern size looks the same in the lesson screenshots, but for me it's different in the editor and at runtime
[https://i.gyazo.com/d677da6aab6acf6a12893043334ad965.png](https://i.gyazo.com/d677da6aab6acf6a12893043334ad965.png) - editor
[https://i.gyazo.com/84a3e482ac3062844bfc439cf8f43e5f.png](https://i.gyazo.com/84a3e482ac3062844bfc439cf8f43e5f.png) - runtime10Dec. 26, 2024
this course doesn't tell me about this glitchbad-codmy game window, even if it's double the size, wont touch the bottom of my screen D:10Sep. 30, 2024
Body node moves to the center when resizing the windowmejingiardWhen I resize horizontally, the body (sophia) is being centered relative to its parent instead of staying at the bottom-left of the window, how can I fix that?
screenshot: [https://imgur.com/GSV1Vim](https://imgur.com/GSV1Vim)
The body node has "ignore size" and "keep aspect centered" judging by the name, I could think the latter is causing this behavior but in this lesson this does not happen in the examples.
I want to keep the body node at the bottom-left as the window resizes, any suggestions?30Aug. 11, 2024
Delayed anchor effect?OctarinaI notice when Sophia is set to keep aspect centered and I draw the window out quite fast, so it becomes very wide - that she seem to first stretch, then stretch back to what the anchored position is - but it is perfectly smooth in the editor doing the same.
Maybe this is a window or windows thing, but if it is a Godot thing then this made me curious why Godot would draw without considering anchors first and then apply them afterwards, if this is what is happening? Or is maybe dragging the window-edge different than doing it from code or in the editor?10Jul. 31, 2024
You said it.tesfalconWhile these lessons are very desktop-centric where resizing windows are a thing, if I'm only thinking of mobile games, it's a different mindset and practical result.30Jun. 05, 2024
Text Box Sizinghaunting-camelI'm not sure why, as I've reset the file several times and followed exactly with yourselves, but my text box changes size wildly and I can't work out why.
Hopefully this gif works to show the initial issue and stuff that happens afterwards. I assume it's to do with anchors doing something I don't quite understand (particularly at less 'standard' resolutions). [https://imgur.com/a/nercj6H](https://imgur.com/a/nercj6H)
This isn't the end of the world in terms of progressing through the module (I hope) but rather a quirk I'd like to fix before I actually implemented anything like this in a proper project.50Jun. 02, 2024
Sliding Background Pattern SizeStevenThe text above says:
"*Pattern Size*: The scale of the pattern. The higher the value, the smaller the pattern."
My pattern size is bigger at higher values. What might be causing this?10May. 19, 2024
Inconsistency in the Sophia body property imageGurkThe image is not representing the text description?
When explaining setting the *Expand Mode* and *Strech Mode* for Sophia's body texture, the *Strectch mode* says "Keep Centered", when the text description mentions "Keep Aspect Centered". By trying it, the correct option seems the text one.30May. 13, 2024
Lesson Q&A
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.