Godot

7706 readers
1 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 3 years ago
MODERATORS
351
0
submitted 2 years ago* (last edited 2 years ago) by Eibriel@sopuli.xyz to c/godot@programming.dev
 
 

I'm so happy about how this script that generates a roller coaster track from a Curve3D turned out!

You can find the code on GitHub.

Be sure to download track.gd, track_generation.tscn and meshes/track_sleeper_rollercoaster.res and fix the path to the mesh on the code.

The roller coaster will be part of my game horror Delta Park , adding to the creepy atmosphere.

352
 
 

Link to the PR that was merged for this: https://github.com/godotengine/godot/pull/97257

353
 
 

(this is my first post on lemmy, I hope this works like I expect it does. critique and advice are very welcome and appreciated)

a cartoon fennec swinging a giant brush, painting a rainbow

fennecs ๐Ÿ”—

Hello, I'm tiger (aka jupiter), and since earlier this year I've been working on a free, libre, and open source Entity-Component System in pure C# that aims to minimize boilerplate and dependencies, works without code generators, and give decent flexibility and performance.

Who is it for?

ECS are an architecture to apply game or other logic to large numbers (ballpark: tens and hundreds of thousands) of objects or actors in an interactive game or simulation, and ECS libraries usually enable expressive composition that go beyond the the intrinsic optimizations of keeping data close together in memory.

fennecs is lightweight and works well with Godot 4.x, The NuGet package is going into its 0.6.0 release soon (about 20 releases so far - see the roadmap)

fennecs is made to operate in just about any sufficiently advanced .NET environment (.NET 8 or later), sadly this precludes using it with Unity for about another two years - but it was created after I spent around five years working with DOTS and coming to the conclusion that it is just too heavy on boilerplate for small teams or solo developers.

There are two simple demos for Godot, a demo for the Stride engine, and when I or one of the other contributors get around to it, demos for raylib_cs, Flax, MonoGame, and others are coming, as well as more demos for Godot.

Possibly ShapeEngine and especially Murder Engine are first in line, though.

What would I like?

Easy - I'd love to hear your thoughts or questions about it if you find the time. It means the world to me to hear other viewpoints or discuss features and contributions with the wider public.

Performance?

Funny you should ask. Everywhere I post, somehow with ECS this appears to be the first question.

Even though top performance isn't the focus (minimum boilerplate is!), thanks to its compact memory layout, fennecs is doing quite all right in Doraku's synthetic C# ECS benchmarks; of which you can find an excerpt on fennecs's github. Performance hardliners can rest assured that another optimization pass comes with the 0.7.x release cycle, after the SIMD interfaces are made available.

Unique traits

fennecs is relational, allowing grouping entities by data-backed relations with other entities (bob owes alice) that are automatically cleaned on entity despawn; by link objects (in physics world P); and soon by arbitrary typed secondary keys (version 0.6.x).

Its Stream Views allow code to access the contiguous storage components are stored in in various ways (including just the raw memory to submit to GPUs or game engines),

Batch operations can modify whole groups of entities or components at once, in a fast and intuitive way.

a cartoon fennec splashing purple paint onto the screen with the word "BLIT" written into it

The SIMD operators currently in development are likely to keep fennecs at the forefront for a wide variety of typical tasks, such as integrating positions and accelerations, matrix transforms, increments, etc.

SIMD ops internally use AVX2, SSE2, and AdvSIMD intrinsics to vectorize their operations where possible, and more complex operations can be composed by sequential ops.

This field is where fennecs' "low boilerplate" design goal doesn't clash with actual high performance and systems programming, and it is great for the optimization stages in game development.

Each release has close to 100% unit test coverage, and because it's pure C#, debugging, inspection and refactoring tools work very well with it.

One last, hidden advantage of being pure C# is that fennecs keeps its data in the .NET domain. Potential performance drawbacks of this are compensated very well by having to marshal function calls and component data back and forth much less frequently than many native-code ECS with C# bindings would.

354
355
 
 

It all started with the unofficial godot discord admin dealing with some chuds and people turning their ire towards the Godot Foundation staff instead.

Since Godot has stubbornly remained on the Xitter nazi bar as a valid space for PR and social media interaction and dared to promote the Wokot hashtag and reiterate their progessiveness, the reactionaries infesting that space are now piling on their socials and harassing everyone they can get their eyes on.

Examples

Anyway, solidarity with the targets of harassment. I hope they finally realize that Xitter is a lost cause.

Update: Godot is being review-bombed

Fortunately the reactionary backlash seems to be having the opposite effect

356
0
"Go Woke, Go... uh..." (ttrpg.network)
submitted 2 years ago* (last edited 2 years ago) by toAIC@ttrpg.network to c/godot@programming.dev
 
 
357
 
 

Gets caught being racist in the past

People in turn thought it was the official discord server and that Xananax an official member, and started harassing the actual Godot staff. They are forced to ban people who appear to be harassing them for no reason. Today they posted a statement to clarify

Update: Statement from Xananax

Looks like this is actually a reactionary response to them stopping hate speech in their server.

358
359
360
 
 

Hello! I just released my first solo game on Itch called "Babel's Echoes"! Typically I work with my team, but for this project I went (mostly) alone which was quite daunting to me.

I have been working on this game in my spare time for nearly a year now and am so happy to finally put it out there. It is a 2D puzzle game where the goal is to make it to the end of the level while stepping on each tile ONLY ONCE.

I came to Godot from Unity and honestly it is a breath of fresh air. This project was one of the main ways I learned this tool and there are so many things I know I did wrong while I was learning. But that is where all the fun came from!

This was also my first project to seriously try localization and do language support. So this game has in game options for English, Spanish, French, German, Esperanto, Hindi, Japanese, and Ukrainian! Granted I don't speak any of these (other than English) so just hoping I got them right enough with online translators haha.

If you want to try it: Find it here on Itch.io

361
 
 

I was doing steamdeck game dev work on my pc and need this table so I made one. Let me know if there is any mistakes.

362
 
 

363
364
 
 
365
366
 
 

Hello there, I'm Emi from the Godot Foundation. Someone from this community made a PR long time ago about adding the lemmy community card. I'm wondering if there is someone willing to take over the PR so we can add you as a community supported community: https://github.com/godotengine/godot-website/pull/662

I would really like to see more activity in platforms that are not as closed as Reddit, so it is nice to see programming.dev hosting such discussions.

Anyway, just wanted to say hi :)

Cheers!

367
368
 
 
369
 
 

Huge boost for Godot development!

Screenshot of their statement

370
 
 

I'll be working on my first game jam game, courtesy of my friends' brilliant ideas.

I usually stay out of them because I never could come up with any mechanics, but I asked my non game dev friends and they supplied me with some stuff to bound ideas off of.

I'm excited to use Godot because of how quickly prototyping can be done, and my idea is no more than a prototype really.

371
 
 

Like stated in the title I started a YouTube channel a while ago but due to personal reasons I hadn't time/energy for this lately.

This was the first Video I uploaded, still in 3.x but I think a lot of this is still relevant for 4.x

I'm planning of a "what I've done in the meantime" video but not sure yet.

372
 
 

Godot 4.1 Beta 2 has released, with the full 4.1 release coming early July.