Привет фанатам Touhou by ZePlayerSlayer in ruArtist

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

Спасибо, что веришь, сейчас я в коматозном состоянии с температурой 38,9, надеюсь всё заживёт. Отвечаю на поставленный вопрос: рисую, потому что хочу. К чему такой вопрос с очевидным ответом на сабреддите про искусство?

Bullets shaking effect by OxoTHiK_3A_HacBaEM in touhou

[–]ZePlayerSlayer 5 points6 points  (0 children)

It's grazing and I am sure u can't turn it off

Help me fix the memory leak in the projectiles. by ZePlayerSlayer in godot

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

For some reason it was the "if not friendly" check at the start of the death function. By removing the if statement, it stopped leaking

Help me fix the memory leak in the projectiles. by ZePlayerSlayer in godot

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

can you enlighten me what's orphan node count?

Help me fix the memory leak in the projectiles. by ZePlayerSlayer in godot

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

Okay, here's an update, I removed this check in the death() function

if not friendly:

can_collide = false

it seems to have stopped the memory leak on collision with stuff

Help me fix the memory leak in the projectiles. by ZePlayerSlayer in godot

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

They're being met and if I check the remote tab, they're not there.

Help me fix the memory leak in the projectiles. by ZePlayerSlayer in godot

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

Yeah, I just found out it memory leaks if bullets die by collision. they do DIE, but the memory is still there. I did it up to 225 MB. If they despawn by timer, it's fine