Godot

!godot

@kbin.social
Create post
How to modify/paint a texture in a 3D model during run-time?

How to modify/paint a texture in a 3D model during run-time?

Hi, I posted my question in Godot Forums but I fear it's gone quickly into oblivion but I've been stuck on this for days, would love some help!
https://godotforums.org/d/36536-how-to-use-set-pixel-in-godot-4

func _create_texture():
    var pixels = 256
    #tex = Image.create(pixels, pixels, false, Image.FORMAT_RGBA8)
    imageTexture = ImageTexture.new()
    tex = Image.create(pixels, pixels, false, Image.FORMAT_RGBA8)
    imageTexture.set_image(tex)
    mesh.material_override.set("albedo_texture", imageTexture)

func draw_on_sprite(coords):
    tex.set_pixelv(coords, Color.RED)
    imageTexture.update(tex)

I can get the UVs alright, the mesh becomes black when the texture is set in _create_texture() but it never changes color. If I get_pixelv after setting it it does show that it's now (1,0,0,1) so I'm not sure why it's not showing in game. Any clue?

There seem to be quite a few changes from Godot 3 to Godot 4 in this area so most of the info online about it is outdated now.

Assessment Examination (By: Wenderly Games)

Assessment Examination (By: Wenderly Games)

is Godot (or more specifically, GDScript) suitable for coding a game in the style of diablo, grim dawn, or path of exile?

is Godot (or more specifically, GDScript) suitable for coding a game in the style of diablo, grim dawn, or path of exile?

hoping someone familiar with both the engine and the genre of izometric ARPGs can chip in. I'm embarking on a project to create a game of this style, but I've read that GDScript, while more intuitive, and perhaps easier to learn, is "slower" than either C# or C++. since I'm truly starting from scratch and would have to learn the coding language along with the engine, it would seem to make sense to learn whatever will best suit the type of game I am making, but if the difference is negligible, then the simplest language to learn and write in would win out.

Can anyone offer any insight?

Summer Fediverse Jam

Summer Fediverse Jam

Open link in next tab

Summer Fediverse Jam

https://itch.io/jam/summer-fediverse-jam

A game jam from 2023-07-14 to 2023-07-30 hosted by Ategon. Welcome! Welcome to the summer fediverse jam! This is a nine day game jam over the course of two weekends + a set of weekdays where you need to make a...

Godot around the fediverse!

Godot around the fediverse!

With all the people coming in I wanted to highlight a couple other Godot communities on different websites in the fediverse that you can interact with from kbin!

godot@programming.dev | Direct Link (shows all posts) - A Godot forum on lemmy

gamedev@lemmy.blahaj.zone | Direct Link (shows all posts) - An general gamedev forum on lemmy

@godotengine@mastodon.gamedev.place | Direct Link - The official Godot account on mastodon (the non direct link seems to not work normally but it works if you open it in a new tab)

All of these can be followed and interacted with without leaving kbin as both lemmy and mastodon federate with it

What are some of the most impressive games or projects you've seen developed with Godot?

What are some of the most impressive games or projects you've seen developed with Godot?

Continuing with the daily questions to start some discussion. What are some games made with godot that you really enjoyed or thought were impressive?

Kbin posting guide

Kbin posting guide

Interested in posting something here? Heres a quick guide for how to do so!

If you are using kbin you should see a plus in the top right of your screen. Hovering over this brings up options for adding many different things such as a link, an article, etc.

Clicking add new link brings up options for adding a link and then text to go along with it that which will then be posted to the threads for the magazine you choose. (If you click the plus while browsing the godot magazine it will default to selecting godot, etc.)

Clicking add new article creates a new post in the threads which is essentially the same as add new link but doesnt have a spot to enter a url.

add new photo is the same but puts priority on an image upload on the bottom of the creation area and doesnt allow you to enter a text body or a url.

Clicking add new post creates a new twitter-style post in the microblog rather than having it get created in the threads. Kbin has a combination of both twitter mechanics (which federates (aka you can see posts from there and they can see posts here) with another fediverse website, mastodon) and reddit mechanics (which federates with another fediverse website lemmy)

Feel free to create some posts to get some activity going in here for the people migrating over!

edit: typo

What is your favorite thing about Godot?

What is your favorite thing about Godot?

Figure we can kick off some conversation here with a question! I personally really enjoy how small projects in it are (a jam game I made in Godot is about 10x smaller than one I made in Unity)

Dev snapshot: Godot 4.1 beta 1

Dev snapshot: Godot 4.1 beta 1

Open link in next tab

Dev snapshot: Godot 4.1 beta 1

https://godotengine.org/article/dev-snapshot-godot-4-1-beta-1/

Switching gears into the bug-fixing mode, here's the first beta of Godot 4.1, and a great opportunity to try the new version of the engine ahead of the official release.