Godot

6007 readers
14 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
226
 
 

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!

227
 
 

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.

228
229
230
 
 
  • Pinbot
  • District Panic
  • SimpleDungeons
  • Frood Robotics
  • Desvelado
231
232
 
 

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.

233
 
 
234
 
 

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.

235
236
 
 

Steamdeck Cassette player thingy I have been making with Godot.

237
238
239
240
 
 

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

241
242
 
 

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.

243
244
245
246
 
 

I finally published my first addon, and it hit the asset library today!

Log.pr(...) and Log.prn(...) are intended as drop-in replacements for print(...):

  • colorizes the output data based on type
  • recursively prints dictionaries and arrays
    • (with a sane max count, i.e. not printing 1000 entries in an array)
  • adds a script-name prefix and line-number before each log
    • with different treatment for [src:12]: vs <addons:12>: vs {test:12}: scripts

For me this helps reduce wall-of-text noise and eye strain while reading logs at a glance.

I created a docs site via docsify, and the code is on github.

I'll be adding support for more types and customizing the color choices soon. You can opt-in to pretty-printing with your own objects by implementing a to_printable() function. I'm brainstorming ways to add support for not-your custom types as well (for example, Pandora Entities) - I have a few ideas but nothing implemented yet.

I've been using it in my own projects for a few months now, so it feels ready to share - I'm hopeful that others find it useful!

Try it out, let me know what you think!

247
 
 

Follow @godotengine@mastodon.gamedev.place for more fun ๐Ÿ˜Š

248
40
submitted 9 months ago* (last edited 9 months ago) by mac@programming.dev to c/godot@programming.dev
249
 
 

Godot web socket client is not receiving anymore updates from Revolt web socket server (https://developers.revolt.chat/stack/bonfire/establishing) after first data is received

first data is an Authentication success message:

{
  "type": "Authenticated"
}

This success message comes when a successful token is received.

Since there are no updates and you cannot send any data after initial connection (data_received never called again, so put_packet() not working apparently), the token will have to be in query parameters:

wss://ws.revolt.chat/?version=1&format=json&token={token}

in order to even receive that success message.

An issue relating to web sockets was opened: https://github.com/godotengine/godot/issues/27560

The user claims that one of the headers causes the connection to cease.

The problem header is Connection: close, Upgrade

    GET / HTTP/1.1
    Pragma: no-cache
    Cache-Control: no-cache
    Host: echo.websocket.org
    Upgrade: websocket
    Connection: close, Upgrade
    Sec-WebSocket-Key: HKWU1xOVV6PP6HXjcIWMDQ==
    Sec-WebSocket-Version: 13

    HTTP/1.1 101 Web Socket Protocol Handshake
    Connection: Upgrade
    Date: Sun, 31 Mar 2019 19:09:01 GMT
    Sec-WebSocket-Accept: 0IHc3riAKJz52YmkLVcWrDHvaYs=
    Server: Kaazing Gateway
    Upgrade: websocket

IMPORTANT!!

What SHOULD happen and what happens on other clients like websocketking, piehost, or this one is receiving a READY update

the big issue:

connect_to_url() is the only thing that sends data or the connection closes or a protocol error

It would be of great help if anyone could give any little piece of knowledge or suggestion on this. code

250
view more: โ€น prev next โ€บ