Godot

5885 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 1 year ago
MODERATORS
176
177
 
 

Is there any way to run a given string at runtime? I have tried to write something like this by creating a new node and attaching a new script to it, and I have gotten this far:

var new_node:Node = Node.new()
add_child(new_node)
var new_script:GDScript = GDScript.new()
new_script.source_code = "extends Node\nfunc run():\n\t" + script_to_execute
print(new_script.source_code)
new_node.set_script(new_script)
pressed.connect(new_node.call.bind("run"))

This gets an error (but not a crash) when hitting that last line:

emit_signalp: Error calling from signal 'pressed' to callable: 'Node::call': Method not found.

This is pretty weird, as a Node should always have access to the method "call". Does someone have an idea on how to solve this / their own idea on how to implement runtime code editing and executing?

178
 
 

Before the humble bundle came out, I bought the GameDev.tv "complete" Godot course - I had a good early bird discount since I've used them for Unity.

Over the past few years, I have completed the 2D, 3D, and several of the RPG intermediate courses for unity as well as a Blender course so was super excited for this new one!

And then was super disappointed.

I start with the 2D course every time and this one was...hollow. Super empty. Maybe a quarter of the content as the Unity course with a lot of basic things missing and some really bad practice promoted. I did the whole course on 1.25x speed and still had to skip through a lot of waffle.

I'm now doing courses for free on Youtube and have learnt far, far more.

It really is a shame as I'm a fan of GameDev.tv, but they really missed the mark with the Godot offering.

EDIT: clarity

179
 
 

A surprise to be sure, but a welcome one. Very excited to have another YouTube juggernaut in the open source ring!

180
181
182
 
 

Thought people might be interested. I'm tempted to get the shaders course which is the only one in the $1 tier.

183
32
submitted 7 months ago* (last edited 7 months ago) by popcar2@programming.dev to c/godot@programming.dev
 
 

Great fixes here. I've been looking forward to some of the fixes like Camera2D's frame delay and code completion improvements.

Oh and they finally fixed the profiler which was bugged and didn't report your worst-performing scripts.

184
 
 

A few weeks ago, I started on a basic tutorial for developing games in Godot: "Ultimate Instruction to Godot 4" on YouTube by Clear Code. My goal was to not just finish the tutorial, but to build on it and create a small game with semi-professional standards. Here is said game, my first attempt not only at developing in Godot, but also my first attempt at creating a game.

If you know what you are doing, a playthrough is around 20-40 minutes, more on higher difficulties. On easy, it is possible to be reckless, while on higher difficulties, the game forces you to be quite considerate of your resources.

As this is my first game ever, I would greatly appreciate any and all feedback. I hope that, if you try it out, you will have as much fun with the game as I had making it!

185
 
 

Hi! I've been making games for a little while, though nothing too fancy - mostly mobile platformers, delivery games, and visual novels. I recently moved from Unity to Godot and finished the "Complete" Godot 2D course on Gamedev.tv.

I want to challenge myself and have a really strong design for an AR mobile game. I have never programmed an AR app before. I have found dozens of courses/tutorials for Unity, but none for Godot.

Does anyone have any suggestions? I've read the documentation, but would much rather a hands on tutorial or course.

186
187
188
 
 
  • Pinbot
  • District Panic
  • SimpleDungeons
  • Frood Robotics
  • Desvelado
189
190
 
 

Hi everyone! As you may recall, in one of the previous videos, I was creating snow particles in a 3D scene. This time, I would focus on a similar effect, but instead, it would be in 2D, and it would be rain particles.

191
 
 
192
 
 

cross-posted from: https://programming.dev/post/12340077

I made a mod launcher for classic Doom (specifically, GZDoom) because I wasn't a fan of what currently exists. CleanDoom focuses on simplicity and usability.

If anyone here is a Doom fan, give it a try and let me know what you think!

This may not sound that relevant to this community, but I made this with Godot 4.2, so I thought I'd share it here too.

193
194
 
 

Steamdeck Cassette player thingy I have been making with Godot.

195
196
197
198
 
 

Amata has a new gameplay trailer on Steam! Lots of new updates recently as well :D. Wishlist and try the demo if you like what you see!

Short trailer: https://youtube.com/shorts/ys_J1pymrpc

Steam: https://store.steampowered.com/app/1841160/Amata/

Discord: https://discord.gg/famAakEBJX

199
200
 
 

Hey everybody! In this video, I would like to demonstrate how we can enhance the effect that we know from the very first video about shaders that I recorded for this channel. The enhancement will consist of displaying something like continuous plasma instead of rippling lines, for which we will use very similar calculations. Let's get started.

view more: ‹ prev next ›