Examples of code and personal projects

Godot 4.0 has been collecting more and more features, with also most of the bug fixes going exclusively there, soโ€ฆ I think in 3.3 we are going to get one physics index related bugfix, but all of our other problems so far (the ones that have been addressed) are only coming out in 4.0. So their bugfix release cycle is definitely a bit disappointing, then again it would be even worse if each version had major regressions. But overall as you can see how Thrive is doing that Godot is definitely usable, but if you are making a 3D game you are much closer to be the first project to run into some really specific problems.

So Iโ€™ve been making a fake hacking software (as my comments in the code say, โ€œuses fancy modules to print fancy textโ€), however I have ran into a problem (I believe itโ€™s a logic error):


When the user chooses 3, nothing is printed and the code closes (or asks the user to hit enter to close).
Iโ€™ve tried changing the numbers to the name of the โ€˜hackโ€™ printed in the panel above to no avail.
Any ideas on what is causing DDoS to not print?

Link to code (and source code in text file): Filebin :: bin 9ne9u9wfgoal67a0

Edit: The code is slightly outdated on the link, I removed a comment after uploading

1 Like

Probably because, according to the docs, IntPrompt returns an int, "3" not being equal to 3.

3 Likes

some code for delay if your game engine doesnโ€™t have wait() function or something similiar in c#

this one is loop which triggers function each 1 second in Godot mono

float Remaining = 1f;
public override void _Process(float delta)
{
    Remaining -= delta;
    if (Remaining <= 0)
    {
        Remaining = 1f;
        //do stuff here
    }
}

1 Like

Yep, this is nice and simple but powerful. In fact this is used in many places already in the Thrive code.

Iโ€™m trying to setup a simple Hello World project in Eclipse and itโ€™s becoming a nightmare.

Nothing to build for HelloWorld!

1 Like

What do you plan on doing in the language next?

Eclipse is in the opinion of many a very outdated IDE. Even in 2015 it was already starting to get old so I canโ€™t imagine someone using it in 2025. (unless theyโ€™ve had a comeback but I havenโ€™t seen anything about that)

I would always rather use IDEA or another JetBrains IDE over Eclipse for any task.

1 Like

Iโ€™ve been thinking about using Visual Studio for private stuff if I could just turn off the telemetry. Unfortunately, search results only point at turning off the telemetry for VSCode, but not VS. I suppose Iโ€™ll have to find the solution myself. I think this will require using the registry editor and a software for tracking & blocking all or some Internet requests.

1 Like

I found some powershell scripts online that should do that, I did some basic checking and didnโ€™t find anything sketch but you should obviously check for yourself:

2 Likes

Why do people insist on using Microsoft products with telemetry, rather than using the wide variety of more or less alternatives (not many products have as many features as Visual Studio, but in terms of actual usage JetBrains is basically the same development experience)?

2 Likes

BJS said sometime ago now that theyโ€™d use text editors for their private stuff and VS for the public stuff. I suppose here they were just trying to see if it was possible to reform VS for the private purposes too.

Seems a bit silly because VS has licensing terms where you can only use the community edition for specific things. For example if you โ€œaccidentallyโ€ write software that earns too much money, then youโ€™ve broken the licensing terms and you should have paid for the development environment.

2 Likes

Maybe thereโ€™s a reason theyโ€™ve (seemingly) not tried JetBrains yet?

1 Like

Because Visual Studio is vastly superior to everything else. Using an IDE is much better than using a text editor.

I donโ€™t intend on making money-making programs.

VS has all the languages I need in the same IDE. JetBrains has multiple languages spanned over several IDEs.

2 Likes

If you fail to make your VS plan work, what shall you do?

Iโ€™ll just use a text editor. I think Iโ€™ll either use VSCodium or Emacs (GUI).

1 Like

So did Eclipse drop by now from your plans?

1 Like

While weโ€™re on the topic of editors vscodium (and others) crashed on me too much so Iโ€™ve basically thrown anything approaching an ide in the trash and switched to Kate. If my compilation is longer than gcc (source file) (output file) (debug if I feel masochistic enough for gdb) I can use a makefile. Iโ€™d use vim or emacs but honestly I donโ€™t have the time to care at all. If thereโ€™s one unhinged non-benifit, I use Godot more for shader experimentation because unity uses HLSL which isnโ€™t in Kate for some unknowable reason.

1 Like

Maybe โ€œthe badsโ€ think theyโ€™re strong togetherโ€ฆ?