I Made a Game with ChatGPT...

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • Play the Game - benbonk.itch.i...
    Join the Discord - / discord
    My twitter - / benbonkdev
    In this video I attempted to create a game from scratch, using only the code generated by OpenAI's newest creation, ChatGPT. This AI chatbot absolutely blew me away with what it could do, and I truly think it will change game dev in the future. If you like game development challenges like this, consider subscribing.
    About me:
    Hey, I'm BenBonk, an indie game developer who uses the Unity Engine. I've made and released many small games before on my itch page, though now I'm attempting to make my first commercial game, Slimekeep. Slimekeep is a roguelike, using a very limited color palette, similar to Enter the Gungeon, though with a few interesting mechanics, such as keeping slimes alive longer will earn you more money, and the ability to capture slimes to power up your slime pet. If you enjoyed anything you saw, please consider subscribing, as it really helps me out.
    Music by Pieper Beats
    subscribe gamers ( ͡ᵔ ͜ʖ ͡ᵔ)

ความคิดเห็น • 1.3K

  • @Gizmote
    @Gizmote ปีที่แล้ว +2463

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว +178

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

    • @Splash029
      @Splash029 ปีที่แล้ว +77

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

    • @icecremmester
      @icecremmester ปีที่แล้ว +5

      YOOOOOO ITS GIZMOTE

    • @Splash029
      @Splash029 ปีที่แล้ว +3

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

    • @vento9943
      @vento9943 ปีที่แล้ว +3

      @@BenBonk Tbh it wont

  • @domolutz
    @domolutz ปีที่แล้ว +990

    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 ปีที่แล้ว +47

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

    • @cashearnerz
      @cashearnerz ปีที่แล้ว +7

      @@sawyairhtet9984 whaaaaaaaaaat?]

    • @hrlrl9309
      @hrlrl9309 ปีที่แล้ว +21

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

    • @yeet3385
      @yeet3385 ปีที่แล้ว +2

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

    • @ebogar42
      @ebogar42 ปีที่แล้ว

      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 ปีที่แล้ว +1052

    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  ปีที่แล้ว +147

      Yeah, fair point.

    • @JohnSmith-ox3gy
      @JohnSmith-ox3gy ปีที่แล้ว +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 ปีที่แล้ว +24

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

    • @birj8414
      @birj8414 ปีที่แล้ว +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 ปีที่แล้ว

      True you have to be really patient with it

  • @Honzus
    @Honzus ปีที่แล้ว +272

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว +14

      Same here, it’s crazy.

    • @yourmum69_420
      @yourmum69_420 ปีที่แล้ว +1

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

    • @ebogar42
      @ebogar42 ปีที่แล้ว +1

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

  • @Teddo_888
    @Teddo_888 ปีที่แล้ว +1605

    OpenAI really is doing some amazing stuff.

    • @BenBonk
      @BenBonk  ปีที่แล้ว +78

      Agreed

    • @KayloIsMe
      @KayloIsMe ปีที่แล้ว +14

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

    • @disunitednation2782
      @disunitednation2782 ปีที่แล้ว

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

    • @Llamu
      @Llamu ปีที่แล้ว +9

      @@KayloIsMe probably already can

    • @donner7708
      @donner7708 ปีที่แล้ว +5

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

  • @srisairayapudi6074
    @srisairayapudi6074 ปีที่แล้ว +126

    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 ปีที่แล้ว +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.

  • @kylar5677
    @kylar5677 ปีที่แล้ว +319

    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 ปีที่แล้ว

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

    • @dramorian4486
      @dramorian4486 ปีที่แล้ว +17

      Mind sharing the result?

    • @browniesr4theweak
      @browniesr4theweak ปีที่แล้ว +14

      I wouldn't mind seeing that presentation

    • @sunflower7874
      @sunflower7874 ปีที่แล้ว +25

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

    • @Oksa_L
      @Oksa_L ปีที่แล้ว +30

      Congratulations, you played yourself.

  • @buzzy4227
    @buzzy4227 ปีที่แล้ว +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 ปีที่แล้ว +14

      Filled away with the throw a paradox at them tact.

    • @FunkSwaggMusiK
      @FunkSwaggMusiK ปีที่แล้ว +4

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

    • @tack3545
      @tack3545 ปีที่แล้ว

      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 :)

  • @Wilzzub0b
    @Wilzzub0b ปีที่แล้ว +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

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว +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 ปีที่แล้ว

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

    • @iochiglaucus
      @iochiglaucus ปีที่แล้ว

      @@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 ปีที่แล้ว

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

  • @skorotkiewicz
    @skorotkiewicz ปีที่แล้ว +192

    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 ปีที่แล้ว +7

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

    • @utkarshraj8004
      @utkarshraj8004 ปีที่แล้ว +3

      Palgarised content ☹️

    • @16hertz7
      @16hertz7 ปีที่แล้ว +6

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

    • @iochiglaucus
      @iochiglaucus ปีที่แล้ว +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

  • @astronemir
    @astronemir ปีที่แล้ว +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.

  • @jaceg810
    @jaceg810 ปีที่แล้ว +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 ปีที่แล้ว

      Exactly, this will change coding forever.

    • @ajp2206
      @ajp2206 ปีที่แล้ว +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 ปีที่แล้ว +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

  • @krial42
    @krial42 ปีที่แล้ว +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

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

    • @iochiglaucus
      @iochiglaucus ปีที่แล้ว +3

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

  • @realbrickbread
    @realbrickbread ปีที่แล้ว +61

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว +5

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

    • @Forcoy
      @Forcoy ปีที่แล้ว

      Same

    • @18s
      @18s ปีที่แล้ว

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

      😅😮

    • @realbrickbread
      @realbrickbread ปีที่แล้ว +1

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

  • @neermullac
    @neermullac ปีที่แล้ว +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

  • @hyleriangaming22143
    @hyleriangaming22143 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

      @@18s me

    • @lookupverazhou8599
      @lookupverazhou8599 ปีที่แล้ว +1

      If you say so.

    • @Zeromaus
      @Zeromaus ปีที่แล้ว +1

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

  • @JackSather
    @JackSather ปีที่แล้ว +1

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

  • @harmony0732
    @harmony0732 ปีที่แล้ว +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 ปีที่แล้ว

      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.

  • @NebulaHatesWatchdog
    @NebulaHatesWatchdog ปีที่แล้ว +2

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

  • @redgarlicbred6228
    @redgarlicbred6228 ปีที่แล้ว +10

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

    • @lookupverazhou8599
      @lookupverazhou8599 ปีที่แล้ว

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

  • @CreativeSteve69
    @CreativeSteve69 ปีที่แล้ว +77

    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  ปีที่แล้ว +6

      No problem, thanks for watching

  • @Smabverse
    @Smabverse ปีที่แล้ว +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

  • @meltymermaid1292
    @meltymermaid1292 ปีที่แล้ว +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.

  • @_quades_
    @_quades_ ปีที่แล้ว +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 ปีที่แล้ว +3

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

    • @maltethehutt4498
      @maltethehutt4498 ปีที่แล้ว +2

      We need to know da way master😩

    • @browniesr4theweak
      @browniesr4theweak ปีที่แล้ว +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

  • @flyingdragon4613
    @flyingdragon4613 ปีที่แล้ว +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  ปีที่แล้ว +5

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

    • @Wolf69423
      @Wolf69423 ปีที่แล้ว +4

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

    • @tadeohepperle
      @tadeohepperle ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

      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.

  • @Experternas
    @Experternas ปีที่แล้ว +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.

  • @warrenprice2137
    @warrenprice2137 ปีที่แล้ว +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.

  • @DarkIllusoire
    @DarkIllusoire ปีที่แล้ว +3

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว

      Haha true

    • @ajp2206
      @ajp2206 ปีที่แล้ว

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

  • @togamario
    @togamario ปีที่แล้ว +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 ปีที่แล้ว

      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."

  • @alwaysfallingshort
    @alwaysfallingshort ปีที่แล้ว +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.

  • @Tyranicall
    @Tyranicall ปีที่แล้ว +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 ปีที่แล้ว

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

    • @NotACupcake
      @NotACupcake ปีที่แล้ว

      Probably notes

    • @happywednesday6741
      @happywednesday6741 ปีที่แล้ว

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

    • @botbeamer
      @botbeamer ปีที่แล้ว

      This is the worst way to learn programming dude

    • @botbeamer
      @botbeamer ปีที่แล้ว

      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

  • @theoriginalme619
    @theoriginalme619 ปีที่แล้ว +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!

  • @NerdWithABeard
    @NerdWithABeard ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

      cool insight

    • @yonathanhailemelekot5238
      @yonathanhailemelekot5238 ปีที่แล้ว

      that's why It won't replace us programmers

    • @MINIMAN10000
      @MINIMAN10000 ปีที่แล้ว +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 ปีที่แล้ว

      That's by design.

  • @ScottJWaldron
    @ScottJWaldron ปีที่แล้ว +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 ปีที่แล้ว

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

    • @ScottJWaldron
      @ScottJWaldron ปีที่แล้ว

      @@lookupverazhou8599 Haha, we'll see.

  • @DaveInVerdansk
    @DaveInVerdansk ปีที่แล้ว +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 ปีที่แล้ว

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

  • @kenanderson3954
    @kenanderson3954 ปีที่แล้ว +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.

  • @myweirdsecondchannelwithap9070
    @myweirdsecondchannelwithap9070 ปีที่แล้ว +3

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

  • @smellthel
    @smellthel ปีที่แล้ว

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

  • @pedrohpf1990
    @pedrohpf1990 ปีที่แล้ว +507

    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  ปีที่แล้ว +110

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

    • @lottieseligman
      @lottieseligman ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +69

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

    • @kzpm9796
      @kzpm9796 ปีที่แล้ว +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.

  • @omarunzainkun11
    @omarunzainkun11 ปีที่แล้ว

    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.

  • @Rovetown
    @Rovetown ปีที่แล้ว +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  ปีที่แล้ว

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

    • @tams805
      @tams805 ปีที่แล้ว

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

  • @علي-ي3ب9ب
    @علي-ي3ب9ب ปีที่แล้ว +1

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

  • @gamereplayhq
    @gamereplayhq ปีที่แล้ว +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 ปีที่แล้ว

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

    • @gamereplayhq
      @gamereplayhq ปีที่แล้ว

      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 ปีที่แล้ว

      @@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 ปีที่แล้ว

      @@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 ปีที่แล้ว

      @@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. 😂😂

  • @dharveyftw7349
    @dharveyftw7349 ปีที่แล้ว +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.

  • @FRareDom
    @FRareDom ปีที่แล้ว +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

  • @Nynxxx
    @Nynxxx ปีที่แล้ว +2

    Not sure if you know, but if the bot stops typing eventually, you can type 'continue' and it will finish its previous statement

  • @fritt_wastaken
    @fritt_wastaken ปีที่แล้ว +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 ปีที่แล้ว

      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 ปีที่แล้ว

      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 ปีที่แล้ว

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

  • @silly_billyYT
    @silly_billyYT ปีที่แล้ว +1

    Ok so I know this isn't a Slimekeep log, however I wanted to post on the most recent video so BenBonk might see this.
    Slime idea: Soul link slime.
    This slime will connect a chain to another slime, and the slimes will grow closer until they are practically touching (the slime also has a small chance to just mix together, though this still does the same effect). When one of the 2 slimes die, both will die because the name is literally the soul link slime. These slimes will become stronger together (combine damage, atk. speed, etc., although with diminishing return.) and combine their abilities (unless incompatible). Example: wizard slime and splitter slime will, upon death, spawn tiny wizard slimes.

  • @oscarrivas7240
    @oscarrivas7240 ปีที่แล้ว +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.

  • @apelsin9094
    @apelsin9094 ปีที่แล้ว +2

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

    • @LiteralBanishedArtist
      @LiteralBanishedArtist 23 วันที่ผ่านมา

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

  • @quantuminfinity4260
    @quantuminfinity4260 ปีที่แล้ว +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 ปีที่แล้ว

      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

  • @specialbeamcharlie7250
    @specialbeamcharlie7250 ปีที่แล้ว +1

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

  • @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

  • @jaggerguth4391
    @jaggerguth4391 ปีที่แล้ว

    Hey, Like your final boss in Slimekeep! One complaint though: He not threatening enough. Not by attacks, but rather looks. Save for the final phase, he looks like a nice king who is fighting you out of defense rather than a evil tyrant. Give him evil eyes and a crooked smile.

  • @Cokodayo
    @Cokodayo ปีที่แล้ว +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

  • @godrel6177
    @godrel6177 ปีที่แล้ว +1

    ChatGPT seems revolutionary. I think this will become a very useful tool when troubleshooting programs or teaching beginners to code

  • @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.

  • @JoshuaCasper
    @JoshuaCasper ปีที่แล้ว +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.

  • @jl6723
    @jl6723 ปีที่แล้ว +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 ปีที่แล้ว +4

      Just tell ChatGPT to rewrite the library

    • @sunflower7874
      @sunflower7874 ปีที่แล้ว

      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

  • @alexknight9550
    @alexknight9550 ปีที่แล้ว +1

    You could have just told it to continue the code as a new prompt. Great stuff!

  • @Terandium
    @Terandium ปีที่แล้ว +3

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว

      Oh, huh. Guess I just never realized that.

  • @DavidBoura
    @DavidBoura ปีที่แล้ว

    It knows everything about Unreal Engine and explains it better than any other source. Learning curve: straight to the sky.

  • @Boredblanco
    @Boredblanco ปีที่แล้ว +8

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว +1

      Thanks!

    • @Boredblanco
      @Boredblanco ปีที่แล้ว +2

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

  • @flexxepicgamer
    @flexxepicgamer ปีที่แล้ว +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!

  • @ZeZa1515
    @ZeZa1515 ปีที่แล้ว +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  ปีที่แล้ว +1

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

  • @mycoreefer
    @mycoreefer ปีที่แล้ว +1

    Honestly ChatGPT is one of the most amazing things I’ve seen in a while, if you actually play with it you’ll see how intricate the answers can be and theres one thing that stands out the most for me
    It understands CONTEXT
    With that said, do understand that it’s capabilities are better used as an auxiliar source of knowledge and debugging, imagine it like working along with another developer, there’s stuff you know can be done better and stuff the AI will know better than you.
    It’s a codependant relationship between man and machine
    Absolutely mindblowing

  • @thechosenone729
    @thechosenone729 ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @devinegamingtv3427
    @devinegamingtv3427 16 วันที่ผ่านมา

    I used ChatGPT in a course of 4 days and made a text based mafia game using Python only and it's extensions for visuals inside PyCharm. GPT made the game programmatically. I ended up with a login screen and a basic interface for the game. It made a timer for each action done. I think I had Crime, Car stealing, fight club and extortion. If a crime of any type was unsuccessful I either just failed or went into jail. It had like 8 ranks where Capo Don was highest. It had problems sorting out the level curve, I seemed to be able to max out a character in 1 hour. So I had to explain every bit on how fast/slow I wanted each action for each rank to be. It was a very bare-bones game, but it worked. 4 days total going a lot of back and forth since GPT could forget big chunks of code, like it literally forgot about fight club in one of it's iterations and I had to re-explain everything to get it included.
    I have no coding experience, someone with understanding could probably do this in 1 day. If the game that GPT helped me make was released in 2000, I can see a small minority actually trying it and perhaps like it.

  • @aliteralsliceofbread
    @aliteralsliceofbread ปีที่แล้ว +3

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

  • @RetirededKat
    @RetirededKat ปีที่แล้ว

    When you're prompting, you can say things like "Let all future code work in a 2d environment" and it will do that... Sometimes. If you're even more specific, and say something like "Ensure that all future code produced in this conversation complies with the following rule: The code must work in a 2d environment." You can say lots of things to tailor the AI thread you're interacting with in any individual conversation to your needs.

  • @imDanoush
    @imDanoush ปีที่แล้ว +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  ปีที่แล้ว +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 ปีที่แล้ว

      @@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.

  • @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.

  • @sczoot6285
    @sczoot6285 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

      @@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.

  • @orly8189
    @orly8189 ปีที่แล้ว +1

    kinda scary ngl. maybe the AI / robot takeover is closer than I thought xD

  • @kovexplay
    @kovexplay ปีที่แล้ว +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 ปีที่แล้ว +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

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

    • @BenBonk
      @BenBonk  ปีที่แล้ว +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

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

    • @fritt_wastaken
      @fritt_wastaken ปีที่แล้ว +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

  • @lorrainebrunner2490
    @lorrainebrunner2490 ปีที่แล้ว

    Fun fact!: ChatGPT-4 can use reflection to modify itself based on the user's satisfaction with it's outputs.
    Meaning, if it generates something that doesn't follow the instructions you give it, you can just ask it if it did the thing you asked it to do, and try correcting itself. But won't fix anything if it can't find where it went wrong. So you could probably train it by saying what is wrong, then it'll fix it.

    • @lorrainebrunner2490
      @lorrainebrunner2490 ปีที่แล้ว

      @@ArtAlpha108 xD
      Caaaaarful mate... The Basilisk is looking at you. Can you see it?

  • @Gooseguy1000-1
    @Gooseguy1000-1 ปีที่แล้ว +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.

  • @basslin3r
    @basslin3r ปีที่แล้ว

    this was very similar to my experience.
    I'm a software developer and I got so excited when I saw chatgpt can code.. and I started asking it to do all sorts of things....
    as you worked out also... it doesnt really know how to code.. it's just patterns and using what its seen done before...
    don't get me wrong its still amazing.. but almost every piece of code I got from it had one flaw or another... and that's because it's not a A.I made to code.. it's a language model that has seen language massive amounts of it and has tied it all together...
    I still had fun with it and it absolutly will save me time.. FYI theres a vscode addon to be able to use it right inside of vscode :)

  • @SSZaris
    @SSZaris ปีที่แล้ว +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.

  • @deadble5k
    @deadble5k ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

      That is still within the limit of what he typed

  • @rashSLG
    @rashSLG ปีที่แล้ว +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  ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @skivvytv6229
    @skivvytv6229 ปีที่แล้ว +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 ปีที่แล้ว

      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.

  • @appleseedgames6934
    @appleseedgames6934 ปีที่แล้ว +8

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

  • @TheCaptainMoo
    @TheCaptainMoo ปีที่แล้ว +2

    Super cool video BenBonk! I thought ChatGPT had a maximum character limit which could be the freezing you were referring to. I believe you can simply type 'continue' and it writes the rest of the script.

    • @TheGrandUser
      @TheGrandUser ปีที่แล้ว +1

      I've used "continue" to get it to continue with the rest of a thought a few times, including code. It seems to work well

  • @jumi6051
    @jumi6051 ปีที่แล้ว +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 ปีที่แล้ว +4

      It'll not

    • @BenBonk
      @BenBonk  ปีที่แล้ว +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

      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 ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @Trafoder
    @Trafoder ปีที่แล้ว

    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.

  • @elijahclaude3413
    @elijahclaude3413 ปีที่แล้ว

    It's really awesome that you were able to do something like this with the bot! And I really appreciate you making the video!
    However, I think its really important folks like yourself qualify what you say more and temper expectations. As you can see in your video, ChatGPT did NOT do this with 'ease'. You had to manually fix things and ask things over and over again in different ways to get a decent response. You had to know what to even ask it in the first place.
    You have to recognize that MANY people watching this won't just be programmers, but complete newbies who will think they can make a game with ChatGPT too. And yeah its nice to inspire them, but you also need to make it super clear that this will not be easy if they don't already have a decent understanding of how programming works, what to ask, and what to look out for.
    There's so many videos about ChatGPT and most of them are not being responsible or realistic with the limitations of this amazing new tool.

  • @BloxfightaGamingHD
    @BloxfightaGamingHD ปีที่แล้ว +1

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

  • @Allplussomeminus
    @Allplussomeminus ปีที่แล้ว

    To save character space, tell it "only write the code. No explaining". It will give you only code with no documentation and no paragraphs explaining what it did.

  • @tams805
    @tams805 ปีที่แล้ว

    ChatGPT got 'me' to make a program that I'd been thinking about for years. I couldn't be bothered to continue slogging through the coding tutorials though, making things that I had little interest in and honestly became quite stressed by. The programming community hardly helped either. I value and appreciate the basic foundation it gave me, but that's all.
    Then here was something that could give you near enough exactly what you wanted in seconds. Not only did it code the program, but the process of asking it too taught me how to do what it was doing. There were things that I'd otherwise have spent hours either reading documentation to find, or taking a deep breath and subjecting myself to a forum like StackExchange where I'd be belittled.

  • @EddieAdolf
    @EddieAdolf ปีที่แล้ว +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.

  • @squirrelhallowino29
    @squirrelhallowino29 ปีที่แล้ว

    It made me a working snake game in a few seconds, which is a few seconds faster than I can make one, it even had an icon. I love it.

  • @-DeScruff
    @-DeScruff ปีที่แล้ว

    The fact its so commented and the AI can instantly respond to questions might actually help with learning how to write code...
    I mean its essentially acting like a much faster forum post. (Without the random rude person popping in and derailing the conversation)

  • @interlace84
    @interlace84 ปีที่แล้ว

    Pro-tip (maybe?) -- Whenever ChatGTP seemed to "freeze" with large outputs, responding with a "please continue" kept it going here every single time!
    That said I'm still processing exactly how versatile and amazing the tech is-- trained on over 47TB of plain text it'll be hard to grow this at home, but I hope it won't turn into a closed, per use-case and overpriced "service" and will be used to enhance all our lives in all kinds of places instead.

  • @21EC
    @21EC ปีที่แล้ว

    Craziest tech ever..I managed to create a simple simulation of objects moving around randomly and eating food in Blender's Python and also it made for me a branch like structure made of boxes that gets shrinked down, it is so damn impressive, I tested more stuff, it apparently can even kind of try to convert a script idea from say MaxScript to Python..if it gets stuck in the middle of the code it writes you can even tell it to "continue" and it's able to continue just fine sometimes..so crazy.

  • @kevnar
    @kevnar ปีที่แล้ว +1

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

  • @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

  • @BitwiseMobile
    @BitwiseMobile ปีที่แล้ว

    So far I've had ChatGPT help me with:
    Designing a new language based on C syntax. Creating a compiler and VM for that language. Creating a REPL for that language so you can run stuff from a terminal.
    I had it write me several Unity player controllers. One for a 2d platformer with dash and wall sliding logic. I had it generate a player controller for a 2d rouge-like rpg.
    I then asked it design a 16 bit pipelined integer ALU, and then a pipelined IEEE FPU.
    I asked it to help me with some dialogue on a short story I'm writing, and damn if it doesn't write better dialogue than me.
    I asked to design a D&D encounter. I gave it the level and challenge I wanted, and some background around the campaign. It did pretty good actually.
    Finally I asked it to show me how I can use TensorFlow to create a model that recognizes roses.
    It excelled in all of those tasks. The thing is though, it didn't come up with those ideas on it's own. It can't do that. It can help you with your ideas though. It won't replace us. It will make us better. Kurzweil's singularity is nearing, and this is just the first step.

    • @BitwiseMobile
      @BitwiseMobile ปีที่แล้ว

      Oh yeah, I forgot. I asked it to give me some Dad Jokes. That was a little un-inspiring. It reminded me of those old ad-lib books (if you were born before 1990 you probably know what I'm talking about). It had these sentences with blanks at certain points. Like: John went to ______ and ______ some ______. You then would randomly fill in words, and the results were sometimes funny, and sometimes ridiculous. ChatGPT's Dad Jokes remind me of that.

  • @SirConto
    @SirConto ปีที่แล้ว

    That you can ask ChatGPT for a recipe, like for example for pancakes, is pretty cool. Where it gets crazy is that you can ask it to give you that recipe as a poem and it still delivers.
    I got this:
    Gather ingredients for your treat,
    Flour, baking powder, and a pinch of salt to eat.
    Mix them together in a bowl,
    Whisk together eggs and some milk to make it whole.
    Now take a non-stick pan and heat it up,
    Add some butter or oil and let it melt with a cup.
    Pour in some of the batter, let it cook and brown,
    Flip it over and let it cook until it's done.
    Your pancakes are ready, they look so nice,
    Serve them with some syrup and a sprinkle of spice.
    Enjoy your pancakes with a cup of joe,
    And you'll have yourself a tasty breakfast show.

  • @nateeaton7729
    @nateeaton7729 ปีที่แล้ว +2

    ChatGPT is really cool. As someone who’s planning on going to college as a comp sci major, it worries me a little. But maybe is can help with some assignments.

    • @DerpShark
      @DerpShark ปีที่แล้ว

      AI won't replace actual programmers for a very long time. It's a tool, and as of now, there still needs to be someone competent operating it for making even very simple scripts. I wouldn't be too worried