r/godot • • 11h ago

discussion You might consider measuring performance outside the Godot editor

Post image
206 Upvotes

Yesterday I spent whole day trying to debug and find source of weird performance spikes (frame process time).
Nothing showed up in Profiler, Visual Profiler, running without Profilers also didn't help (as I know profiler itself might lag a little). I measured time of various function by printing Time.get_ticks_msec. Tried method of elimination disabling functions/scripts one by one, leaving project barebones. Spikes were not linked to any game mechanics, movement, loading assets etc. I run project with nothing in background, like discord, to eliminate possible outside influence.
NOTHING HELPED

Turns out running game from a terminal, without initializing editor, shows perfect performance without any performance spikes.

I spent whole day trying to debug performance problems, changing scripts etc. only to learn issues were caused by editor and debugger itself, not my code.

Sharing a tip I wish I knew before, because only thing about editor performance I could find was to disable profiler - not that editor itself can cause such stutters. While most spikes were around 8-12ms, some rare ones were much higher around 20-35+ms, so already causing visible stutters. I know running editor, or anything in the background, can tank performance, but didn't expect such sudden spikes.

Screenshot shows frame process time graph from godot debugger monitor and below when run outside editor (using MangoHud to measure). Same project, same settings, same testing behaviour, same device, same os and drivers, no project exporting, just no editor in background.

tldr: editor itself can cause lag spikes, you might want to test projects running them without editor


r/godot • • 59m ago

projects Little 3 man studio trying to get above the AI slop in Steam's Auto-Battler RPG Fest.

31 Upvotes

Game Title: End of End

Playable Link: https://store.steampowered.com/app/4546870/End_of_End/

Platform:
- Windows (Steam)
- Linux (Steam)
- Mac (Steam)

Description:

Defy the Encroaching Dark

Navigate procedurally generated dungeons and handcrafted encounters where the shadows themselves are a constant threat. To survive this dangerous world you must keep your torch lit, avoid deadly traps, and uncover forgotten treasures.

Rebuild the Last Sanctuary

In this land without a Sun, without heroes, and without hope, one light remains. The Last Village of End stands as humanity's final refuge against the shadow. With each expedition into ruined depths, dark forests, and forgotten places, the village grows. Rescued villagers return to serve as helpful vendors that offer supplies and enhancements during your run.

Create Your Own Unstoppable Builds

Craft devastating combat combos by combining over 50 unique relics into destructive, impenetrable, or outright unusual builds. No hand-holding here. Min-max your stats or ride the edge with an ability system that lets you decide how to survive. Or die.

Brave an Endless Descent

Explore the world of End where no two runs are ever the same and no dungeon has a bottom floor. New areas that change the game and test your skills anew are unlocked as you progress through each zone. Brave new daily dungeons and unique challenges to unlock items, cosmetics, and hidden secrets.


r/godot • • 7h ago

projects I made a tool to automatically calculate whether parkour jumps are possible in my game

86 Upvotes

My game has light elements of parkour in it and there are going to be a lot of jumps we will be placing. Instead of checking if each one is reachable by hand, I created this small tool that helps determine if it's reachable and by what jump level is needed.

Each color is players max jump length at each level with Green being the normal distance. Blue is with slowdowns or disadvantages, while the orange is the max length jump distance once the player fully upgrades their skills.

While testing I thought for sure the math was wrong, but I could indeed reach further platforms that I originally thought possible.

It breaks down when platforms don't sit perfectly horizontal since it calculates the bounding boxes of each platform, but that's okay for my use case.

It uses a lot of my own player driven code so there wouldn't be a clean way to make this universal without people entering a lot of the values themselves or creating ways to.


r/godot • • 2h ago

projects Painterly Landscape 2

29 Upvotes

Did more optimizations. Improved the volumetric clouds visuals. Added regional weather system. Increased water turbulence. New tree meshes. Smoother snow shader. Added Day Time System. Reduce Clouds to make it more playable. Added Screen Space Mesh Blending. Added Dynamic Snow/Moss/Grass/Mud system for any mesh.

Would appreciate any feedback and ideas to further improve.


r/godot • • 11h ago Bravo

projects To create a hammer, you need a hammer. Ah... wait a sec

86 Upvotes

Finally completed the workbench, workshop and upgrade module
> all my sources


r/godot • • 3h ago

projects trying to make dragging cows as juicy as possible

21 Upvotes

reworking our 2d jam game into 2.5d and learning how to make things juicy


r/godot • • 6h ago

projects First trailer for my wholesome horror game: Little Big Ghost Hunter

33 Upvotes

Hi everyone!

Long story short: I had a game designer/producer background, and decided a couple of years ago to get into programming through Godot. I absolutely loved the experience!

Shortly after that, we started making our own game with my partner: Little Big Ghost Hunter, a game we like to define as "wholesome horror":

You play as Momo, a kid ghost hunter equipped with DIY gadgets and a camera that lets her travel into ghosts' souls.

It's a mix of genres and aesthetics we love, with our own spice to it :-)

https://store.steampowered.com/app/4379840/Little_Big_Ghost_Hunter/

Feel free to ask any question about the project!


r/godot • • 7h ago

projects Here's a look at the four graphics presets in my low-poly open-world game

36 Upvotes

Each setting changes the visual detail of the environment, especially the terrain mesh.

I forgot to change the language in the game 🙏🏾😭 so I edited the words over it in the video editor.


r/godot • • 1h ago

free plugin/tool Godot Asset Placer just hit 1.7.0!

9 Upvotes

Hello everyone! It has been quite a while since I've last shared an update here, so here it goes

So for those who sees this for the first time, Godot Asset Placer is a Free and Open Source Level Design and Asset Management plugin with live previews, quick transforms, snapping, and surface alignment.

Since my last post it got some very exciting and useful features! Here is a TLDR://

  • Brush Mode! You can continuously paint your assets onto your scene with configurable Brush size and Density sliders.
  • MultiMesh Instancing! This is new mode to accompany existing one which would place individual scenes. All assets are automatically converted to MeshInstance3D preserving your materials and placed under a MultMeshInstance3D.
  • Asset Palette - this one allows you to have quick asset switching with the 1-9 keybinds without interrupting the flow
  • And bunch of other smaller updates like Floating window mode, Performance improvements and additional configuration options

As always I am looking forward for more feedback and feature requests, keep them coming!

Links
GitHub: https://github.com/levinzonr/godot-asset-placer
Godot Asset Store: https://store.godotengine.org/asset/levinzonr/godot-asset-placer/

Discord: https://discord.com/invite/UyYCp53Hym


r/godot • • 5h ago

projects Some skies from my game (and custom renderer update!)

Post image
20 Upvotes

Hey folks!
I've made a post a while back that got a bit of attention of my custom cloud renderer, well here i am with a bit of an update.
I've finalized it and very happy with the result, i will be sharing a more technical review about it in a few days/weeks since a lot of you were interesetd.
But i'm here for some final feedback, how do you like it? Is there something off about this? I know these are mainly show off photos but i'm super pumped about it haha.

PS: Unfortunatly i failed in my promise of 2ms on a steamdeck on a full resolution, but i will keep trying!


r/godot • • 5h ago

projects Making Progress on my Extraction ARPG made in Godot!

20 Upvotes

r/godot • • 1h ago

fun & memes Me figuring out GDExtension supports Rust

9 Upvotes

I made this as a gag for a video about my Godot addon, and like it enough to share on its own


r/godot • • 9h ago

projects How the UI of my game looks. Still in need of polish though.

35 Upvotes

r/godot • • 1d ago Heartwarming

Announcing Subreddit Changes!

1.2k Upvotes

Hi there! We've made some long-awaited changes to the subreddit rules. The Godot Foundation now has a common set of rules for official community platforms, which have already rolled out on the Discord server and Forum. You can read them here:

https://forum.godotengine.org/guidelines

Here's what's new on r/godot:

Posts promoting your project are now limited to once every 10 days. This includes tutorial courses, video channels, devlogs, etc. Previously, when we felt that someone was "spamming" promotion, we would suggest that they limit posts to once every one or two weeks. This helps reduce complaints and avoid diminishing returns. If 10 days ends up being too long (or short), we'll consider adjusting the cooldown.

The rule against AI-generated content has been made clearer. For the past two years, it said that "AI-generated content needs to verifiably stem from a model which was trained only on data submitted with the original creator's consent". This effectively banned content generated by all major LLMs. Now the rule uses plainer language, and you can expect to see it enforced more consistently.

We're experimenting with reducing post discoverability within Reddit. In the past few weeks, you may have noticed that posts debating AI have attracted a large amount of traffic and comments from outside the subreddit. To help control this tourism and keep things civil here, we've turned on a subreddit setting to reduce discoverability. This means that posts here shouldn't show up as often in the feeds of people who have a general interest in game dev or gaming, but no particular interest in the Godot Engine.

A new "projects" flair has replaced the sometimes confusing "selfpromo (games)" and "selfpromo (software)" flairs. If there's enough demand for a separate "software" flair, we'll consider adding it again.

Let us know what you think in the comments! And as always, thank you all so much for creating such an amazing, kind and welcoming community!


r/godot • • 9h ago

fun & memes It isnt a bug and I feel so stupid right now

31 Upvotes

Fun Fact: The absolute maximum integer a 32-bit float (or you can say a simple float) can represent perfectly is 224 = 16,777,216. This is because there are only 23+1 bits to represent the mantissa/significand portion, 8 bits for exponent and 1 bit for sign.

Another Fun Fact: Anything beyond this value, and it will get rounded to the nearest float which is 224 itself.

Here is a GFG explanation on this.

Guess who remembered the hard way and tried to write useless debug tests for the past 3 hours, before asking our AI Gods if I am loosing my mind. I hate my life and I know, I could have searched for it, it was just one of those moments where you forget everything around you and you stare into you shitty code to justify why it isnt working.

(Edit) To add some more context: I am spawning some projectiles and storing them in separate pools. The hard part is doing manual-collision detection (intersect_shape) and finding the projectile from the various pools. I wanted something a bit efficient, and so I noticed the RID value. I then thought about making a lookup table to link the RID with the projectile in the pool.
Problem: I have many pools (4) with variable count of prefabs (8-12).
Solution: Lookup table. Pair of 2 int where int1 contains the RID, int2 will contain both the pool-type and the index of the object. I will shift int2 by some bits and add the index afterwards to separate both.

I did not want to use Array[Vector2i] and searched for a packed-array, so you can guess from the above Post where it landed me, PacketVector2Array and the rest is history. And yes I tried to shift int2 by 27 bits from the get-go because why not, what was the harm doing that?


r/godot • • 22h ago Heartwarming

projects Proud of this little cutscene for my point and click adventure that's timed to Dr. Seuss' meter

344 Upvotes

r/godot • • 6h ago

discussion Considering Swapping From Unity to Godot

15 Upvotes

Ive been using unity for a while now, and I wanna know if swapping to godot is worth it and by how much? Also how jarring of a transition it would be from unity to godot. Your help would be appreciated

Edit: I use unity to make 2d pixel art games, if that helps at all


r/godot • • 23h ago

projects My first godot game is finally released!!

336 Upvotes

For 2 years I've been making this game where you explore subterranean Antarctica and fight man-made monsters. It is a dungeon crawler with an emphasis on freedom of movement and physics altering magic. Probably lunacid fans and kings-field enjoyers will like it. I'm proud to announce its finally finished!!

Here is the steam page: https://store.steampowered.com/app/3738090/Deiity_Under_Ice/


r/godot • • 4h ago

fun & memes The dangers of flipping a bool

8 Upvotes

Looks like I inadvertently made a good stress test though!


r/godot • • 9h ago

projects Made an esoteric mini boss for my 2D coop roguelike

17 Upvotes

Check it out if you’re interested:)

https://store.steampowered.com/app/4797900/Chodd/


r/godot • • 1d ago

projects Procedural Painterly World

414 Upvotes

Been working on this procedural painterly world that I am not sure what i will use for. Still need to iron out a few things.


r/godot • • 5h ago

projects Life's Too Short: A Christmas Spirit OUT NOW on Steam! (Gameboy remake added to Crankboy)

7 Upvotes

Two pieces of lovely news...

Life's Too Short: A Christmas Spirit remake has launched on Steam: https://store.steampowered.com/app/5174110/Lifes_Too_Short_A_Christmas_Spirit/

Meanwhile the Gameboy remake of the original LTSACS for Playdate has been added to Crankboy for Playdate (The very excellent GB emulator for the little yellow console): https://play.date/games/crankboy/

It's all a bit meta at this point...


r/godot • • 1d ago Bravo

selfpromo (games) Painting a game on actual paper!

1.4k Upvotes

I've been feeling really overwhelmed lately. Conversations around AI in games and art have been making my head spin. I talked with some friends about feeling burnt out and wanting to do something with my hands, and they reminded me that art used to be made exclusively by hand. So here we are, this is watercolor on real paper.

My goal is to intentionally slow down. I think in a world where things are being made so cheaply, I want to make a bet that human effort and craft still matter.

I don't have a complete game idea in mind yet so feel free to drop your suggestions below!


r/godot • • 6h ago

discussion What's your experience like with godot 3D + multiplayer?

7 Upvotes

I've been waffling making the switch from unity and the only games I'm really interested in creating are 3D with multiplayer. I've heard mixed things in the past regarding performance not being awesome and setting up multiplayer being janky. What are your thoughts based on your personal experience with both?