How I used ChatGPT and Stable Diffusion to make a whole video game! - AI for Godot Game Dev

preview_player
Показать описание


How to Install and Use Stable Diffusion (June 2023) - Basic Tutorial

----------------------------------------------

Did you like this vid? Like & Subscribe to this Channel!

Рекомендации по теме
Комментарии
Автор

Everyone is freaking out that AI will make all of our jobs obsolete, but in reality I feel this is just an chat partner that people who already know what they do can use to structure their thoughts better. Like if you talk to a colleague about something you are working on... But Gamedev is a lonely journey and we don't have friends :D

feyternerdworld
Автор

This is so fucking cool. At this rate we could have so much more solo devs (or just solo creators in general) taking on more and more ambitious projects while maintaining full control with their creative vision. This also gives much more emphasis to knowing the theory of *how* exactly things end up good (composition, storytelling) than to the skill of being able to execute them, since the AI helps with a lot of the heavy lifting.

lilowhitney
Автор

That's amazing. I'll have to give it a try with Unity.
Update: It works surprisingly well in Unity. I asked it, for example, to write code that would bank on object based up the rate of turn and it came back with usable code. It even commented on the necessary components of that game object (e.g. RigidBody). Impressive!!!

russellthorburn
Автор

What I love about ChatGPT the most is that, with programming as an example, you can treat it as "a shortcut for quickly finding your solution" without having to dig through Stackoverflow or random google pages. I solved many TypeScript issues with complex types and some random code logic, SASS, Unity scripts and even Laravel!

Obviously, it won't give you a ready-to-use solution right away, some code errors might appear, but it's still great, because it will point you in the right direction. It's like having a good buddy sitting next to you, saying: "here, try this code, __maybe__ it will work, I haven't tested it yet, play around with it". At some point, something will just "click" and you will figure things out even faster.

It only takes a properly asked question with some good explanation and extra sample code. This is a huge workflow booster - a totally new experience...

DarkStoorM_
Автор

I was looking into this, too. I'm going to have to really play around with this!

DarthGk
Автор

Tons and tons of knowledge in one video! Great content mate! Please keep more videos coming...

artlyroo
Автор

I think it's gonna be a companion for people that know how to use prompts. I had an idea for a 2D survival game that was similar to Tarkov. GPT came up with a title and plot. PlaygroudAI made the sprites for a separate project I'm working on.

CallMeMilenko
Автор

I'm actually currently trying to make an entire game with only AI generated art. I'm a programmer by trade and I have plenty of experience with Godot, so coding is not my problem, but art is always somewhat of an issue for me. I can do *some* art, mostly pixel art and UI elements, but I was curious if I can get good results using AI...

The short answer is yes, kinda...

the long answer is... well... The results are ok, in some cases amazing but it's finicky. I sometimes find myself generating, editing and re-generating images for literal hours. I mean good 2-3 hours for something, that an artist and a ui designer would give me in much higher quality and in .psd or .kra files with layers in about 30 minutes... On the other hand, especially with backgrounds, you can get amazing results for roughly the same amount of time as it would take an artist, or less... the issue really becomes style drift then. The more pics you generate, the less artistically similar they will eventually be. You'll start with one idea, and while looking at hundreds of generated examples, your old ideas become outdated and you start picking backgrounds by new and more interesting aesthetic qualities... which means you end up with a mess of backgrounds, or you can re-do it all over now that you have a "better?" sense of direction... All things that you wouldn't deal with at all if you had an artist... not to mention an artist works in parallel with you, but you yourself can only work sequentially...

These AI tools are fantastic, especially for rapid prototyping and sparking imagination. But to really get a grip on the end result, you'll end up spending actual time and effort on using it. For a guy like me that likes working solo, especially when it only comes to hobby projects, it's an investment I can easily make. But for any serious projects, you're going to waste ton of time using AI yourself. Team up with an artist, someone who knows what they are actually doing, and you're going to produce a much more coherent and better product.

Anyway, my game idea is not really art-centric. The main game design is mostly experimental stuff that I'd like to see made. It's for an android game too, so I'll see how well that goes xD

Hazarth
Автор

You finally finished a project! Each new video is better than the last!

frogger
Автор

I've taken this idea and started creating a top down RPG with the intent of creating a pokemon-like game.
So far, I've spent 2 weeks without ChatGPT failing to get anything done, and 4 hours with Chat GPT creating a player character node which switches between keyboard or controller inputs and checks to see where it can navigate based on whether the adjacent tile is occupied, too low or too high.
It straight up told me when I was trying to use the wrong node for this too.
It started with a KinematicBody2D node to start with and when I said I wanted it to go up and down ramps, it changed to an InstantMesh3D with a 2D sprite using Billboarding to meet my purposes, and even explained its reasoning and commented its code for me to check it.

cptncutleg
Автор

Really nice experiment, keep them coming xD

mtga
Автор

Awesome video man! The only thing I think is missing is some simple AI generated background music, but that’s just a suggestion :)

fledits
Автор

That said it was a pretty cool little game you made. If it wasn't explicitly stated that it was produced with AI's help I probably wouldn't have noticed it.

anispinner
Автор

I tried using chatGPT to help with GDscript, but it is not good indeed. It writes methods that are from another classes, doesn't really know what parameters a method takes. I believe the model had low amount of samples to work with

TheEpicjellyfish
Автор

This was so so so cool, thank you for doing this experiment!! This is incredibly inspiring !!!

Rjmckinnon
Автор

AI doesn't steal jobs, it's the people who uses it cleverly that are gonna do it.

So the best thing you can do is just embrace it and take advantage of it

avgchoobafan
Автор

Love it man, thanks for showing this gems tools!

gettyfadillah
Автор

Wow I was surprised that ChatGPT knew the Godot language, but as you noticed, it needs to improve. But anyway something can help, it is likely that later it will be more effective. For creating shaders, it would be nice

Crisisdarkness
Автор

Thanks for pointing out openjourney, it's amazing!

Dominic_Muller
Автор

now, I can become a game creator
thanks for tutorial!!

Tiananmen_