1
56

A game jam for the fediverse community from July 14th to July 23rd! Anyone is welcome to join and all of the main communication about the jam will be taking place within the fediverse

Open sourcing games you make for it is recommended so people in the community can learn from what you did. Youll also be able to show off your game around the fediverse communities while the jams running and after it ends

More information can be found in the linked jam page as well as the button to hit to sign up

Hope you enjoy! :)

Team finder thread

2
50
submitted 2 years ago by simple@lemmy.world to c/godot@programming.dev

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

3
33

Hi everyone! I think that a simulation of a raindrop trickling down a window is a very nice effect, and if there are more of them, they can be both highly useful and visually striking in games. So, let’s explore how this shader works from a programming perspective.

4
54
5
158

I'm really excited about this.

6
35
7
44

Export range (used to create a box in the inspector for choosing a number within a range) can have extra things added to it in any additional arguments after the main 3.

One of these is the addition of a suffix that can be set to whatever you want

8
44

Then you can easily move to bookmarks using the go to button at the top or using ctrl+b and ctrl+shift+b

9
-11
submitted 4 days ago* (last edited 3 days ago) by john89@lemmy.ca to c/godot@programming.dev

Edit: After seeing the bandwagon, dogpiling reaction from the community for simply trying to donate, I wont bother donating to this project even if they support cryptocurrencies.

Good job, assholes.

10
42

If you also just have a large block of text it lets you see a large amount of the text instead of only a small part at a time

11
20

Hello everyone! This is the first video I'm recording in 2025, so I hope it turns out well. This time, I’d like to show how we can use a shader to create a digital clock, which we will then control using a script. So, let’s get started.

12
39

you cant nest export_subgroups within each other but you can use slashes for nesting

13
57

You will need to close and then reopen the node to see the changes and icon must be put before the class declaration

14
44
submitted 1 week ago* (last edited 1 week ago) by Smorty@lemmy.blahaj.zone to c/godot@programming.dev

i wanted to add a cool background to some game i'm making for a friend, so i had a lil fun with glsl and made this.

i uploaded a short screen recording on all the parameters, but apparently catbox doesn't work well with that anymore. So I replaced it with this image.

here is the code, use it however u want <3

shader_type canvas_item;

uniform sampler2D gradient : source_color;

uniform vec2 frequency = vec2(10.0, 10.0);

uniform float amplitude = 1.0;

uniform vec2 offset;

// 0.0 = zigzag; 1.0 = sin wave
uniform float smoothness : hint_range(0.0, 1.0) = 0.0;

float zig_zag(float value){
	float is_even = step(0.5, fract(value * 0.5));
	float rising = fract(value);
	float falling = (rising - 1.0) * -1.0;
	
	float result = mix(rising, falling, is_even);
	return result;
}

float smoothzag(float value, float _smoothness){
	float z = zig_zag(value);
	float s = (cos((value + 1.0) * PI)) * 0.5 + 0.5;
	return mix(z, s, _smoothness);
}

void fragment() {
	float sinus = zig_zag(((UV.y*2.0-1.0) + smoothzag((UV.x*2.0-1.0) * frequency.x - offset.x, smoothness) * amplitude * 0.1) * frequency.y - offset.y);
	COLOR = texture(gradient, vec2(sinus, 0.0));
}

if u have any questions, ask right away!

15
50
Godot Rusts progress of 2024 (godot-rust.github.io)
16
38

This shows up when there’s no value and disappears when you start to type

Works for Strings, Arrays of Strings and PackedStringArrays

17
12
submitted 1 week ago* (last edited 1 week ago) by GammaGames@beehaw.org to c/godot@programming.dev
18
22

It removes what you set as the prefix from the name for the variable in the inspector

19
13
submitted 1 week ago* (last edited 1 week ago) by Ategon@programming.dev to c/godot@programming.dev

You can nest as many subfolders as you want using this

20
129

From the description: "After years spent in Unity I have finally made the decision to move to Godot starting next year."

21
28

Hey everybody! And welcome to the last tutorial of this year. Of course, this is definitely not the absolutely final tutorial, as I will continue with a new batch of learning materials in January. So, how are we ending the year 2024? We will be implementing blobby objects, also known as metaballs. Yes, exactly what you see on the screen right now. So, let's get started.

22
51

@export_group("Text") is used to make a group and you can break out of the group using @export_group("")

23
36

This pops it out into a new window that you can move around separate from the main window (e.g. onto other monitors)

24
68

in this case I selected res so its showing everything in res on the right

25
129

*(unless the subfolder explicitly has another color set)

Useful for finding certain folders quicker

view more: next ›

Godot

6071 readers
109 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 2 years ago
MODERATORS