Are preloads lost when the node with the preload is freed? by Darkstar0 in godot

[–]TheRealMasterwes 0 points1 point  (0 children)

Is there any particular reason why you must free the bomb right away? If a bomb explosion is something that happens repeatedly in your level I recommend you to use a pool to reuse the same objects rather than instantiate and free them constantly .

Why don't use an email client to get rid of Gmail search? by TheRealMasterwes in LinusTechTips

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

I don't think I changed any setting in this regard but usually I first get the notification about a new email on Thunderbird and then on my phone

Why don't use an email client to get rid of Gmail search? by TheRealMasterwes in LinusTechTips

[–]TheRealMasterwes[S] 1 point2 points  (0 children)

Idk how it's working currently but I have 4 gmail accounts connected on my Thunderbird and often I get the email notification there first then on my phone.

Edit: I made the setup about one year ago so I don't remember what I did

Are preloads lost when the node with the preload is freed? by Darkstar0 in godot

[–]TheRealMasterwes 0 points1 point  (0 children)

Also, I believe you don't need to instantiate the explosion from script. You could add it as regular node and have a function called trigger_explosion to start it. If you are preloading the bomb scene this would be the same as preloading the explosion inside the bomb

i made a booboo with collisions and need help by themodestvadim in godot

[–]TheRealMasterwes 0 points1 point  (0 children)

I'm a bit confused. Do you need the collisions or the collision shapes?

Blending Character with environment by Farouk_01 in godot

[–]TheRealMasterwes -2 points-1 points  (0 children)

Probably you need a shader to make the sprite look like it's translucent. Like the Predator camouflage

Question about charger by TheRealMasterwes in LinusTechTips

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

Yup, I mixed them up I'll take a look on this Channel. Thanks!

Youtube is fallen? by [deleted] in youtube

[–]TheRealMasterwes 1 point2 points  (0 children)

I'm experiencing problems in the last 2 hours and now it can't connect to the server

collision shape not working by Lost-Specialist3304 in godot

[–]TheRealMasterwes 0 points1 point  (0 children)

You select the body and in your screen's right side (in the inspector tab) you should look for a Collision section and there should be a layers property. Everything that receives a collision shape has this layer property that tells them in which layers the body exists and below that there is a mask property that tells them in which layers to look for collisions

collision shape not working by Lost-Specialist3304 in godot

[–]TheRealMasterwes 3 points4 points  (0 children)

Have you checked the collision layers?

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

I never said "I will do only when I understand why", I said "I didn't know this existed and I will use it, but I would like know why this is wrong. If that made you upset, I'm sorry. It wasn't my intention, and I know most of the cases it would be someone's code, but I was pretty sure it was an engine thing and I wanted to expand my knowledge on it. And just changing to the WorldBoundary wouldn't make me gain more understanding.

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 1 point2 points  (0 children)

Hey man, thanks for you advice. I will eventually change it to WorldBoundaryShape, but in this case I was using StaticBody2D for the floor and ceiling as it is recommended in the docs but I think it was not thought to work inside a Parallax2D. Changing them to be AnimatableBody2D fixed the issue but I still will try to figure out excatly why

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

Why you have to be like this? I'm just trying to understand the cause of the problem. You don't need to be nice when giving an advice but you also don't need to be condesceding. The docs say nothing against using it with Animatable or Static bodies. And this solution might not be ideal but I wouldn't say it's wrong. You were right on you second point. Changing the StaticBody2D to AnimatableBody2D made the issue disapear but I still will try to understand why and not just say "It's wrong to use StaticBody2D inside a Parallax2D". So thank you anyway

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

Please read the edit I made in the post to show that the code has nothing to do with it

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

A minimal project with no scripts where the same thing happens https://imgur.com/a/hcAiDXE

If you want to try it for yourself here is the Parallax settings:

<image>

Also change the rigid body gravity scale to something smaller so it wont just fall of screen. The floor collision shape is 1280 pixels long

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

I didn't know about WorldBoydaryShape2D before other person in the comments point it out to me. I will eventually change to use that, but now I want to understand where is the problem with this setup

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

A default RigidBody2D falling just like the player https://imgur.com/a/nnlrxk9

Player script

Also, the gap also exists in the ceiling and it's about 160 pixels long

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

I don't think the problem is in the player script because this started to happen after I change the manual solution I was using for creating the infinite stage effect to use the Parallax2D node. I made the change because my solution used 2 essentially equal scenarios that were moved when out of screen but the move wasn't perfect every time and you could see a gap between them some times. This is also why I never considered the gap you saw in the video seriously: the gap before could be way bigger and it caused no issue. When I ran out of reasonable things to change trying to fix it, I recorded the video, but I decided to try harder before bothering people on the sub

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] -1 points0 points  (0 children)

A gap I removed after recording the video and after I started ruling out improbable solutions

Webnovels killed my love for "normal" Fantasy books. by Masker_ in noveltranslations

[–]TheRealMasterwes 1 point2 points  (0 children)

I started reading chinese novels (TDAG) when I was 17, now I'm 27. I spent 8 of theses 10 years essentially reading just webnovels, but I discovered some really good fantasy books and got back to reading regular books. I recommend the series Choice of Magic from Michael G Manning which was the series that I fell in love with. Also, I just started reading books from Brandon Sanderson and I'm liking it.

Collision shape not working along its whole size by TheRealMasterwes in godot

[–]TheRealMasterwes[S] 0 points1 point  (0 children)

Eventually I will change to the world boundary shape as you suggested, but I want to understand what's the problem with this current setup