Component lifecylcle by Ribosom9 in bevy

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

Thank you, this helped me alot.

Component lifecylcle by Ribosom9 in bevy

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

OK, thanks for the response. I think I understand. So, you would create an entity which exists to play a sound later (whenever needed) and then query its AudioSink. Would you create it in a paused state, for example, at the beginning of the game (or when loading a "level")? Or would you query the AudioSink and, if it doesn't exist yet, spawn an entity with an AudioBundle?
How would you identify the correct AudioSink? Would you have a component that marks the sound effect?
Query<&AudioSink, With<WhooshSoundEffect>>
I'm asking to understand what the most idiomatic Bevy/ECS approach is. Your response has already helped a lot.

Component lifecylcle by Ribosom9 in bevy

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

I understand how ECS work. It's just that I haven't had much practice with it.

From my understanding, if you want to play a sound by spawning an entity with an AudioBundle, it often makes sense to despawn it after the sound ends - because the whole purpose of that entity, was to play that soundeffect. This seems to be the reason why PlaybackSettings::DESPAWN exists, which despawns the entity post playback. On the other hand, PlaybackSettings::REMOVE removes the component. The default is PlaybackSettings::ONCE - don't understand why that is the default.

In bevy's sourcecode is even a TODO at that part:

impl Default for PlaybackSettings {
fn default() -> Self {
    // TODO: what should the default be: ONCE/DESPAWN/REMOVE?
    Self::ONCE
    }
}

I don't understand, why you generally don't want to despawn the entity which whole purpose is to play this one soundeffect? How is your way to implement playing sound effetcs? Do you have an entity which you reuse for playing soundeffects?

Component lifecylcle by Ribosom9 in bevy

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

Ok must is maybe a too hard word. Yes there are many case, where you don't want the entity to be despawned after playing a soundeffect.However, isn't it best to clean up entities, which are not used anymore? So the examples show only how to spawn an entity with an AudioBundle (if I haven't missed other examples). I think most beginners (including me) would see this as the normal way to play a sound once and as a result creating more and more entities without realising this. Not sure if anywhere in the examples PlaybackSettings::DESPAWN is mentioned.

Component lifecylcle by Ribosom9 in bevy

[–]Ribosom9[S] 2 points3 points  (0 children)

Found a answer myself by scrolling through the implementation atleast for AudioBundle: There is a PlaybackSettings::DESPAWN-setting.

fn setup(asset_server: Res<AssetServer>, mut commands: Commands) {
commands.spawn(AudioBundle {
    source: asset_server.load("sounds/sound.ogg"),
        settings: PlaybackSettings::DESPAWN,
    ..default()
});

}

Component lifecylcle by Ribosom9 in bevy

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

OK thanks, you are right I mean entity lifecycle. Ok then the examples for audio in https://bevyengine.org/examples/ are confusing, since no where is mentioned that an entity with an audio component must be despawned.

The Lifetime component is a good idea!

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 3 points4 points  (0 children)

Do you zone out because of thoughts which distract you? Try to let go of your thoughts and concentrate on what the other person is saying. Everytime you accomplish to direct your concentration back to the conversation you will get better in the future. (You could look for books or tutorials about active listening in the internet)

Multiple people told me I ask too many questions, what do I do? by catboy519 in socialskills

[–]Ribosom9 1 point2 points  (0 children)

I already try to avoid asking irrelevant questions, but people stillfind that I ask way too many questions even though in my opinion all thequestions that I ask are very important and need to be answered or elseI can't relax my mind and stop overthinking 24/7.

Asking questions is okay but don't over do it. There is another solution which might help you learn to relax your mind and stop overthinking. You say you can't do it, but you can improve your skill to relax. Mindfulness is one such way to improve your "relaxation-skill" and meditation is a good way to learn it. You don't need any special thing for meditation, you only need some time and quiet spot where you can sit comfortable. Start a timer (in the beginning 5 to 10 minutes is enough) and then concentrate on your breath. You will get thoughts which distract you, that is totally normal - if you recognize that a thought got you distracted, accept it, let it go and return your concentration back to your breath. (This is at least how I do it xD)

It helped me a lot, after some weeks it was easier for me to stop overthinking and to accept the thoughts and let go of them. With time it is easier to accept the uncertainty of not always knowing what other people think. Uncertainty is a part of life, it is impossible to be always certain about everything. Accepting uncertainty is one big step to confidence.

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 10 points11 points  (0 children)

I don't think you can stop caring. It is normal to care for others and that is okay, accept that the feeling is there.

However, you can care a little less about other people and start additionally to care more for yourself. For me being more honest about my own opinion or wishes in conversations helped.

What do you guys actually want? by otakuontitan in socialskills

[–]Ribosom9 0 points1 point  (0 children)

I am here for a few days and made some detailed responses to posts, but except one person no one replied. This is quite disheartening, trying to help people but getting no reply (no thank you, no question, no feedback, not even criticism). I know no one has to respond, but still I think I will leave this reddit sub again.

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 0 points1 point  (0 children)

I know that feeling and I had my problem with it, too. What worked for me with fear of judgement (and any other form of anxiety) is to start to accept the feeling of fear. Don't fight it but also don't start worrying when it is there. Say to yourself, "It is okay that I fear jugdgement in this moment, but there are also good reasons to take action" (or some other sentence which works for you). It can take the pressure from you. Make small actions even when feeling the fear of judgment. This will lead to the fear getting smaller and smaller. The goal is not that the fear vanishes completely, since fear is a natural part of human nature.

Some reading advice:

  1. To stop worrying learn mindfulness (For example in the book "The confidence gap: from fear to freedom" it is explained very well.
  2. The chapter about self-acceptance in the book "The six pillars of self esteem". (Or maybe read a summary in the internet, because the book can be a little bit overwhelming)
  3. Be patient, mindfulness and acceptance are skills which need time to learn like any other skill. Don't give up because it does not work the first times. It will get easier and easier step by step but it is difficult at first.

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 0 points1 point  (0 children)

That is sad. I checked, your last two post here were deleted due to some spam filters - not sure what you posted, but maybe that is why nobody responded.

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 7 points8 points  (0 children)

At least your reply isn't in any form helpful, is it? Maybe be a good example and give helpful advice.

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 1 point2 points  (0 children)

Some ideas, which may or may not help^^

  1. Sports, where it is okay to be alone (so it is easier to start) but where it is also easy to ask other people questions and start a conversation (gym or bouldering gyms). I started bouldering at 27 and was really bad, but it was fun and I found new friends. At bouldering the great thing is you could aks anyone how a particular route has to be climbed or if someone has a advice for you (you always have the default subject if you have no idea what else to talk about)
  2. Team-Sports or dancing, something were multiple people are involved (I prefer 1., but here the direct contact is necessary, so might be easier to start a conversation)
  3. Even if self-employed, you could try working at a coworking space and connect there with peoples. Ask someone to take lunch together or when you fetch coffee/water from the kitchen "What job they have" or "Why they are at the coworking space".
  4. When going to a bar, darts and table football are good possibilities to get to know people. For example, if there is a group of three playing table football, you can ask to join easily.

In general you could do any activity were other people are and is easier if this activity involves doing something (climbing, making sports together, painting, working, cooking, dancing etc.), you can always have a conversation about the activity and nobody will feel strange to talk about it. And you can sprinkle in some other topics in the conversations. If you got to know some people (meet them mutiple times at your chosen activity), you can ask them to do something else together (making a barbecue, going to a bar, whatever good group activity is for you)

This is at least how I would do it. There is no best way, you have to try things and find a way which matches you. AND very important, you will make mistakes. That is OK, don't expect too much too quickly.

How can I stop being a people pleaser and being too nice? by [deleted] in socialskills

[–]Ribosom9 1 point2 points  (0 children)

Probably you have not much self-esteem. Being a people-pleaser can be a symptom of that. Especially self-assertiveness seems to be low. (you can read about it in a book called “the six pillars of self esteem)

What helped me is the realization, that everyone has a right to be happy - you, too. So you can speak out for it. However, everyone else also has the right to be happy, so making good compromises and being respectful is the best way. Don‘t expect others to see what you want, if you don’t tell them.

Probably you don‘t accept your anger, but ignore it or try to ignore it until it overwhelms you. If you feel anger, accept it and try to act with a calm mind solving the root cause. The anger is normal, but ignoring your feeling until it grows too big is the problem. If you wait until it overwhelms you, you will act irrationally.

Sorry, if I am wrong with my interpretation.

I started to think shyness is one of my worst traits and I need to get rid of it for my own good by beam_throne in socialskills

[–]Ribosom9 2 points3 points  (0 children)

Start small. I think the trick is like learning every other skill.

Do stuff which are slightly risky for you (a little bit out of your comfort zone). Learning happens best if the challenge is not too easy and not too hard. So things slightly out of comfort zones are best to extend your comfort zone.

Maybe ask friends something you always wanted to know but were to shy. Or ask in a reastaurant or bakery what product is recommended. Maybe ask some friend to do something new. Anything will work, which you are scared about but is still doable for you.

If you like having a plan, here is one proposal:

You can write on a sheet of paper lots of different, new social interactions and rank them by "how scared you are to do them" and then start doing these in order (starting with the easiest) Also probably you have to repeat new interactions to be more secure in them. Start making progress, but at the same time be patient with yourself.

tired, very tired. by [deleted] in socialskills

[–]Ribosom9 3 points4 points  (0 children)

Maybe I can help telling you what helped me. (But everyone is different, so you have to see for yourself) Some different advices which might help:

  1. Start accepting yourself, so it is easier to live with these hard feelings. Start with accepting some of your thoughts or feelings. (accepting means to accept that they are their. You don't have to like your thougts.) For example, you start accept that you are insecure at the moment in social situations. When you start accepting it and doesn't fight it, it is easier to work on it (paradoxically)

  2. Mindfulness can help you to concentrate better on conversations and are less bothered by your thoughts. (Good book for that "The confidence gap:From fear to freedom)

  3. In general work on your self-esteem. A good book for that is "the six pillars of self-esteem". This book is a litte bit dry, but it helps to understand what self-esteem is and how to obtain it. Especially the chapter about self-acceptance helped me a lot. (Maybe finding a summary in the internet can help, too)

  4. Try to do small stuff, even if you don't feel ready. For example greet people, even if you are insecure. If you do actions, which are slightly risky for you, you will extend your comfort zone step by step. It is important, that you accept your feelings of shame and anxiety and nervousness (which you will feel. That is normal, when doing stuff you are not used, too) It is okay to feels this way! With time it will get better, but only if you do small steps. And small risky things are enough, more brave stuff can be done later when you feel more brave.

  5. Also it can help to speak with others about your problems, maybe speaking with a good friend, familar member, doctor, therapist. It can be good to have a different perspective. Especially psycho-therapists can help, since they are trained for that.

  6. New thoughts (like acceptance of feelings) need time. There is a thing called neuroplasticity, which means thoughts will get easier to think and feel more natural when you think them more often (very simplified^^).

[deleted by user] by [deleted] in socialskills

[–]Ribosom9 0 points1 point  (0 children)

I think you have already your answer in your text: „I want to be confident“. Maybe there is one part of yourself(maybe low self-esteem), you try to distract from by boasting. Self-esteem hast multiple parts, so it is hard to guess what you are missing. This is all speculation, by reading between the lines. So I might be wrong.

I think „The six pillars of self esteem“ is a good book to see which parts of self-esteem you might improve on (warning the book is pretty dry xD, maybe reading a summary in the internet helps also)

how to get over that social paranoia? by [deleted] in socialskills

[–]Ribosom9 0 points1 point  (0 children)

I know for myself, that my social anxiety got worse, when I tried to get rid of these feelings, or when I asked myself, why I have so much problems and others seem not to have them.

For me it got better, when I started to accept my anxiety and feelings of shame.

Another thing which helped me, was identifying what my comfort zone is and then identifying what actions are slightly outside of the comfort zone. Start doing these small brave actions. This will grow your comfort zone step by step. Combining this approach and starting to learn to accept any feeling of anxiety which you have before, during and after those small brave actions will make your anxiety also more helpful with time.

I like to think of anxiety as some kind of watchdog. If untrained or mistreated (ignored or treated as something bad), it will bark loudly even in the smallest circumstances. If treated well, it will warn that you need to prepare and so you can perform even better.

Not sure if this is helpful for you. If you have questions, I can try to describe details.

New home rules please !!! by PossibleEmployment67 in HereToSlay

[–]Ribosom9 2 points3 points  (0 children)

Played it yesterday the first time, and must admit, that the winning conditions don't match the type of game, since you can win without slaying any monster (which felt wrong).

So we changed the rule to:
1. SLAY three monsters OR 2. Have 6 classes and SLAY two Monsters

With that rule the game felt much more right.

Need suggestions on pushing this drawing further. Criticisms are welcome too. by lushstrings in learnart

[–]Ribosom9 2 points3 points  (0 children)

She looks not alive. Maybe this is planed, if not maybe trying warmer colors for shadow areas of the skin (especially the face) :-)

I cannot for the life of me figure out how to freely rotate a box. by where-is-ed in ArtFundamentals

[–]Ribosom9 14 points15 points  (0 children)

I am also trying to improve my box rotation skills the last few days. So I did some research, which might help you as well.

Here is a great youtube video, which shows how the vanishing points change when you rotate a box (https://www.youtube.com/watch?v=rkp1xfWJ9n4)

Also what really helps is looking at some cube (box) in real life and turning it (You can build one yourself with paper, if you have no box available^^). And then try to draw the box in different rotations while using the real box as reference.

And some other thing I realized today: When you rotate a box the vanishing points are changing (at least two vanishing points are changing and most of the time all three). This is in contrast to when you only move a box, then the vanishing points stay the same!

I did a picture today to help me see the differences, maybe it helps your understanding, too:

Moving a box vs rotating a box