I Made a Game with ChatGPT...

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ •

  • @Gizmote
    @Gizmote 2 роки тому +2462

    I've messed around with ChatGPT a lot over the past week, cool to see how creative everyone is getting with it!

    • @BenBonk
      @BenBonk  2 роки тому +177

      Yup, it’s crazy. I’m sure AI will definitely revolutionize music in the future too.

    • @Splash029
      @Splash029 2 роки тому +77

      @@BenBonkoh hell naw D:
      I don’t wanna get unemployed lol

    • @icecremmester
      @icecremmester 2 роки тому +5

      YOOOOOO ITS GIZMOTE

    • @Gamertaque
      @Gamertaque 2 роки тому

      It’s up??

    • @Splash029
      @Splash029 2 роки тому +3

      @@NStripleseven it was a little inside joke, because I’m one of the 3 Slimekeep composers..

  • @domolutz
    @domolutz 2 роки тому +994

    I was rly impressed by ChatGPT. It helped me finish a Blender Addon I was working on for ages. I could just enter the errors Blender was throwing into the ChatBot and it solved the issue and even explained how it did it. It feels like I'm Tony Stark and I have a personal assistant I can throw anything at. Really fun to work with

    • @sawyairhtet9984
      @sawyairhtet9984 2 роки тому +47

      Speaking of Tony Stark, ChatGPT can also write code for Jarvis (Tony Stark's AI assistant).

    • @cashearnerz
      @cashearnerz 2 роки тому +7

      @@sawyairhtet9984 whaaaaaaaaaat?]

    • @hrlrl9309
      @hrlrl9309 2 роки тому +22

      I know what you mean. I tell people it's like rocket boosters for programming.

    • @yeet3385
      @yeet3385 2 роки тому +2

      @Down The Rabbit Hole With Delana Taylor Haha that's so cute!

    • @ebogar42
      @ebogar42 2 роки тому

      Throw is God real at it and you will see how overrated this shit is. This whole video was about how is sucks, but yet you see it as giving accurate info all the time.

  • @itr-dev
    @itr-dev 2 роки тому +1050

    ChatGPT is a lot of fun, but it often writes bad or out-dated code. I like a lot more to have it explain stuff or summarize a long text.

    • @BenBonk
      @BenBonk  2 роки тому +147

      Yeah, fair point.

    • @JohnSmith-ox3gy
      @JohnSmith-ox3gy 2 роки тому +174

      It likely was trained with a backlog of code from the past decades. You'd have to make a training set for a specific language and further train this to be a more effective code generator.

    • @romoney
      @romoney 2 роки тому +24

      it might be useful to use an engine version made in 2021 or earlier

    • @birj8414
      @birj8414 2 роки тому +54

      @@BenBonk FYI Chat-GPT's knowledge and information is only updated to 2021. Anything that happens in 2022 is not available to its database.

    • @antimewpropaganda9503
      @antimewpropaganda9503 2 роки тому

      True you have to be really patient with it

  • @Teddo_888
    @Teddo_888 2 роки тому +1603

    OpenAI really is doing some amazing stuff.

    • @BenBonk
      @BenBonk  2 роки тому +78

      Agreed

    • @KayloIsMe
      @KayloIsMe 2 роки тому +14

      @@BenBonk I hear AI will be able to make cartoons

    • @disunitednation2782
      @disunitednation2782 2 роки тому

      yea like taking over humanity . why then do we need humans ? when machine can replace us !

    • @Llamu
      @Llamu 2 роки тому +9

      @@KayloIsMe probably already can

    • @donner7708
      @donner7708 2 роки тому +5

      Have you played around with their Whisper modules? Really cool speech to text software. Love this team and what they are doing.

  • @Honzus
    @Honzus 2 роки тому +269

    It's amazing how well this actually works. It definitely exceeded my expectations by a lot!

    • @BenBonk
      @BenBonk  2 роки тому +14

      Same here, it’s crazy.

    • @yourmum69_420
      @yourmum69_420 2 роки тому +1

      @@BenBonk I think the game would be better without the corner blocks. It's too easy to camp there

    • @ebogar42
      @ebogar42 2 роки тому +1

      lol No, it doesn't work amazing. Y'all must be simple.

  • @kylar5677
    @kylar5677 2 роки тому +330

    I had the ai write me a 20 min presentation about 'The integration of electrical and mechanical systems in electromechatronics' for my English class. Ended up getting the highest score and the teacher was blown away.

    • @RG-si1qz
      @RG-si1qz 2 роки тому

      Blown away by what a fraud you are. Lol you think your teacher doesn’t know…

    • @dramorian4486
      @dramorian4486 2 роки тому +17

      Mind sharing the result?

    • @browniesr4theweak
      @browniesr4theweak 2 роки тому +15

      I wouldn't mind seeing that presentation

    • @sunflower7874
      @sunflower7874 2 роки тому +25

      I have a feeling this is how’s it’s gonna be from now on lmao

    • @Oksa_L
      @Oksa_L Рік тому +32

      Congratulations, you played yourself.

  • @buzzy4227
    @buzzy4227 2 роки тому +288

    Now when I am being hunted by the AI overlords I know that to escape all I need to do is ask them to rewrite their code with 2D elements. Keep up the important work.

    • @MrBrew4321
      @MrBrew4321 2 роки тому +14

      Filled away with the throw a paradox at them tact.

    • @FunkSwaggMusiK
      @FunkSwaggMusiK 2 роки тому +4

      That is a real possibility. People better be careful with AI

    • @tack3545
      @tack3545 2 роки тому

      they can still get your feet

    • @whynotcode
      @whynotcode Рік тому

      I recently uploaded a video of chatgpt coding Tetris, it’s pretty convenient to grab some quick boilerplate and have it summarize how the game works. Removes lots of thinking 😂

    • @mandy.austin
      @mandy.austin Рік тому

      chat gpt is far too lazy to chase you any further than 20 metres - don't even mention it :)

  • @srisairayapudi6074
    @srisairayapudi6074 2 роки тому +127

    2 things i'd like to say:
    -> chat gpt doesnt freeze like that, it stops after a certain limit and you can type "continue" and it will
    -> its information is limited to 2021, so the tips it had given you on how to make the text less blurry was for an older version of unity, which at the time was the latest one
    CHATGPT IS AWESOME

    • @BitwiseMobile
      @BitwiseMobile 2 роки тому +6

      You can also tell it that it's using old stuff. I did that and it came back with an example that was more up to date. It's been trained with old data first, so that's going to be what is selected first. The more you tell it that it's wrong, the more it will learn and get better.

    • @ZaChemas
      @ZaChemas Рік тому +3

      you can literally just tell it to "use more actual code" and then tell it to optimize it and boom, i literally just finished a school project of a game that basically ends up deleting itself XD

    • @alansmithee419
      @alansmithee419 Рік тому

      @@BitwiseMobile It can only learn within the context of a single conversation with a single user. The instant you open a new conversation it will forget everything you told it.
      I think A future version of GPT needs to be able to continually learn from new experiences.

  • @astronemir
    @astronemir 2 роки тому +3

    Rules: entire code must be written by chat GPT. Everytime: "I just manually fixed it". 3:57
    No hate, it's just funny that every video claiming to be entirely chatGPT actually has exanples of this. Of course devs understand but none-devs might think "oh wait I can make a game/app/database just by using chatGPT without knowing anything!" Which is just not true.
    Still fricking amazing to be honest.

  • @skorotkiewicz
    @skorotkiewicz 2 роки тому +193

    If ChatGPT does not continue to write you code, just type "continue" and it will write you the rest of the code.
    It has already helped me a lot in my React projects.

    • @2DReanimation
      @2DReanimation 2 роки тому +7

      idk. "/continue" seems to work better, where it adds code to a code box, instead of outside.

    • @utkarshraj8004
      @utkarshraj8004 2 роки тому +3

      Palgarised content ☹️

    • @16hertz7
      @16hertz7 2 роки тому +6

      @@utkarshraj8004 its not? I dont know where you're getting this information from.

    • @iochiglaucus
      @iochiglaucus 2 роки тому +4

      sadly this only works in some languages and outside of that you have to phrase things like you're a cow doing acrobatics (doesn't help that ChatGPT starts ignoring specifications if they're simpler things or delivery based). I saw one prompt at one point which had a "send x amount of line then stop and wait for me to saw continue, do not restart when you continue and if you were in the middle of a method, continue from where you left off" so on so forth. It's really interesting the stuff people're doing with ChatGPT and even just things you can do with it without that logical acrobatics.

    • @Regalman
      @Regalman Рік тому

      same

  • @Wilzzub0b
    @Wilzzub0b 2 роки тому +53

    ChatGPT is super powerful, but you also need to know Unity beforehand and how everything works. It's more of an tool than a bot that makes everything for you. If you have no idea what the scripts actually do, then it's very difficult to customize them to your liking. For a simple game like this it works super well, but for bigger projects I see it as a mentor who can help when you get stuck.

    • @KRYMauL
      @KRYMauL 2 роки тому +2

      I think between this and a node based system it would massively improve productivity. Almost like an engineer with CAD.

    • @BenBonk
      @BenBonk  2 роки тому +13

      Yeah, I mean you definitely need experience with unity for this to be viable, buts it’s still a crazy good assistant and learning tool.

    • @KRYMauL
      @KRYMauL 2 роки тому

      @@BenBonk Implementing this into an IDE with a manager system would be really interesting.
      EDIT: Finished thought.

    • @iochiglaucus
      @iochiglaucus 2 роки тому

      @@KRYMauL Theoretically you could; ChatGPT isn't public right now to my knowledge but there are already people starting to use it for costumer service and other things using the API. Though again, no idea if the API is public currently since ChatGPT is still in an early stage of development.

    • @KRYMauL
      @KRYMauL 2 роки тому

      @@iochiglaucus They already did it, but it’s more of a web client.

  • @quantuminfinity4260
    @quantuminfinity4260 2 роки тому +12

    2:20 You can also tell it to remake or translate the code it just made into whatever language as well if it has a function you like in it already.

    • @fnytnqsladcgqlefzcqxlzlcgj9220
      @fnytnqsladcgqlefzcqxlzlcgj9220 2 роки тому

      oh yeah? so maybe you could get it to write code in a more complex language like javascript and then ask it to try to cram it into html?
      or maybe if you are working in one language and it is struggling to make good code or to understand what you need, you could ask it to do it in a really popular language like python and then translate that python code it generated into the language you need

  • @JackSather
    @JackSather Рік тому +1

    dude. insane. was wondering how possible this is, so cool to see it play out!

  • @krial42
    @krial42 2 роки тому +17

    I did the same thing last week, but using GameMaker Studio. I also made ChatGPT choose the type of game and the mechanics. Fighting with the reply-length limit was the hardest part for sure. ChatGPT can also create short melodies (with notes!) for background music, which you can put in an audio app for exporting.
    The best part was having the other AI, DALL-E, draw the graphics.

    • @Izzythemaker127
      @Izzythemaker127 2 роки тому +2

      You can type in "continue" to make ChatGPT finish what it was saying

    • @iochiglaucus
      @iochiglaucus 2 роки тому +3

      @@Izzythemaker127 you can also craft the initial prompt to have GPT send in snippets, it's just a bit more verbose.

  • @pedrohpf1990
    @pedrohpf1990 2 роки тому +505

    I've tried to have it make a simple text game with choices, what I found out is it sometimes cannot reply the full code because it exceeds the max response size limit. And yes my source for that info was ChatGPT itself.
    So if that happens, you have to try to ask him for the smaller missing section of the code or something in the next question.
    EDIT: Holy shit fine I get it you can just say "continue", you're not original for knowing that. If you checked the replies to this comment you would see half of them saying the same thing.

    • @BenBonk
      @BenBonk  2 роки тому +110

      Oooh, that makes sense, I was quite confused why it would suddenly stop sometimes.

    • @lottieseligman
      @lottieseligman 2 роки тому +96

      @@BenBonk you can just say "it looks like you were cut off, please finish the code you started writing" and it will finish the code, backtracking a little bit to help you join the two bits

    • @sceplecture2382
      @sceplecture2382 2 роки тому +32

      @@BenBonk for longer code ask it to stop every x amount of lines, and ask you wether you want it to continue or not. this way it wont exceed its limit.

    • @KayleighOwO
      @KayleighOwO 2 роки тому +69

      @@lottieseligman actually you can just type "continue" and it goes on

    • @kzpm9796
      @kzpm9796 2 роки тому +24

      I type " only to 150 words then pause. If you want to continue ask me to say "yes" to continue writing." after anything I want it to do and it works wonders.

  • @harmony0732
    @harmony0732 2 роки тому +12

    I've been using ChatGPT to help me at work, especially since I work with Visual Basic, and its genuinely helped me fix any bugs that comes up and has helped me find ways to rewrite areas of my apps. You do have to kind of learn what special words you need to say to get it to write the right code, along with giving it enough context to work with. I found that asking it to create blocks of code rather than the whole script, the code tends to be closer to what you want it to do.

    • @MINIMAN10000
      @MINIMAN10000 2 роки тому

      yeah, the larger the scope the weirder it gets as well as the harder it is to words things in a way that doesn't cause it to misunderstand.

  • @JoshuaCasper
    @JoshuaCasper 2 роки тому +1

    There is a character limit to responses. If you simply type "continue from line ".....the last line you want..." it will continue the script from that line.

  • @jaceg810
    @jaceg810 2 роки тому +7

    fun fact, this is probably the beginning,
    Remember how whack image generation was 2 years ago,
    ChatGPT is not even made for programming specifically, and can probably be improved at a similar rate, imagine how far this automated code generation will be in 2 years

    • @thatsmaik
      @thatsmaik 2 роки тому

      Exactly, this will change coding forever.

    • @ajp2206
      @ajp2206 2 роки тому +2

      And will change it for the better! I can’t even imagine how many cool things I can do with the code that it will write. Making stuff will get so so much easier with chat gpt! Super excited!

    • @jaceg810
      @jaceg810 2 роки тому +1

      @@ajp2206 I agree, yet at this rate it will be better than me at coding by the time I finished uni,
      Now I get why some artists have problems with midjourney

  • @Tyranicall
    @Tyranicall 2 роки тому +13

    I’ve used chatGpt to work on my game, I just started learning Unity and this has been the best way to learn code and mostly syntax for c#, I also asked Gpt to write me a melody and used it to make a full song. This stuff is crazy

    • @theseangle
      @theseangle 2 роки тому

      Melody? Wha-... Did you request it for notes / sheet music? Or something like MIDI?

    • @NotACupcake
      @NotACupcake 2 роки тому

      Probably notes

    • @happywednesday6741
      @happywednesday6741 2 роки тому

      @@theseangle there are programming modules that make music via notes...

    • @Beam_Teamer
      @Beam_Teamer Рік тому

      This is the worst way to learn programming dude

    • @Beam_Teamer
      @Beam_Teamer Рік тому

      You never gonna understand what you typing what a waste, all this bot knows is from humans and where those humans learned from? from books / teachers, plz have some sense you gonna regret later. chatGPT sucks at things like math etc it has no capability for reasoning and cannot handle simple logic even, it was trained on stack overflow lol

  • @hyleriangaming22143
    @hyleriangaming22143 2 роки тому +116

    I just discovered ChatGPT last night, I haven't messed around with it at all, however everything I've seen about it has left me scooping my jaw off the fucking floor. Genuinely, what a time to be alive.

    • @neutrin0329
      @neutrin0329 2 роки тому +19

      I still can’t grasp the way this AI feels like something plucked from the future. It’s unfathomably good at many things including small coding tasks.

    • @nogrammer
      @nogrammer 2 роки тому +5

      You think this is incredible now? Just wait until we can get our hands on GPT4, or Google's Lamda AI, it will make this look outdated by comparison lol.

    • @polymations
      @polymations 2 роки тому

      @@18s me

    • @lookupverazhou8599
      @lookupverazhou8599 2 роки тому +1

      If you say so.

    • @Zeromaus
      @Zeromaus 2 роки тому +1

      @@lookupverazhou8599 Nihilism ain't the way to go lol

  • @Callum71969
    @Callum71969 Рік тому +1

    I think the craziest part of this video is how he didn't experience any issues with getting the damn website to even load

  • @realbrickbread
    @realbrickbread 2 роки тому +61

    I discovered ChatGPT a few days ago and had exactly this in mind! Amazing to see it actually happen :)

    • @BenBonk
      @BenBonk  2 роки тому +5

      Yup, I’m sure a bunch of people had this same idea lol

    • @Forcoy
      @Forcoy 2 роки тому

      Same

    • @18s
      @18s 2 роки тому

      Dont Translate 😠
      ତୁମେ ଅଭିଶାପିତ କାରଣ ତୁମେ ଏହାକୁ ଅନୁବାଦ କର ଯଦି ତୁମେ ଅଭିଶାପ ଭାଙ୍ଗିବ ନାହିଁ, ତେବେ ତୁମେ ସବୁଦିନ ପାଇଁ ଦୁର୍ଭାଗ୍ୟ ପାଇବ | ଅଭିଶାପକୁ ଭାଙ୍ଗିବାର ଏକମାତ୍ର ଉପାୟ ହେଉଛି ବର୍ତ୍ତମାନ ମୋ ଚ୍ୟାନେଲ ରେଜିଷ୍ଟରକୁ ସବସ୍କ୍ରାଇବ କରିବା |

      😅😮

    • @realbrickbread
      @realbrickbread 2 роки тому +1

      @@18s I won't because it's probably a rick roll. I've seen it before ;)

  • @Ahmed-964-
    @Ahmed-964- Рік тому +1

    5:43 . You shouldn't start a new conversation in ChatGPT. You could open the chat history and go to the last one, and it will remember things like it's 2D, not 3D

  • @_quades_
    @_quades_ 2 роки тому +16

    GPT 3 is so powerful its insane. I use the Davinci-3 API in a custom made Python script to make basically the same thing you use on whatever website that is. Awesome stuff. It can literally write chord progressions for music, so I made a totally AI-created beat the other night and its actually fire

    • @sub0rLai
      @sub0rLai 2 роки тому +3

      How do you do this that sounds so cool😩 teach me the ways

    • @maltethehutt4498
      @maltethehutt4498 2 роки тому +2

      We need to know da way master😩

    • @browniesr4theweak
      @browniesr4theweak 2 роки тому +2

      Why don't you post it ? Would love to hear it

    • @RegisNdeTene
      @RegisNdeTene Рік тому +1

      Yo dude make a video and show us how you did that. Thats really cool

  • @redgarlicbred6228
    @redgarlicbred6228 2 роки тому +10

    This is both amazing and a bit terrifying tbh. Kinda wanna try it out for game ideas now

    • @lookupverazhou8599
      @lookupverazhou8599 2 роки тому

      Just ask it for game ideas, and then ask it to build it.

  • @ScottJWaldron
    @ScottJWaldron 2 роки тому +4

    Woah, very cool! I could see a good portion of software development shifting to this style of work where it's understanding the toolset and asking for what's needed to get it done.

    • @lookupverazhou8599
      @lookupverazhou8599 2 роки тому

      You realize in a few years you'll just have to say, "Make a fun game"?

    • @ScottJWaldron
      @ScottJWaldron 2 роки тому

      @@lookupverazhou8599 Haha, we'll see.

  • @YeahEsCereal
    @YeahEsCereal 2 роки тому +1

    8:11 definitely hate the blurry text on the legacy text, happens all the time to me

  • @Smabverse
    @Smabverse 2 роки тому +20

    If they combine this with all the other AI's (image generator, video generator, story generator etcetra) this ChatGPT will be insane.

    • @Cyphon
      @Cyphon Рік тому +1

      Yeah... MidJourney has advanced a lot

  • @NebulaHatesWatchdog
    @NebulaHatesWatchdog 2 роки тому +2

    All you need to do to get chatgpt to finish it’s code when it freezes is to tell it “continue”

  • @CreativeSteve69
    @CreativeSteve69 2 роки тому +76

    Damn ben. this was a neat little project to use A.I to help out with coding. Never thought of using A.I for that at all for coding help. I might have to give it a try myself when needed help of course. Thanks for sharing this with us.

    • @BenBonk
      @BenBonk  2 роки тому +6

      No problem, thanks for watching

  • @dharveyftw7349
    @dharveyftw7349 2 роки тому +1

    i studied web development a long time ago, and can only barely understand whats going on in code, and find basic syntax errors, so i decided to get chatGPT to help me make a website that i can use to make electrical circuit simulations, and i got decent progress with it, i am still busy with it, but most of the ussies are my lack of code experience, but even so, being able to use the ai and develop a simulator in vanilla JS is quite impressive
    Note: you can give all the code to the AI and tell it not to do anything yet, just to analyze whats going on in the code, so it will be more familiar with what youre doing (if you open a new AI chat). Also, if the AI freezes, you can type continue, and the AI will continue the code from where it stopped.

  • @Rovetown
    @Rovetown 2 роки тому +5

    I use GPT as a sort of assistant/stackoverflow replacement. the best oractice is to use it as a tool to look up certain references with full explanation etc. without having to google 200 websites to find a solution. and it is even better at api lookups, so you can quickly find all the relevant documentation for certain stuff with explanation. if the explanation is still not good enough you can always ask to make the explanation better and it will do that. its like Copilot, but actually useful in workflows.

    • @BenBonk
      @BenBonk  2 роки тому

      Yeah exactly, its a great assistant, and can be way more helpful than google sometimes.

    • @tams805
      @tams805 2 роки тому

      StackOverflow has also banned it on their site.
      I think they feel threatened by it more than anything.

  • @meltymermaid1292
    @meltymermaid1292 2 роки тому +1

    I love how ChatGPT makes the code clean! I messed around and found out about it just recently when I tested it to make a Discord Bot.
    It definitely helps to understand the code and eventually I understood certain code issues when I was running it.

  • @sczoot6285
    @sczoot6285 2 роки тому +21

    In reference to the “script that did nothing” at 3:20, you can see that it created a locally available rigid body variable and assigned the rb variable using GetComponent in the Start method which causes unity to search for a rigidbody component on a base gameobject and pass its reference, effectively providing the same functionality as the script before assuming you have a rigidbody component on your player game object.

    • @northerb1655
      @northerb1655 2 роки тому +3

      Well, no, the script does create a reference and assign it, but the script does nothing with the assigned rigidbody component. He could remove all the code related to the rigidbody component and the functionality wouldn't change at all.

    • @sczoot6285
      @sczoot6285 2 роки тому

      @@northerb1655adding a rigidbody will require a collider2D to be added which, even if it doesn’t introduce new functionality relative to the script before, it still functions as a collision detector script resulting in a dead flag being set providing functionality.

  • @Experternas
    @Experternas 2 роки тому +3

    the chat is insane, it will revolusionize many fields. i've seen movie scrips, games, 3d models, articles and more made by it. i have used if for some secret things that definitely sped up my workflow. this is just the beginning.

  • @DarkIllusoire
    @DarkIllusoire 2 роки тому +3

    Actual graduation of coders: Senior, Middle, Junior, Novice, GPT operator (who don't know how to open google and ask)

    • @BenBonk
      @BenBonk  2 роки тому

      Haha true

    • @ajp2206
      @ajp2206 2 роки тому

      I like the idea here. This actually looks like something that can happen.

  • @specialbeamcharlie7250
    @specialbeamcharlie7250 2 роки тому +1

    In my almost 40 years I have only experienced two things that have worked BETTER than advertised.
    1. The Air Fryer
    2. ChatGPT

  • @alwaysfallingshort
    @alwaysfallingshort 2 роки тому +3

    I've been toying with game design for years, but I am so dumb. I just struggle so much with coding. I asked chatGPT to make a few things--and I found the web pages they took them from. But then I asked it to integrate them together and it intuitively figured it out. But moreso, me watching it figure out what I meant helped me understand how to code it myself. In less than a day I was designing an idle game that did some complex things I had tried to make many times before, and very little of it was actually written by chatgpt. One part that it did write tho was something written in C#, and I asked it to rewrite it in javascript and it did it. I'm so thrilled.

  • @theoriginalme619
    @theoriginalme619 2 роки тому +3

    Hey I have been watching your slimekeep videos since the begining and love them so much.I watch them on my other acount as well.I'd like to say that you are doing a great job and I hope you blow up more so that more people can see your videos!

  • @aliti9315
    @aliti9315 Рік тому +1

    Hey. If you use ChatGPT again and you notice a message gets cut off just type: "continue" or "please continue" and it will finish the last message it send ^^

  • @ikcikor3670
    @ikcikor3670 Рік тому +4

    I bet there is some relatively popular format of writing down MIDI or audio synthesizer as formatted text somewhere out there, if you ask ChatGPT it will likely attempt to use it to create sound effects using that formatting, then just find some online or offline software that will let you save the result as an audio file and then add it to the game. It might be worth asking it about some details when it comes to what sort of sound waves gunfire makes, what frequencies would sound similar and then to use those with the previously mentioned text audio format to create the sound effect. The ChatGPT is not perfect but it's good enough to do a simple version of everything and if you are clever, you can take leverage of it really nicely

  • @satana8157
    @satana8157 Рік тому +1

    In its current state it's just a better more wholesome Stackoverflow. But in the coming years, it's gonna put many jobs at risk.

  • @NerdWithABeard
    @NerdWithABeard 2 роки тому +9

    One thing I noticed is that you entered a new chat session after you got ChatGPT to make a code for the player's collision in 2D, which means that it essentially forgets everything you already talked about. ChatGPT, from my experience, only remembers things you talk about in that one session. If you start a new session, it's like ChatGPT had short term memory loss that suddenly kicked in & wiped everything to when you first started chatting.

    • @iochiglaucus
      @iochiglaucus 2 роки тому +1

      A session has a context, it doesn't remember context between chats so it's not memory loss, it's that the memory was in a different brain entirely. The new multiple-chats feature remedies this which is really nice (a fair few people were complaining about it :P esp with ChatGPT's tendency to crash after longer sessions or weirdly phrased comments. I suppose just remember that ChatGPT isn't as much of a ChatBot as it is a language processing AI, it's not repeating information, it's analysing words into something it can understand and then using it's understanding of language to respond appropriately (this is a vast simplification of ChatGPT but it is extremely different than ChatBots on a fundamental level).
      M8's updating all the time recently so if you're still interested in using it you can pop-back in every now and again to see what you can do (though it might get stale after a while \_( -v-)_/)

    • @yonathanhailemelekot5238
      @yonathanhailemelekot5238 2 роки тому

      cool insight

    • @yonathanhailemelekot5238
      @yonathanhailemelekot5238 2 роки тому

      that's why It won't replace us programmers

    • @MINIMAN10000
      @MINIMAN10000 2 роки тому +1

      @@iochiglaucus I prefer working with new contexts personally. On that note it reminds me of the series "Person in Interest" where the developer of an advanced AI which had access to all cameras and insane foresight but had to be modified in order to constantly forget because it wouldn't stop assisting the creator which was a problem when it was only supposed to be used to stop terrorists.

    • @tams805
      @tams805 2 роки тому

      That's by design.

  • @deadble5k
    @deadble5k 2 роки тому +2

    6:10 ChatGPT actually says that they can remember previous conversations (In a single session). This is why it was able to work.

    • @prometheus9096
      @prometheus9096 2 роки тому +1

      While ChatGPT is able to remember what the user has said earlier in the conversation, there is a limit to how much information it can retain. The model is able to reference up to approximately 3000 words (or 4000 tokens) from the current conversation - any information beyond that is not stored.
      From FAQ

    • @deadble5k
      @deadble5k 2 роки тому

      That is still within the limit of what he typed

  • @flyingdragon4613
    @flyingdragon4613 2 роки тому +51

    I use it too! Its amazing! The Chat AI bot isn't connected to the internet so the results are only limited. But it answer pretty fast and types like a human.. its insane how far we going with AI.
    Cool you're making a game out of it!

    • @BenBonk
      @BenBonk  2 роки тому +5

      Yeah, it’s kind annoying and I wish it was sometimes, but it’s still awesome nonetheless.

    • @Wolf69423
      @Wolf69423 2 роки тому +4

      There was a Reddit iama post and someone asked it how to build nuclear reactors

    • @tadeohepperle
      @tadeohepperle 2 роки тому +3

      types like a human lol... You know this is just an animation on the website right, while a stream of data comes in.

    • @GoodmansGhost
      @GoodmansGhost 2 роки тому +1

      @@BenBonk Yeah, sadly the internet always makes AI's into raging psychos because it doesn't assess if the info it takes in is good or bad, or when which is appropriate to pull out.

    • @Ethorbit
      @Ethorbit 2 роки тому

      People keep saying ChatGPT isn't connected to the internet, but either it knows about every single Github project that existed before 2021, or it actually *is* connected to the internet.
      I say this, because it knows everything about a specific thirdparty game plugin's code, which is not possible unless it got it from the internet at some point.

  • @boltez6507
    @boltez6507 2 роки тому +1

    7:07 you can ask the bot to continue from a specific line,it looks like there is some character limit

  • @myweirdsecondchannelwithap9070
    @myweirdsecondchannelwithap9070 2 роки тому +3

    The timing on this one is crazy. Literally the day before yesterday I was messing with ChatGPT using C# in unity.

  • @BloxfightaGamingHD
    @BloxfightaGamingHD 2 роки тому +1

    Whenever the bot stops typing, just type in "Could you finish the above code?". Works every time for me.

  • @gamereplayhq
    @gamereplayhq 2 роки тому +4

    Here is something you can do, whenever you spot mistake in chatGPT, you give back correct code to it and it will most likely produce working code.
    it will even thanks you for feeding the correct data.
    I asked chat gpt a c++ puzzle program that it almost cracked but with a logic mistake, later i shared a working code with chatGPT without telling it the mistake.
    i then asked chatGPT to spot the mistake in its original code and it gave me full summary :D

    • @ebogar42
      @ebogar42 2 роки тому

      Bullshit. It's programmed. It doesn't change anything you give it. Only the programmers will do that.

    • @gamereplayhq
      @gamereplayhq 2 роки тому

      well what I really mean by my comment is that during the course of conversation, if you think chat-gpt is going wrong way, please do provide it with correct feedback and you'll see, most likely it will help chatgpt reach correct solution (which it already knew but probably your way of asking question lead it into some different direction).

    • @ebogar42
      @ebogar42 2 роки тому

      @@gamereplayhq I never said it was going the wrong way but It's not as great as people make it out to be. A lot of it is just people saying shit that isn't true. You can go on it and do exactly what they did and put in exactly the words they did and it doesn't do what they say it's doing. It doesn't seem to be coming up with stuff on it's own either. You can even ask it and it will tell you it's programmed. It can't change anything just because you supposedly correct it either. Only the programmers can make any changes. It will explain that too. People act like it's also getting tons of information on it's own or coming up with all this shit on it's own when it's preprogramed shit the programmers programmed. It's not writing stories on it's own, music, or poems. A lot of hype for nothing. It seems about the same as when I checked it out a few years ago.

    • @gamereplayhq
      @gamereplayhq 2 роки тому

      @@ebogar42 I provided code to chatgpt and asked for design pattern followed, it was able to give correct answer.
      This is good because it helps me validate whether im actually following any design pattern or not in my code.
      on plus side, i provided chatgpt with crappy code and asked advice on design patterns, it was able to give satisfactory response to me.

    • @ebogar42
      @ebogar42 2 роки тому

      @@gamereplayhq I'm not saying it doesn't always work, but it has flaws. Ask it about God. You will see there isn't nothing smart coming out of it's processor. 😂😂

  • @togamario
    @togamario 2 роки тому +2

    I think it actually does optimize the code a small bit to store a reference to the rigidbody component at startup so that it doesn't run a getcomponent command every time you use the built-in reference, which affects garbage collection. It's especially worth optimizing that if you use references like that in an update loop or similarly frequently. Great video! Thanks for sharing.

    • @MINIMAN10000
      @MINIMAN10000 2 роки тому

      lol that's part of the pickle with it for sure. It'll read into something you had no idea about and don't understand which was actually meaningless to what you intended. But isn't wrong. It's hard to describe the idea of "It's technically correct, it isn't being sarcastic, it isn't being snarky, it simply gave you an answer to something you didn't even realize you were asking."

  • @FRareDom
    @FRareDom 2 роки тому +14

    ai has grown so much over the past year in capability and its amazing to play around with, hyped to see what ai is going to be like in another year's time

  • @trollingisasport
    @trollingisasport Рік тому +1

    Redo this with 4. 4 is insane

  • @jl6723
    @jl6723 2 роки тому +6

    ChatGPT is great at things like rewriting and making basic components that are easier to describe with language than to write, but where it sucks is that it just sometimes makes stuff up like the python Unity script stuff. For me I was doing work for Asset Exporting and asked how to do something with the library and it made up a feature set. I have since made an issue report with the library with a request that they update their code to make it such that ChatGPT was correct.

    • @RULaughingAtThisCrap
      @RULaughingAtThisCrap 2 роки тому +4

      Just tell ChatGPT to rewrite the library

    • @sunflower7874
      @sunflower7874 2 роки тому

      It might not always be accurate bc it’s information is a recent as 2021 I believe.

    • @dennisthemenace567
      @dennisthemenace567 Рік тому

      Honestly as a python user this is a feature not a bug

  • @apelsin9094
    @apelsin9094 2 роки тому +2

    "AI learned to code? Good. Now make him script another AI."

    • @SCHOBOB
      @SCHOBOB 4 місяці тому

      thats literally the first thing i did when i found out they could code

  • @oscarrivas7240
    @oscarrivas7240 2 роки тому +3

    I bookmarked chatgpt on my 9 yr old nieces computer and she was so stoked about it. Can’t wait to see what kids start coming up with these things.

  • @YeahEsCereal
    @YeahEsCereal 2 роки тому +1

    At my school there was a piece of paper written by other students which said “the sky is the limit”, I said to myself “heard of the universe?”, But is ChatGPT the limit?

  • @fritt_wastaken
    @fritt_wastaken 2 роки тому +8

    Well, this isn't really a code you would put in a bigger project, but it is a very powerful way to prototype.
    Really impressive for a general purpose language model

    • @theseangle
      @theseangle 2 роки тому

      You can use it to analyze YOUR code. You can use it to create interfaces / models of response shapes based on inputted response JSON. It can quickly make you a working skeleton for a class that'll be used in your project. Then it can extend this class's functionality based on your needs.
      It's rly powerful. I have already used it for fun to create some components for my Vue project lmfao. I could've made them by myself which is easy, but would've consumed more time. It's incredible

    • @theseangle
      @theseangle 2 роки тому

      And sometimes when you're confused about something and can't find the info in google you can query some questions to it and it'll provide a detailed response and AN EXPLANATION of some concept. It can explain really efficiently.
      You can even request something like "explain me what are JS promises like I'm five" and a five year old quite possibly would understand the explanation lmao

    • @Sumrandumbguy
      @Sumrandumbguy 2 роки тому

      ​@@theseangle Thanks man I'm trying to get into coding. I appreciate you commenting this it helps me out a ton.

  • @kenanderson3954
    @kenanderson3954 2 роки тому +2

    I think the thing you need to remember when working with chatGPT on a project like this, is that you are talking to a machine. You kind of need to think a similar way to when you're normally programming. You need to set context (normally that would be done with variables, types, and defined functions) but in this case, you can use natural language. You then need to have it catch mistakes for itself. Such as asking it: "Is using a string comparison the most optimal way to compare tags in Unity?".
    Using chatGPT well for this kind of thing obviously requires a pretty solid understanding of the topic you're working on, at least for the moment, but it is certainly a powerful tool once you get better at using it. For my purposes, it has been pretty powerful to start with a broad context, like 'I am looking to make a 2d shooter game, similar to asteroids, using unity and C#, what classes would be required for this game to function' and then working on the specifics of each class and function from there.

  • @DaveInVerdansk
    @DaveInVerdansk 2 роки тому +11

    This is crazy! I had made a few basic text based dungeon crawler games, with some graphics made from Dalle but this is on another level. Nice work!

    • @TheFattestbastardinQ
      @TheFattestbastardinQ 2 роки тому

      I did this with my 9yo son last week. Had it generate code in Python, it was pretty cool.

  • @BizlaC
    @BizlaC 2 роки тому +1

    When the code seems to stop and freeze like that, type "continue" and it will write out the rest of it, seems to be some sort of limit to how much it can show at once

  • @ZeZa1515
    @ZeZa1515 2 роки тому +3

    You can give each response a 👍or a 👎 and it will ask you what you thought a more correct response would have been. The `CompareTag` vs string comparison is a perfect example of where you can help improve the model!

    • @BenBonk
      @BenBonk  2 роки тому +1

      Ooh, didn’t know that, thanks for sharing!

  • @warrenprice2137
    @warrenprice2137 2 роки тому +1

    Great video. Yeah, I asked ChatGPT to write a program that would enable me to play the classic game "lunar lander." It produced the code which I was able to execute on the pygame module of Python. While rudimentary, the game it produced was fully functional and essentially recreated the classic game. Unbelievable. It was able to do the same thing when I asked it to write a playable version of Pong. It was able to describe exactly how the game play worked on both games and then produce the code. Honestly, I'm impressed and a bit frightened at the same time.

  • @Cokodayo
    @Cokodayo 2 роки тому +4

    I have recently been learning about Ai and stuff, so i asked gpt to created a very simple ai for me which can distinguish between images of cats and dog. And it delevered

  • @kevnar
    @kevnar 2 роки тому +1

    I outlined an entire science fiction novel, from start to finish brainstorming with ChatGPT. It's pretty good, too.

  • @DirtyDan71327
    @DirtyDan71327 Рік тому +3

    I'm wondering if it'd be possible, probably in the next year or 2 for self developers or hobbiests to take it to the next level with AI. Its exciting and scary. I love it.

  • @Vysair
    @Vysair 2 роки тому +1

    I made an rpg both text-based and graphical in python using pygame. The issues is chatGPT are bugged, it doesn't finish the code so I had to spam "finish code" several times.

  • @imDanoush
    @imDanoush 2 роки тому +3

    Caching rigidBody used to be very positively impactful in terms of optimization. iirc CompareTag is not too new not sure Unity 5.6 had it so maybe the training data of ChatGPT is not too new.

    • @BenBonk
      @BenBonk  2 роки тому +1

      Interesting, and this is the case even if the rigid body is not accessed in the script? But thanks makes sense about CompareTag.

    • @imDanoush
      @imDanoush 2 роки тому

      @@BenBonk Caching only makes sense if you repeatedly access it. I may be wrong about the compare tag tho. I started using the function back in Unity 2017 iirc.

  • @EddieAdolf
    @EddieAdolf 2 роки тому +1

    ChatGPT is so limiting! I don't know why everyone is so blown away (guess cause its mainstream and basic interface?). This has existed for more than a year using regular GPT3 on OpenAI.

  • @Boredblanco
    @Boredblanco 2 роки тому +8

    Honestly one of the coolest uses of chatbots I've ever seen!

    • @BenBonk
      @BenBonk  2 роки тому +1

      Thanks!

    • @Boredblanco
      @Boredblanco 2 роки тому +2

      ​@@BenBonk I never even thought that stuff like this would be possible! Cool to see how far AI has come

  • @omarunzainkun11
    @omarunzainkun11 2 роки тому

    What I usually do when the script is incomplete which is mostly due to the word limit set by OpenAI, I type this "continue from this line" and paste the line i want it to continue from. Most of the time it works. Sometimes it regenerate the entire script again. I realize it will work perfectly if the line you provided is the start of a function, not somewhere in between where ChatGPT will find it hard to figure out where to continue.
    But also you have the chance to continue exactly where it stop by just typing "continue the above" chances are quite high it will continue from where it stopped.
    Anyway, i love this video. Great work on trying to incorporate ChatGPT in this entire project despite some obstacles that I would say if you are not a programmer you probably wouldn't be able to know what's wrong and what to ask ChatGPT to fix. Cool attempt.

  • @thechosenone729
    @thechosenone729 2 роки тому +3

    Im still thinking about the possibilities but im glad we are going to have tools like this available since we have a lot of people who are like doing design and graphics but can't really handle programming, so this would help them maybe even someday in future create game.
    It's still early but already it looks promising.

    • @martincarballootero9886
      @martincarballootero9886 2 роки тому +1

      It also will work in reverse, someone with good programming knowlegue could create the assets and art with an art AI, or maybe someone that doesnt know neither Code or art could use both AI and make a game.

  • @JayFolipurba
    @JayFolipurba 2 роки тому +1

    This is actually awesome! We're also screwed

  • @kovexplay
    @kovexplay 2 роки тому +7

    Sounds really usefull! I wonder how nany new developers will start using this AI. It has some flaws but it still might be very helpful for checking if everything is alright and what can be improved
    Btw do you need to pay for it? It sounds too good to be available for everyone

    • @KRYMauL
      @KRYMauL 2 роки тому +3

      I think this AI combined with a program like Visio or a node manager will probably get integrated into IDEs in the next few years.

    • @hashtags_YT
      @hashtags_YT 2 роки тому +2

      Entirely free, you just need an account and the power to bear through a long cool down when the service gets overloaded

    • @BenBonk
      @BenBonk  2 роки тому +7

      Yup, as the others said, it’s free. It really does feel to good to be true that it’s like this for everyone, at least for now.

    • @hashtags_YT
      @hashtags_YT 2 роки тому +2

      @@BenBonk With the sudden competitive nature of FOSS AI tech (nearly entire thanks to Stable Diffusion

    • @fritt_wastaken
      @fritt_wastaken 2 роки тому +1

      Imagine how badly future games would run if new devs would actually use *this* AI.
      At least as bad as modern ones I imagine

  • @JadenAllen
    @JadenAllen 2 роки тому

    The reason the text was blurry was because of the font size. Change it to 300 which I believe is the max then you can scale the text down. Idk why its like that

  • @Terandium
    @Terandium 2 роки тому +3

    Unity does support Python btw.
    Based on the unity api as GPT3.5 said, cool video btw keep it up

    • @BenBonk
      @BenBonk  2 роки тому

      Oh, huh. Guess I just never realized that.

  • @swordarmstudios6052
    @swordarmstudios6052 Рік тому

    If it ever freezes just type 'continue' and it will sometimes complete the thought.
    not sure why it does that. It might just be a back-end not having resources thing.

  • @rashSLG
    @rashSLG 2 роки тому +4

    Honestly, this scares the hell out of me.
    What's the point in learning the actual skill to program things when you can just tell the robot to make your scripts for you?
    Once it gets even better, and most of the kinks are worked out, then it'll be able to script full components, I'd imagine.
    Makes me feel like all the money and time I've spent on this is a bit of a waste...

    • @BenBonk
      @BenBonk  2 роки тому +3

      Yeah, I mean I’ve had the same thoughts no doubt, it’s really scary, but intriguing at the same time. Hopefully it doesn’t take all our jobs in a few years 😔

    • @RialuCaos
      @RialuCaos 2 роки тому +3

      Going to be quite a while before it gets to that point. Programming a full-length game requires a lot of forethought with very intentionally designed architecture and consistent code that most AIs won't be capable of for a while.

  • @Skittlq
    @Skittlq 2 роки тому +1

    BTW if the AI doesn't finish the code, just tell it to "Finish the code above" and it will give you the rest of the missing code!

  • @aliteralsliceofbread
    @aliteralsliceofbread 2 роки тому +3

    I think seeing a ChatGPT themed gamejam would be kinda cool.

  • @WiremuTeKani
    @WiremuTeKani 2 роки тому

    3:19 When ChatGPT added made a "private Rigidbody2D rb;" it's an optimization because it's caching the Rigidbody2D to "rb".
    Unity calls the command GetComponent(), which is expensive, only once.
    Then it uses "rb" to point to the Rigidbody2D, which is more performant.
    As for whether the rest of the code makes sense, well that's up to ChatGPT. It's fascinating to see how it thinks!

  • @Gooseguy1000-1
    @Gooseguy1000-1 2 роки тому +4

    This is awesome. And terrifying. I don’t want to let AI take away the main intellectual aspects of coding and game design. But at the same time I want to go and make a game with this right now.

  • @jlangager
    @jlangager 2 роки тому +1

    I routinely turn to ChatGPT as I learn Unity… saves me a massive amount of time.

  • @MotivationExMe
    @MotivationExMe 2 роки тому +3

    Glad to see I'm not the only one who experiences the chat bot "lagging out" with long answers XD I've been able to get it to create pong pretty easily in most languages if people were interested in "beginner" project. While messing about with it I made a joke about holding my breath or something. This somehow lead us to creating a full simulation of lungs, heart, blood vessels, and finally a brain. All of these working together. We even got down to the level of synapses charging and firing. Oh, I forgot to mention that it also created a visualization for each individual part and another for the whole thing working together. We could give the "body" instructions such as run, sleep, etc... and it would change how everything behaved. Then I decided to take it a bit further. We have a brain simulated so let's use it. We created another module to visualize and interpret thoughts. To start with it was basically just giving out random strings of numbers and letters. Chatbot said that we need to give the brain some stimuli and "teach" it. This was starting to get out of hand but chatbot came through with the code (full disclosure I did have to modify a lot of it, but it had the building blocks all there). We could now show it images and text. The "thoughts" started to change. Still not making any sense but they were reacting to the inputs. Finally chatbot said we can't go any further without training the brain. We'd need to implement OR build a machine learning model. Chatbot gave me instructions to do both. This is where I've decided to leave the project so far.

  • @flexxepicgamer
    @flexxepicgamer 2 роки тому +1

    ChatGPT can actually generate sounds, but through writing you code that you can put into SuperCollider- a software that allows your to create sound from code. Not 100% sure it could make something as complex as a gun shot but worth a try!

  • @appleseedgames6934
    @appleseedgames6934 2 роки тому +8

    This AI is pretty scary stuff, sometimes just because you can make something doesn't mean it should be made

  • @GageEakins
    @GageEakins Рік тому

    When you encounter the thing where it can't generate the full code it is because you have hit the limit of the response. You just need to type continue and it will proceed to give you the rest of the response.

  • @jumi6051
    @jumi6051 2 роки тому +4

    I am sorry but I don't know why people promote AI like that. Especially a dev. I personally enjoy coding and I think it's scary to see that it might become a thing of the past.

    • @junj1023
      @junj1023 2 роки тому +4

      It'll not

    • @BenBonk
      @BenBonk  2 роки тому +8

      I mean yeah, it’s scares me a ton too, and I don’t want it to take my future job, but at the same time, there will always be a need for programmers, especially to maintain AI and so on.

    • @Skycrafter328
      @Skycrafter328 2 роки тому +2

      It is honestly just your inexperience speaking here. This kind of stuff exists for quite a while. AI writing code is nothing new nor dangerous to developers jobs. It is quite similar to neural networks/AI learning, and everyone is happy about that one.

    • @dagarou
      @dagarou 2 роки тому +4

      Because when this tools are mature enough a small indie team will be able to create what now is considered a AAA game. That's how progress works

    • @jumi6051
      @jumi6051 2 роки тому +1

      @@dagarou I mean yeah I get that. I just hope the soul of the game isn't lost in the progress. I just think that if u approach things like "Yea the Ai will handle 90% of that", a lot of passion will be getting lost.

  • @GoldCaesar
    @GoldCaesar 2 роки тому

    Whenever chatgpt doesn't finish it's response or seems to cut out you can just send "continue" as your next message and it will finish it's response

  • @smellthel
    @smellthel 2 роки тому

    This is seriously blowing my mind! The insane thing is it gives answers as good as Google, and it will only get better!

  • @someoneovertherainbow_
    @someoneovertherainbow_ 2 роки тому +1

    Why is no one talking about the fact that ML could replace actual devs if it's trained more

  • @OnFight1997
    @OnFight1997 2 роки тому +1

    Something I've noticed with ChatGPT, is that when the code is extended, it sometimes cuts off mid coding, if you notice that happening, write a new line "Keep typing from where you left off", and it will then continue from the exact next char where it left off.

  • @psycox8758
    @psycox8758 2 роки тому

    I have found that when it freezes when producing the code, if you just type "continue", it does so. It seems that it realises that its hit a dead end but when asked to continue however, it actually takes a few steps back before proceeding past the point where the problem appeared. Asking to continue from a specific comment ( // ) is useful.

  • @iochiglaucus
    @iochiglaucus 2 роки тому

    As per usual with ML, the most crucial thing with ML is engineering your prompts. The general guidelines are: be specific, don't retrofit too much, make sure to be specific, try to hone in on what you want by saying methods that should be used ideally, specify as much as you can, and be specific. Two things with code and ChatGPT in particular is that you can tell it to make data-oriented or to not write comments (helps a lot with that 1300 character limit). If you want explanation, you can just ask "tell me how [method/variable/function/whatever] works?" and it'll deliver. Whenever I have it write code for a navmeshagent I say "write code for a navmeshagent" and it'll do that instead of raw translation or a rigidbody. It doesn't seem to know how to do the hack-knee stuff that you sometimes need to do for some things (baking a path with navmeshagent before turning the agent off and using the path to move a rigidbody or charcon).
    It's a really interesting tool that I've used for elements in gamedev that I don't have a good base for but can build off of just fine. One example is the enemy code in one jam game I made which was a very simple two state ai that ChatGPT gave me that I not only had to fix because it didn't work (ChatGPT sometimes doesn't understand how to tell if a navigation is complete) but it gave me the perfect basis for doing what I needed; in reality I rewrote the entire script but just that push that ChatGPT can provide is insanely helpful if you're stuck or just don't know exactly what you should do with something. I told it to write code to mathematically slice a polygon with a line and it did, it may have been flawed but the methodology was there and it wrote it more correctly that I did four years ago when I spent a week or two trying to write that exact algorithm (it's a lot harder than it sounds, or I'm just not good at geometry :P).
    I'm glad you did't hyperbolically demonise GPT or ML because people's tendency to do that (even jokingly) have made people who don't understand what ML just say incorrect or stupid things relating to AI. I suppose that's moreso a common gripe I have with ML centric media but even so I'm glad you've made it clear that it's a tool and *not* HAL9000 v2. I've had fun with ChatGPT just telling it to write stupid procgen code that barely works but is a funny experiment or telling it to write songs on games or properties that it doesn't really know to much about, I've asked it implementation information (for example why one would use a forward-renderer as apposed to a deferred one, or the method one would use to process a field of signals that are on the same frequency), one of my favourites is telling it to write quests in game or media worlds that it either doesn't know much about (Arknights for example which came out in 2019 but it's updated a tonne since then and ChatGPT's internet training was cut in 2021 iirc).
    Anywho, lovely video, if you do another practice like this again: try to specify what game you're needing the script for (in this case a top-down 2D shooter) and try not to have it rewrite code unless it's simple non-methodological changes (though the new edit function can help a bit with having it remember context better when refining the result). And a small note relating to it's sometimes incorrect or weird code practices is that since it was trained with anything it could get it's paws on, it doesn't know if a method or such is deprecated (at least not most of the time). It's similar with *newly* deprecated code since it had it's cord cut in 2021, meaning any new stuff is out of it's field. And just like you've demonstrated it'll give left-field solutions that either don't work or are just plain strange; usually that can be cleared up with specificity though.
    TL;DR awesome video, a fun practice and exploration that so many have been jumping into recently and it's cool seeing a video of someone doing so. Apologies for the novel, I'm not trying to be rude or anything, I just think too much ;v-v.
    Cheers~
    EDIT: interstingly enough, you can (or at least I have) use it for learning new things entirely, have it help you write a song or walk you through the ways of writing a good fiction or elsewise.

  • @nomadshiba
    @nomadshiba 2 роки тому +1

    i dont think its INSANE
    when ever i decide to use it, i find myself, teaching it how to do things rather than its helping me
    tho might be useful for writing pure utility functions and stuff
    other than that copilot is good enough

  • @Trafoder
    @Trafoder 2 роки тому

    I work with G Code on CNC lathes for a living, so I asked ChatGPT to write some example code. It did surprisingly well except it set the feed speed (inches the tool moves per revolution) to 50” instead of something typical like .006”. Due to the RPM it called for being normal, the tool would be going at highway speeds, which is not ideal to say the least.

  • @TheWizardsTales
    @TheWizardsTales Рік тому

    I've never been able to figure out why regular script is always so blurry, so I just always use TMP. Not even sure why regular text is still an option, since I've searched the internet high and low for the answer and it seems EVERYONE has this problem.

  • @علي-ي3ب9ب
    @علي-ي3ب9ب 2 роки тому +1

    it could be better if you asked chatgpt to give you a simple game ideas he works really well on that

  • @MoonrayMurray
    @MoonrayMurray 2 роки тому +1

    I tried to get chatGPT to write a simple PhysicsServer2D implementation in the Godot 4 language, GDscript, and it just couldn't do it, even coaching it one line at a time it struggled so hard, I mean it's interesting to get it to quickly write a basic framework but when pushed for complexity it really struggles to understand the documentation of certain languages.

  • @PacoClipStorm
    @PacoClipStorm Рік тому

    i didnt thought the game was this good great job on making it it is making me relax

  • @skivvytv6229
    @skivvytv6229 2 роки тому +1

    What really makes this crazy is that chatGPT was designed primarily as a chatbot with good conversation skills and to provide knowledge, the fact it can still do this at all is amazing

    • @iochiglaucus
      @iochiglaucus 2 роки тому

      To be fair, it's made with a powerful base with OpenAI and made by people who understand what they're doing. Lots of early (and even recent) ChatBots are hardly related to ChatGPT since they're trained differently on a fundamental level. It helps that it was trained with the internet instead of users so that it could get the knowledge to do all this stuff.