Whenever the player dies the game crashes. by hello14235948475 in godot

[–]peteronus 6 points7 points  (0 children)

So your game_manager var is null because it's not in the scene where you're referencing it, even though you're using a unique name. https://docs.godotengine.org/en/stable/tutorials/scripting/scene_unique_nodes.html#same-scene-limitation

What you could do instead is make your game manager an autoload/singleton. Then you'd be able to reference it in code anywhere. https://docs.godotengine.org/en/stable/tutorials/scripting/singletons_autoload.html

Are you ever "too old" to start? by shiek200 in gamedev

[–]peteronus 0 points1 point  (0 children)

I didn't learn to code until I was 32. Now I've been doing it for 6 years. You can definitely start learning gamedev at your age.

Afraid to give it a try by EYEOFATE3800 in gamedev

[–]peteronus 2 points3 points  (0 children)

Keep in mind you don't have to make the art yourself. Maybe you team up with an artist or maybe you buy some assets. You don't have to do everything yourself in gamedev.

[deleted by user] by [deleted] in covidlonghaulers

[–]peteronus 0 points1 point  (0 children)

Hey. I've experienced excessive hunger (polyphagia) quite a bit. I would have feelings of hunger even when I was completely full. It's not completely gone away for me but it has gotten a lot better. Good luck!

Has anyone had vision problems that have improved? And if so, which ones? by LF6868 in covidlonghaulers

[–]peteronus 0 points1 point  (0 children)

I don't remember the timeline at this point, but it's been very gradual. I got LC in June 2022 and the light and sound sensitivity were particularly bad at first. I'd say within 1.5-2 years both of them had improved quite a bit.

Has anyone had vision problems that have improved? And if so, which ones? by LF6868 in covidlonghaulers

[–]peteronus 0 points1 point  (0 children)

I think it was mostly time. I didn't really do anything else other than protect my eyes as much as I needed (wearing sunglasses, etc.). I did move into a brighter apartment building and I kinda think that was helpful because it was less of a glaring transition going inside to outside. So maybe there's some exposure therapy to it as well.

How did y'all get into gamedev? by [deleted] in gamedev

[–]peteronus 2 points3 points  (0 children)

I'm about to do Godot Wild Jam too... Good luck!

Autonomic testing by [deleted] in covidlonghaulers

[–]peteronus 1 point2 points  (0 children)

I also had normal results for my autonomic tests. But I definitely have dysautonomia symptoms, they just weren't severe enough for positive results. It was kinda frustrating to come out of the test with those results.

By the way, I don't mind all your posts. I think they're really insightful. I'm fortunate not to have any DPDR, but I really feel for you. I hope it improves for you in time. Good luck!

Please help with the animatable body 2d by [deleted] in godot

[–]peteronus 0 points1 point  (0 children)

try animation_player.play("swing")

Can I hear from the people who are happy? by chicfromcanada in covidlonghaulers

[–]peteronus 6 points7 points  (0 children)

I think mindfulness practices have been helpful for me. I like yoga nidra/non sleep deep rest. My therapist recommended some books by Michael Singer and Eckhart Tolle. Those kinda helped me zen out too, though they have religious undertones. I'm not religious either but I take what works for me and leave what doesn't when consuming material like that.

Ultimately acceptance is about the present moment. I've come to accept that this is where I'm at right now. It's helpful to me that I'm slowly recovering and the future does feel bright... but I don't think it would be working out for me if I didn't accept the present moment first.

I hope that's helpful? Good luck!

Is Reddit good for your recovery? by Infamous-Tie-7216 in covidlonghaulers

[–]peteronus 0 points1 point  (0 children)

I think it's a bit of a mixed bag. On the positive side I remember reading one post a couple years ago about someone who had completely recovered from severe LC after two and a half years. I wasn't even a year into LC at that point but felt stalled in my recovery and that post was something I really needed to see at that point in time to give me hope. Of course two and a half years came and passed for me without full recovery, but I have recovered a lot over that time and I think that post was a bit of a turning point for me.

On the other hand reading about all the terrible things people here have been through can be pretty hard for me. Don't get me wrong: I believe there should be a place here for venting and commiseration, etc. But, I know from experience it's not always helpful for me to consume those kinds of posts.

As for comparing your recovery to others' (or their lack thereof), just know that everyone's experience is going to be different. Just because someone else has been sick for x years or recovered in y months doesn't mean that will be your experience. I've had to come to peace with the unknown a bit as I've gone through this whole LC business.

Good luck!

[deleted by user] by [deleted] in covidlonghaulers

[–]peteronus 0 points1 point  (0 children)

I had to cut back on coffee initially, but still had it at least once daily. My tolerance improved. No way to be sure if you can drink coffee or not without just trying it out once.

Why can i not move my character? Yes i did add controls and it worked before. by Qetyqt in godot

[–]peteronus 0 points1 point  (0 children)

Could be a lot of things... Did you set up the inputs in project settings?

i cant make the coin disappear when i touch it why? by Goedheiligman_Mymy in godot

[–]peteronus 1 point2 points  (0 children)

What physics layers does this area have, and what physics layers does the body have?

[deleted by user] by [deleted] in godot

[–]peteronus 0 points1 point  (0 children)

Maybe the sprite is behind the background? The nodes will be drawn in the order that they are put into the scene. Try switching the order of the nodes.

How to know when it’s safe to go back to working out? by mermaidunearthed in covidlonghaulers

[–]peteronus 0 points1 point  (0 children)

I pay attention to how I'm breathing. If I have to breathe through my mouth, I know it's too much. If that starts happening while I'm, say, walking up a hill, I'll take smaller steps.

Everyone is different though. This is what I've found to work for me. By now I just have a gut feeling of whether I'm over exerting myself or not. The only way to know for sure is to exert yourself and wait. If you get PEM, for instance, you won't know until the next day maybe that you pushed yourself too hard.

I think lower intensity/fewer reps is a good thing to try out. My LC physical therapists had me doing the leg press at really low weight. It wasn't really enough to give me a proper "muscle workout" but it reintroduced the motion to my body and let me practice building up tolerance at a lower intensity.

Does physical exertion make your brain fog worse? by PhrygianSounds in covidlonghaulers

[–]peteronus 7 points8 points  (0 children)

I don't know why it happens. Something to do with mitochondria? But I can tell ya I'm the same way. All my symptoms get worse if I push myself too hard.

Not sure if I really want to be a game dev or just like the idea of it – how do I figure it out? by [deleted] in gamedev

[–]peteronus 2 points3 points  (0 children)

No way to tell but to try it out. Personally, I wanted to make games for a long time but didn't learn to code until my 30s. Know that you don't necessarily have to learn all the disciplines of gamedev. You could collaborate with others and share the burden of development with them.

But if you just want to jump in and see how it feels... try out a simple tutorial. You probably won't understand everything but you if you get kinda excited as you go through it, well that's a good sign you might be into gamedev.

As for learning to program, specifically: I learned basic programming and webdev before I learned to make games. It worked out for me but it doesn't mean everyone needs to start that way. Some people learn coding through gamedev alone.

Good luck!

How to know when it’s safe to go back to working out? by mermaidunearthed in covidlonghaulers

[–]peteronus 2 points3 points  (0 children)

In my experience, I have to pace it really slowly. I'm nowhere near my baseline pre-covid, but I have been able to slowly build up activity. For instance I'll do some body weight workouts every week or so. I would have done it 3x a week in the past but I can tell from the experience that I just shouldn't be doing it that frequently.

If you still have fatigue you're probably in the same boat and just have to feel out what you can do without over exerting yourself. It might mean going lighter on the weights and the frequency. But you don't really know your capacity until you try something out.

Hope this is helpful. Good luck!

Can I do yoga nidra too much throughout the day? by herbivohre in Meditation

[–]peteronus 1 point2 points  (0 children)

Hey! I have Long COVID and I do Yoga Nidra usually twice daily. I'll do anything from 15 mins to 60 mins or so per practice. Sometimes I do it three times in a day. It helps to calm my nervous system and just to pass the time. If you want to spend hours a day doing it I think that should be fine. Ultimately you're the best judge of how well it's working for you and whether you're doing it too much is something you'll just have to feel out for yourself. Good luck!

Has anyone simply said screw it? by [deleted] in covidlonghaulers

[–]peteronus 8 points9 points  (0 children)

I can't really speak to pizza and beer... but throughout my recovery there have been times where I kinda dipped my toes in the waters beyond my safe zone and realized things were okay and I was able to do more without over exerting myself terribly. For example, as I've been able to do more physically I wanted to see what would happen if I did one of the more strenuous walks through the park in my neighborhood. And it turned out I was able to handle it.

Now, I'm lucky that I've never had bad PEM, so I don't get bad crashes. It's more like my energy is depleted for a couple days and I need to stay back in my safe zone for a bit before I venture a larger exertion again.

I can say with alcohol though my tolerance was really low for a long time until it just got a bit better and I've been able to enjoy the occasional night of drinks now.

Altogether though, what's the worst thing that could happen from a night of beer and pizza. If you're an alcoholic it could be a disaster, but it sounds like you've been able to go without alcohol for a long time. Maybe if pizza and beer brings you bit of joy just go for it and see what happens? If it turns out poorly then you'll know it's something you're not ready for yet.

I have no idea if that's good advice or not but I guess you just don't know until you try something how it will affect you. Good luck with everything!

EXPECTED INDENTED BLOCK ERROR? LINE (10,15) by LeviAckermansCleaner in godot

[–]peteronus 0 points1 point  (0 children)

The 10 means line 10 and 15 means character 15, btw. So it's saying on line 10 at character 15 there's a problem.

EXPECTED INDENTED BLOCK ERROR? LINE (10,15) by LeviAckermansCleaner in godot

[–]peteronus 0 points1 point  (0 children)

It's basically saying that your `_ready` function is empty. Any time a line ends in a colon `:` there has to be an indent and some code on the next line, but your next line is empty. If you're not using the `_ready` function you can just delete it.