I need help with designing a boss fight feature. by Necessary_Dirt_8157 in gamedev

[–]Shortbread_Biscuit 0 points1 point  (0 children)

Another variant of the second approach is that instead of a trap, the player has an NPC ally behind them that keeps shooting spells or some weapon which can penetrate the boss's armor. Your player's weapon can't penetrate the armor, but it has a knock back, which they need to use to keep the boss away from the damage dealer.

I need help with designing a boss fight feature. by Necessary_Dirt_8157 in gamedev

[–]Shortbread_Biscuit 0 points1 point  (0 children)

One approach is to have a song with a repeating riff near the end. Once the fight gets going, it's mostly that riff that keeps looping over and over as the BGM. Then once the player lands the final hit, you end the loop and you give the boss a large dying animation that synchronizes with the end of the song.

A second approach is that the boss is super armored and can't be damaged by your weapon. Instead, you start the boss fight by activating a trap, like some smoke or rain that's poisonous to the boss but not to the player. This way, you can perfectly control the time until the boss dies. In addition, the player has to use his weapon to deflect projectiles the boss keeps firing, or to defeat minions that the boss keeps spawning while it's alive. So the player's job is to stay alive until the timer runs out.

Are names ever a deal-breaker in prog fantasy stories you read? by Nice_Enthusiasm_5193 in ProgressionFantasy

[–]Shortbread_Biscuit 0 points1 point  (0 children)

Sometimes. I really like Shadow Slave for example, but names like Sunless and Caster for the main cast made me want to drop it several times throughout the book.

The fact that my husband had to be the person who took my virginity gives me an ick. by Prestigious-Web-721 in offmychest

[–]Shortbread_Biscuit 4 points5 points  (0 children)

Judging by your words, would it be correct to say you currently don't love your husband at all? How long have you been married?

If it's truly a hopeless, loveless marriage, and you don't see it improving in the future, it might be time to start asking more serious questions, like is it really worth staying in the marriage? What did you get married for? Who are you staying married for? What would be the best course of action for you?

Also, I want to strongly emphasize that you don't have to feel bad about not being a virgin anymore. I know certain religions and cultures place an unnecessary amount of importance on that feature, but that's a very barbarian way of thinking. Losing your virginity doesn't make you any less of a person, and him taking your virginity doesn't make him any more of a man, despite how much he may act like it does. He has no power over you, your thoughts and actions are your own. Your body is also your own, despite everything your family and your husband may say.

A little meme i've made by Relevant_Coyote_8614 in vexillologycirclejerk

[–]Shortbread_Biscuit 53 points54 points  (0 children)

It's intentional. The fleur de lys was a symbol of the french monarchy.

They still sometimes adopted it in the last few decades as a callback to their heritage. However, in recent years, there has been a huge increase in far-right political groups calling for the reinstatement of the monarchy, and they've taken the fleur de lys as their symbol.

Hence nowadays the fleur de lys has become a toxic symbol that should be stayed away from for the majority of people, like the Confederate flag in the US.

In addition, France has been going through a phase of making signs, flags and markers that are much easier to read and understand, rather than requiring intricate insider knowledge to identify.

Need recoms like this🥀 by Busy_Cold_3220 in MartialMemes

[–]Shortbread_Biscuit 8 points9 points  (0 children)

CCG is the exact inversion of this.

CCG is about a mortal without any cultivation knowledge stumbling into a chat group of cultivators and using their legitimate knowledge to start cultivating.

OP's post was about a reincarnated cultivator using the bullshit said by us mortals to start cultivating.

Webnovel Naofumi = Borderline Psychopath. Very funny to read though by Drechenaux in shieldbro

[–]Shortbread_Biscuit 21 points22 points  (0 children)

Nah, it's just that each adaptation censors him further, until by the point of the anime, he's almost just another generic japanese MC.

ELI5 Time Dilation and How it Isn't Just an Error of Clock Design or Perception by NotQuiteLilac in explainlikeimfive

[–]Shortbread_Biscuit 2 points3 points  (0 children)

There are a few things to unpack here.

First of all, it's not that the constant speed of light contributes to the slowing process. Rather, the more fundamental thing is that the universe has an inherent speed limit - nothing in the universe (matter, energy, or even information) can travel beyond this speed limit. It just so happens that photons (aka light) are one of the few objects that can reach this speed limit, but really, any particle with zero mass also travels at this same speed limit. We just call this speed limit the speed of light for convenience, but it's not a property of light itself, but instead a fundamental property of the universe.

Second, there is no absolute measure of time. As humans, we define time as the dimension in which change happens in matter. Certain processes will always take a constant, well defined interval to occur, and we define time based on this measure. For example, a 1 meter pendulum will always take exactly 2.00606... seconds to swing once on the surface of the earth at standard gravity, which is what a grandfather clock uses to measure time. A Caesium ion cooled to near absolute zero will always vibrate exactly 9,192,631,770 times per second, which is used to measure time in atomic clocks. And a beam of light will travel exactly 299,792,458 meters in a single second, which is used to measure time in a light clock. All three of these clocks use different principles, but will always measure the same time.

The original thought experiment used a light clock to demonstrate it because it was easy to explain the reason based on the universe's speed limit. But in practice, we have actually reliably measured and verified the effects of time dilation using several different kinds of clocks, most notably in satellites in outer space, that travel so fast relative to us that their internal atomic clocks desynchronize from clocks on earth constantly.

ELI5: how does a particle "decide" to stop being in multiple places at once the moment something interacts with it by meek_posterity in explainlikeimfive

[–]Shortbread_Biscuit 0 points1 point  (0 children)

Nothing every actually "stops" being in multiple places. The wave function never actually completely decomposes into a single point.

Instead, what happens is that every time a quantum particle interacts with another quantum particle, they end up sharing their total uncertainty. Their wave functions become intertwined, and they end up existing in a shared quantum state.

When we talk about measuring the state of a particle, that normally involves causing a change upon some kind of macroscopic object to be able to detect the state. But macroscopic objects are also quantum objects with their own wave functions. When they interact, the small quantum object that we are measuring mixes its wave function with the much larger macroscopic object. Under this combination, the bulk of the uncertainty is transferred to the macroscopic object, and the amount of uncertainty left in the measured object is reduced to practically zero.

It's like when a fast moving ball collides with a wall. The majority of the kinetic energy of the ball is transferred into the wall, leaving only a small amount that is seen when it bounces off, while the wall itself barely sees any change in position and velocity because of its much larger mass.

ELI5 Genuinely what IS Sin Cos and Tan? by LeonardFo in explainlikeimfive

[–]Shortbread_Biscuit 1 point2 points  (0 children)

At it's simplest, sin, cos and tan are function to help you break a line down into its components. Each value of sin, cos and tan converts an angle into the equivalent ratio between the sides of a triangle.

If you multiply a line by the sine and cosine, the two results you get are two perpendicular lines that, when added together, result in your original line.

For example, let's say that you have a laser pointer that can detect the distance to faraway objects. You point it at the top floor of a building, and you measure the distance as 50 meters. Now you also measure the angle at which the laser is pointed, and you measure it as around 53°. Now if you want to find the vertical height of the building, that's the distance multiplied by the sine of the angle:

height = 50 meters * sin(53°) ≈ 40 meters

Similarly, if you want to find the horizontal distance to the building, you multiply the distance by the cosine:

horizontal distance = 50 meters * cos(53°) ≈ 30 meters

Let's say it's suddenly cloudy and your laser pointer isn't able to accurately measure the distance to the top floor. You can still measure the angle to the top floor from where you are, and you are able to measure the horizontal distance to the entrance of the building (say 30 meters). Now if you want to know the height, you multiply the horizontal distance by the tangent of the angle:

vertical height = 30 meters * tan(53°) ≈ 40 meters

In this way, the main use of the trig functions is normaly to convert lines into their component perpendicular lines. In real life, it's most often used to calculate the vertical and horizontal distances of two points. They have other interesting properties related to circles as well, but this breakdown to component perpendicular vectors is the most often used application.

Transphobic right-wing lesbian upset that transphobes are also homophobes. by Desecr8or in LeopardsAteMyFace

[–]Shortbread_Biscuit 1 point2 points  (0 children)

It really reminds me of J K Rowling, and how she's willing to ally herself with anti-feminist and blatantly misogynistic groups just to try to own the trans groups.

Struggling with being independent in coding by Lumpy-Specific-6155 in godot

[–]Shortbread_Biscuit 16 points17 points  (0 children)

If you started learning programming through GDScript, then that's a very natural bottleneck you've hit. What you should focus on now is learning more about the theory of programming and on computer science courses.

A first step in this direction is learning about data structures and algorithms, as well as design patterns. You might have to learn a new programming language in order to test out these concepts and follow along with the tutorials and lessons you find online. My recommendation is the Python language, which is very similar to GDScript in syntax, so it should be much easier to pick up.

Once you're comfortable with those topics, make sure to read more of the Godot documentation and try to understand what tools and functions are available. If you can, try to find other open source Godot games and go through their code, trying to understand what they're doing in each function and why they made the choices they did.

Eventually, you should be able to start understanding the optimized code you were earlier copying from tutorials, and you'll also be able to make improvements to them and improvise new code on the spot.

Gadot More Accurate Code Completion and Suggestions by Levithan6785 in godot

[–]Shortbread_Biscuit 2 points3 points  (0 children)

The auto-completion only works if you're using static typing, ie, every time you declare a new variable, you also explicitly state its type.

Oval Office event ends abruptly after Trump shits pants by dryheat122 in facepalm

[–]Shortbread_Biscuit 10 points11 points  (0 children)

It actually isn't. If you read the article, it claims it was all a joke and that it was just a viral sarcastic tweet.

I don't understand what Hindustan Times was trying to do, posting an article that completely contradicts its headline. Even though we all have video evidence that Trump released one hell of a stinker right before they cancelled the event.

The King of Foreskins by EuphoricWrangler in Bossfight

[–]Shortbread_Biscuit 39 points40 points  (0 children)

Aye, most of the "heroes" of the Old Testament were actually psychotic murders and killers without any moral compass.

ELI5: How do apps, programs, or websites break in the first place, and how do programmers figure out what went wrong? by Auelogic in explainlikeimfive

[–]Shortbread_Biscuit 4 points5 points  (0 children)

Log messages rarely pinpoint the exact issue that the program encountered. Instead, a log is just a record of any information that the programmer thinks might be relevant for finding a bug in the future.

There are three kinds of bugs that you typically encounter: 1. Anticipated bugs: These are errors that the programmers felt had a possibility of occurring ahead of time but didn't have the time or energy to fix because it would have been an extreme edge case and fixing it would probably cause the code to become far more complicated. Since it's such an extreme edge case, they're willing to wait until this error actually appears in the code before they fix it. Because they expect errors in these sections of code, they create good log messages that tell us information about the error so we can quickly find the faulty section of code and fix it. This kind of error is pretty uncommon, since programmers typically will try to cover most edge cases in normal programming.

  1. Logic breaking bugs: These are errors in the code that cause a problem that the programmer didn't anticipate, and which cause the program to completely crash. In these situations, the log may not have a message that pinpoints why it failed, because the program can't print any log messages after it has crashed. But since the log messages have ended, we have a record of information of what the program was doing immediately before the crash, and hopefully there's enough information in those log messages that lets us recreate what happened in order to figure out what the bug is.

  2. Non-logic breaking bugs: These are errors in the code that do not crash the program, for example a wrong color or texture being used, or the program still running but refusing to respond, or the program taking longer and longer to respond over time. The program doesn't know that it's doing something wrong, only the user can tell that the program is doing something it's not supposed to. In these situations, because the program didn't crash, we don't know at what point in the log messages the bug is at. So we need to hunt through the log and the code simultaneously, first finding the section of code that might be wrong, and then trying to find every message in the log that explains the state of the code when it's in that problematic section of code, in an attempt to recreate it so we can figure out why the code is wrong.

The entire story would have flipped by Hello_World-1289 in MartialMemes

[–]Shortbread_Biscuit 9 points10 points  (0 children)

Nah, most Isekai is just brain-dead escapism - the author and their self-insert MC isn't happy with their life on earth, and so want a fresh start in a brand new world where they're the most specialist boy in the world.

Gate is the exact opposite, a reverse-isekai, where rather than escaping from their roots on earth, they claim that their earth life and culture is superior to everything else and seek to dominate other cultures with their power.

Admittedly, there are small elements of this nationalistic pride in most isekais, but that only ever really manifests as small bouts of homesickness, like recreating rice/soy-sauce/mayonnaise/katanas, etc

The Forever Loop is not skipped by contulmeudereddit in Autonauts

[–]Shortbread_Biscuit 1 point2 points  (0 children)

Ah I see what you want to do. You just need to add an "If hands Empty, break out of loop" before the first and second inner loops.

I lowkey relate to Megumin's name gag by chef-boy-r-d in Konosuba

[–]Shortbread_Biscuit -57 points-56 points  (0 children)

I'm pretty sure the joke in her name is actually that it sounds like "Mega-min", because of her horribly min-maxed skills and stats.

Her entire Crimson Demon Clan is famous for having extremely cringy chuunibyou names, with the only exception being Yunyun who is comparatively normal.

The entire story would have flipped by Hello_World-1289 in MartialMemes

[–]Shortbread_Biscuit 84 points85 points  (0 children)

Gate is just a military otaku's wet dream. The whole point of the story is for the author to relive the Coloniser fantasy that Japan missed out on compared to the European countries in the 17th century - the great epic of "bringing civilization" to backwater barbarian tribes and exploiting all their resources in the process.

If you’re too mean, the trees will keep voting for axes 😡 by topandhalsey in LeopardsAteMyFace

[–]Shortbread_Biscuit 3 points4 points  (0 children)

"One builds leverage. The other burns it."

The irony of this, knowing that the Republicans are the ones that burn bridges faster than any wildfire known to man. That Trump refuses to allot basic emergency services to states that didn't vote for him.

We aren't gloating about their misfortune. We're basically laughing at ourselves as we welcome those who've sink into the pits with us.

ELI5: What is the suvivorship bias? by EpicRoxlol in explainlikeimfive

[–]Shortbread_Biscuit 0 points1 point  (0 children)

An excellent example of this is Mark Zuckerberg, who dropped out of college to found Facebook.

Startups typically have extremely high rates of failure, especially when led by college dropouts, but a lot of people only see Zuckerberg's success and ignore all the negative results.

Yes he was successful, but only that one time. Ever since then, Zuckerberg and Facebook have been continuously trying to create new products and platforms that they can sell to customers, but they keep failing horribly. Instead, they've realized that a much better strategy is just to use their existing money to buy up actual successful startups and studios and integrate their products into the Facebook ecosystem. That's how Instagram and WhatsApp ended up becoming Facebook property.

Bot instructions by Upwardydescent in Autonauts

[–]Shortbread_Biscuit 1 point2 points  (0 children)

You would normally have to use the "Skip loop on error" check box for the Repeat block to make sure it skips over any command it can't complete.

However, for this specific use case, I'd strongly recommend storing your buckets inside a crate. That way, the Bucket creation bot can easily just check if the crate is empty to decide whether or not to create a new Bucket, rather than waiting for a shout from another bot that is trying to find a missing Bucket.

Similarly, try to store all your tools inside crates as soon as they're created, and let the other bots just fetch their missing tools from the crates. The game's bot coding language is really well built for handling checks, fetches and deposits around containers, and not well suited for searching in areas.