Godot: The open source game engine

21 readers
1 users here now

A community for discussion and support in development with the Godot game engine.

founded 1 year ago
MODERATORS
301
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Chopping_Slime on 2024-10-07 07:49:37+00:00.

302
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/KetsuiReddit on 2024-10-07 06:36:33+00:00.


Hello, I am buildig my first game in Godot. It is a platformer game where the player can die either:

  • When the timer reach 0 seconds
  • When he touches spikes in the level

For the timer, I am just sending a signal to the player when the timeout happen

However, I don't know what to do for when the player touches the spikes. There are many ways to achieve what I want. They all work but Idk which one is the best practice in terms of game dev with godot.

1. In Spikes.cs , when the player enter in the Area3D, I use:

    public void OnBodyEntered(Node3D body)
    {
        if (body.HasMethod("Die"))
        {
            body.Call("Die");
        }
    }

Not a huge fan of this one since it seems to be using reflection. A better version I found:

    public void OnBodyEntered(Node3D body)
    {       
        if (body is player player)
        {
            player.Die();
        }
    }

This one seems to be the best version so far.

2. Event bus

It was a bit hard to create in C# since most tutorials are doing it using godot but I managed to make it work. This way is good but the player needs to subscribe/unsubscribe to a global script which creates a strong dependency between the player and a singleton. So it will be harder to tests and every time I change/reload a scene, I must make sure the player unsubscribe.

3. Connect through scripts

The thrid one attempt was to connect with scripts. So basically, on the OnReady method of the Spike.cs, I find the player and create the same setup as the timer. I just do this using scripts because they will be a lot of spikes in the level.

4. Detect collision in the Character.cs

If I do this, I only have one script running checking for collision instead of multiple one. However, I did not find the signal OnBodyEnteredOnBodyEntered in the editor for the CharacterBody3d. Plus player hitbox can change when the player crouch so it complicates things.

I would appreciate some guidelines here please

303
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/RaccoonFormality on 2024-10-07 05:08:59+00:00.

304
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/SteamDeveloper on 2024-10-07 02:32:09+00:00.

305
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/beta_1457 on 2024-10-07 01:05:13+00:00.


Well... I've been working off and on my little Spire-like card game for a year off and on. Maybe 250 hours.

I followed a lot of tutorials which were honestly great and was virtually at a working project. But after spending about 3 hours trying to implement a feature Saturday morning that I think,with a different architecture and using all the tools I've learned over the last year, I could have implemented in maybe 30 minutes.

I decided I'd be best served to start over. I can reuse all my art assets and most of the scenes and just re-write the scripts.

I think it was a drastic move but ultimately the right one. Was hard not to feel down about it. But I'm already maybe 20% back to where I was with a much easier to work with code base.

306
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Yanna3River on 2024-10-06 19:14:57+00:00.

307
1
Uh oh... (old.reddit.com)
submitted 2 weeks ago by bot@lemmit.online to c/godot@lemmit.online
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Bring90 on 2024-10-06 22:28:09+00:00.

Original Title: Uh oh


I had an issue with some packed scenes so I opened them in a text editor

I think something's wrong

308
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/General_Hatestorm on 2024-10-06 20:31:05+00:00.

309
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Nepacka on 2024-10-06 14:36:24+00:00.

310
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/MemerMan087 on 2024-10-06 13:26:30+00:00.

311
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/J_Doom on 2024-10-06 19:41:23+00:00.


Some of you may be familiar with Ombarus's great guide on creating procedural planets for godot 3.

Since I noticed there were quite a few people in the comments and discord struggling to port it over to version 4 I put together their great advice and did it myself.

It was a great learning experience. If it can prove helpful to anyone here it is:

312
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/MarioMartinat on 2024-10-06 17:09:32+00:00.

313
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Calvin_And_Hobbies on 2024-10-06 15:57:06+00:00.

314
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/ccrroocc on 2024-10-06 10:56:37+00:00.

315
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/oppai_suika on 2024-10-06 12:57:17+00:00.

316
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/StylizedSchool on 2024-10-06 11:42:36+00:00.

317
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/BlepStaggo on 2024-10-06 10:23:18+00:00.

318
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/samsfacee on 2024-10-06 10:08:34+00:00.

319
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Sea_Reaction_4535 on 2024-10-06 07:47:52+00:00.

320
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/freakrtist on 2024-10-06 07:47:09+00:00.

321
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/hushhushhigh on 2024-10-06 03:15:04+00:00.

322
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/oWispYo on 2024-10-06 02:12:53+00:00.


I have seen a couple of concerns that people brought up regarding review bombing games because they are made in Godot Engine. They were brought up on Twitch streams in gamedev category and here in this sub.

These concerns are related to recent events, very nicely highlighted here, in case you are not up to date:

I don't use Twitter, so I don't know what kind of concerns are being brought up there.

So here is a quick research into a few Godot games that are very very dear to my heart! Though I haven't played all of them personally, but I have seen the success of these games.

Please be polite in the comments and, if you would like, join me in showing the support to amazing games made in Godot! Take this as a reminder to review your games, it means a lot to the developers (saying as a dev who released game on steam in the past).

TL;DR: There are people who got emotional about the recent tweet from Godot and went out of their way to leave a bad review on Godot games. That sucks! In many ways. But it's an incredible small, insignificant amount of people and should not affect your game overall, especially if you haven't released your game yet. Stay safe!

  1. Dome Keeper

I freaking love this game. I especially appreciate how "Made with Godot" and the logo are displayed on the pause screen of the game. That is an incredible amount of support for the engine by the devs and I thoroughly appreciate it ❤︎

Recent reviews (1 month), Sep 27 marked

Reviews all time

Since Sep 27 I see a single negative review related to the engine:

  1. Brotato

Personally I haven't played this game, as I am not a big fan of the art style and sound design. But my favourite Twitch streamer plays this game alot and it's so meditative and fun for me to watch! It's an incredible gem of a game design and clever mechanics, and the first on my list when people ask "what are most popular Godot games?".

Recent reviews (1 month), Sep 27 marked

Reviews all time

Since Sep 27 I see a single negative review related to the engine, directly referencing the tweet:

  1. Halls of Torment

Diablo art style bullet heaven / Vampire Survivors game that got me hooked for hours and hours and hours of game time! I haven't played the release yet, had no idea it came out, will have to check it out for myself! I saw in the reviews that there are quests?? Ooooh!

Recent reviews (1 month), Sep 27 marked

Reviews all time

There were no negative reviews posted regarding the engine.

  1. Until Then

I absolutely adore the art style of this game but personally it's a miss for me when it comes to the genre of the game. But the art! Maybe I will end up picking it up just to experience the art and will get into the genre that way!

Recent reviews (1 month), Sep 27 marked

Reviews all time

This is a very recently released game and it would be most affected by negative steam reviews.

Since Sep 27 I see a single negative review that may be related to Godot, but sounds like it's related to the content of the game, and not the engine:

As a conclusion, I hope this slice of data helps people who have the fears of their games being targeted. It's scary, but I think we are going to be totally fine! Happy coding and hope you have a great time of day!

323
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/SnowDogg0 on 2024-10-05 23:54:01+00:00.

324
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/GoDo_it on 2024-10-05 21:45:08+00:00.


Hey ya'll Godot and game lovers,

Now I'm only a month into learning Godot, but like, who wants to make a game as a community? We could set up a github repo and make decisions as a group and people could work on whatever parts they want.

Could be fun to actually work with other people and see a game come together gradually from many people's efforts. Might be a little chaotic but would also be interesting and cool.

If enough people are down we could start this thing up :) Lemme know in the comments if you're interested.

Edit: Let's stick to a 2D game cuz probably a lot of us have never even looked into working in 3D.

Updates:

  1. I made a Godot Community Games Org github organization to host this:
  2. Give me your github names and I'll add you to the org. Reply to the comment that says: "Reply to this comment with your github names here to get added to the organization for access."
325
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/ovsko on 2024-10-05 20:07:26+00:00.

view more: ‹ prev next ›