Godot

6007 readers
19 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
251
252
 
 

I would like to be able to view mp4 files in my Godot game, but I can't seem to get this extension to work properly. I hear sound, but I do not see the picture.

I have gotten the built-in video player to work and it seems to work quite well. The downside is that it only supports Ogg Theora, which is unfavorable for my use case.

Does anyone have experience with viewing (mp4) video files in Godot 4?

Edit: In case it matters, I run Godot 4.2.1 on linux.

253
 
 
  • Keep It Running
  • Sealed Bite: Extended
  • W4 Cloud
  • Inside the Machine
  • Honk of Heroes
254
255
256
 
 

Hi everybody! If you watched one of the previous videos in which we created a square grid, you might have wondered how difficult it would be to achieve a similar effect with perfectly aligned hexagons. There are certain differences, but the algorithm is not extremely complex. Let's get into it.

257
258
259
 
 

Long overdue post on the potential for using Godot for GUI app development and why I think it's pretty cool!

260
 
 

Wanted some opinions on ways to set up triggering "on-kill" effects. In short: The player can have abilities that trigger effects whenever they shoot and kill an enemy. I'm also looking to extend abilities to enemies as well, so can't just hardcode a player reference.

Currently I'm doing it like this:

  • Enemy signals that it died -> the bullet receives this and signals that it killed Enemy -> the player's weapon receives this and signals that it's bullet killed Enemy -> the player receives this and triggers it's on-kill abilities.

It simultaneously feels like a good way to go about it but also a long mess. The other option I've considered is:

  • Each bullet has a reference to it's owner (eg. player). When an enemy dies to a bullet, it looks to the bullet's owner reference and tells it to trigger it's on-kill effects.

This way is a lot simpler to write, but is error prone eg. In cases where the bullet's owner is killed while their attack is mid-air.

Thank you all!

261
 
 

Hi everybody! In this video, I would show how we can set up a glow effect on a selected sprite in a 2D project. Such a shader may come in handy if we want to understand how the glow calculation works, or if we decide to work without setting up a global glow in the WorldEnvironment node. Let’s do it.

262
 
 
  • RYbot
  • No Gasoline
  • Pillory
  • Fallacy Quiz
  • Stunt Xpress
263
 
 

After two years of development, W4 Games is proud to announce the first beta release of W4 Cloud, our open-source backend for online and multiplayer games optimized for the Godot Engine.

W4 Cloud has been built around the same concepts as the Godot Engine: simplicity and flexibility.

As part of our commitment to open-source, we have made the initial public release available under the GNU AGPLv3 license.

~~Note that it seems this will only be free & open source initially, but will probably move to a paid model on release. W4 is a for-profit company, after all.~~

Edit: Removed some speculation, I misunderstood the "initial public release" part and assumed later releases would not be foss

264
265
 
 

Hi everyone! This is a continuation of my video about polar coordinates in shaders. If you haven't seen it yet, I definitely recommend watching it first; everything will then be a bit clearer. The link should be included in the description. However, I will also mention the basics in this video. So, let’s make some spiral effects.

266
267
268
 
 

I'm remaking the ghost minigame from Nintendo Land. (Nothing is public just yet.)

I've called it "Ghost Game" during early development because it's simple and I like the alliteration, but there's already two games on Steam with very similar names.

I'm currently considering these names:

  • Ghost Game (just use it even though other games have similar names)
  • Ghost Mansion
  • Spectre Mansion
  • Haunting Hijinks

I'd love to hear feedback on these names and get ideas for other names I should consider. Thanks!

269
 
 

Dot Hop launched today on steam! It has some challenging grid puzzles that I think folks will find satisfying.

This game started as a puzzlescript game for the Fediverse Summer Jam hosted by the p.d community - I reimplemented it in Godot, added themes and many more puzzles, and finally released it last night/this morning.

The game's source is available on github and it can be purchased on steam and on itch.io.

Hope you enjoy it, and let me know what you think!

270
 
 

Lots of great changes this dev version, but the big one for me is that they improved the stability of pixel-art. There shouldn't be any more weird jittering and 1px offsets.

271
 
 

When I first played New Super Mario Bros Wii, I was fascinated by how the game implemented secret areas in game, where the player could collide with a fake wall only for it to vanish and show what's behind it.

Since then, I always wanted to make a game with secrets like that and today I finished making a video about how I've done it! The way I've done is pretty simple, but also makes sure that the secret areas are easy to implement while level designing.

Secrets are fun, more games should have them!

272
273
 
 

Hi everyone! This time, I would focus on what truly looks like a dev log, as the title of this channel suggests. It will be about shaders again, but instead of creating it from scratch, I would dissect a fog effect as we implemented it in our game.

274
 
 

A massive asset bundle by Kenney is free right now on itch.io. It's only available for 9 more hours as of posting.

All included assets can be previewed here: https://kenney.nl/data/itch/preview/

Includes 2D, 3D, and audio assets!

275
 
 

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

Kingdom of Squares is my entry to the Egypt Game Jam 2024, it's a 2D archery game where you defend a fortress.

It was made in only 5 days, any feedback welcome!

view more: ‹ prev next ›