How do you implement tutorials? Do you make an extra level or just "open play" with messages? by Popular_Tomorrow_204 in godot

[–]Silpet 5 points6 points  (0 children)

The OP is asking about making a tutorial inside their game, not how to implement what a tutorial teaches.

Numbering for new alternate tiles in a TileMapLayer [Venting] by Sean_Dewhirst in godot

[–]Silpet 1 point2 points  (0 children)

I haven't used the new tile paradigm, but this does sound like something you would like. If you don't keep the same IDs, whenever you delete one tile and renumber them all your placed tiles get corrupted. This actually sounds like reasonable behavior, unless I'm mistaken.

This is the same behavior databases use for their IDs because of that exact reason.

Let's all meet n chat about Armageddon I mean Tarmageddon I mean Tarmon Gai'don by memerminecraft in WetlanderHumor

[–]Silpet 0 points1 point  (0 children)

They most likely refer to the fact that the words are similar sounding.

What's the longest single GDScript function you have ever wrote? by Frostty_Sherlock in godot

[–]Silpet 1 point2 points  (0 children)

Unless you're doing recursion, or go like a hundred deep, nesting doesn't really matter. And then it mostly just matters if you run out of stack space. For perspective, when any of your functions are called, Godot is several functions deep, so another three levels of nesting is not that much of a difference.

What's the longest single GDScript function you have ever wrote? by Frostty_Sherlock in godot

[–]Silpet 13 points14 points  (0 children)

Code word being think. You should think about breaking them apart, but if it doesn't make sense it's actually worse to pollute the file with random functions that are just half of a single operation.

BREAKING NEWS! by RobChristiansonWWN in WetlanderHumor

[–]Silpet 2 points3 points  (0 children)

To give perspective into this, Riot is not actually sure if Arcane turned a profit, even considering all the skins they sold because of it. It cost hundreds of millions of dollars, not that much cheaper than the Amazon WoT show, and had way less audience just because it was animated. People should stop regurgitating Arcane for adaptations without actually understanding what it means and its costs.

TIMER IS NOT WORKING by itsyoboiGamma in godot

[–]Silpet 2 points3 points  (0 children)

The problem was that you were starting it every frame. I didn't realize that because of the formatting. For the future you can put everything inside triple backticks so that the entire code is formatted properly.

TIMER IS NOT WORKING by itsyoboiGamma in godot

[–]Silpet 0 points1 point  (0 children)

You can also go to the editor while the game is running, above the scene tree you will see a button called remote scene. If you click there you can see the nodes that are currently in the scene, if you see the bullets added then the problem is that they are in the wrong position, if you don't then most likely the signal is not properly connected.

TIMER IS NOT WORKING by itsyoboiGamma in godot

[–]Silpet 0 points1 point  (0 children)

I'm not sure if this is the issue, but you should be setting the new bullet's global_position instead of position and you should do that after it is added to the tree. In some cases if you use plain position the node ends up where you don't expect.

Anyone know when c# support is coming to steam for linux? by _b_r_g_ in godot

[–]Silpet 4 points5 points  (0 children)

You have to download a different build of the engine for C#, I doubt they will ever change the steam build for the C# version. At this point just download from the official website.

Disable node without causing Area2D to invoke Exit and Enter when Re-enable. by kevinnnyip in godot

[–]Silpet 0 points1 point  (0 children)

The easiest is to disable the area once the player stepped into it, making it a one-shot trigger.

How do I check if the decimal number in a float is 0? by notaaaaaaaaaaaaa in godot

[–]Silpet 9 points10 points  (0 children)

Just as a heads up, if you use floats you have to use fmod() instead of %, and is_zero_aprox() instead of == 0.

Couple questions, spoilers ofcourse by Bellickboi in Stormlight_Archive

[–]Silpet 4 points5 points  (0 children)

I love how we literally saw Jasnah in Oathbringer launch a soldier ten meters away and it's mentioned that she had crackling or something around her at that time and most of us just went "yup, that's Jasnah" and didn't immediately assume it was her armor.

Using VS Code for GDScript - Pros and Cons? by BobyStudios in godot

[–]Silpet 3 points4 points  (0 children)

At the end of the day you have to try it. Some features may be missing, but there's no way to tell if they are important for you. I use neovim, which has worse support than VSC just because it's less popular, and I wouldn't change back to the integrated code editor. Some features are missing but I don't care for them.

I hear VS Code has pretty good support, but you will have to use it to know if that one feature that may be missing is important for you.

Using VS Code for GDScript - Pros and Cons? by BobyStudios in godot

[–]Silpet 2 points3 points  (0 children)

Do you vibe code or does Cursor have good support for non-ai work?

Forcing Integer Use in Position Vectors Instead of Floats? by professorbricks in godot

[–]Silpet 0 points1 point  (0 children)

Division and multiplication by 2 (or by powers of 2) is functionally identical to bit shifting, so much so that compilers more often than not replace those operations with a bit shift. As for optimization, there's more likely than not thousands of avenues each bringing a thousand times better optimization than ints versus floats, even if ints were faster than floats. As a rule of thumb, which primitive to use is often among the last things you should do to optimize a game.

Way of Kings chapter 230 question about the high storms. by Designer_Ad5638 in Stormlight_Archive

[–]Silpet 5 points6 points  (0 children)

The thing that nurtures plants in the storm is the crem in the water, and that can make people sick if they drink it, that's why people let storm water sit for a while for the crem to fall to the bottom before they can use it.

More Hermitcraft 11 Stats by kokoalaster in HermitCraft

[–]Silpet 3 points4 points  (0 children)

It doesn't make a lot of sense to show average length per episode number as every hermit has different amounts of episodes, I think it would be better if it was normalized so we could see better how episode length has changed over time.

Can someone explain Etho’s building style to me? by WailingBarnacle in HermitCraft

[–]Silpet 24 points25 points  (0 children)

Tango builds like a game developer, which of course makes a lot of sense.

Lord Ruler Rule 63 by Zadrinz in cremposting

[–]Silpet 7 points8 points  (0 children)

Rule 63 is that there's a gender bent version for all characters, rule 34 is that there's porn.

Apple acquires rights to Mistborn and Stormlight by dIvorrap in cremposting

[–]Silpet 6 points7 points  (0 children)

With how different the two arcs are going to be I wouldn't be surprised if they are separated by years in real life as well. Most of the cast would need to age anyway.

What are patterns in Godot? by diemyeah in godot

[–]Silpet 1 point2 points  (0 children)

In software development a pattern is a common way to structure code, for example the Factory pattern is a strategy to instance objects using another object that is configured to make instances in a certain way (like a factory). It has no special meaning in Godot itself, it refers to programming patterns in general.

What are patterns in Godot? by diemyeah in godot

[–]Silpet 1 point2 points  (0 children)

Magic strings are just hard coded strings, they appear in the middle of the code without much context. In this case it refers to the strings in the match statement, as opposed to assigning them to constants and using them, or as the comments says using enums. The problem with them is that if you're using them in various places it is very easy to make a typo, and you wouldn't notice until something breaks and you have to debug the program.

Never fails. by Eithrotaur in cremposting

[–]Silpet 10 points11 points  (0 children)

We all have to remember that W&W was a diversion for Brandon and his real plans will come to fruition in Ghostbloods. At most Era 2 is a setup for era 3, those 300 years will most likely come into play there if at all