I Made a Game with CHAT GPT!

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 107

  • @chillasslofi8962
    @chillasslofi8962 Před rokem +61

    for your "continue" problem there's an easy way to get past it. Just use this prompt to get it to continue: "Without rewriting anything you've said previously, and with no preamble or introduction, please continue the code from the point you left off. Be sure to place all code inside a code block." Save this prompt onto a txt file, and just copy and paste it whenever you need it.

    • @srirangagudimella2770
      @srirangagudimella2770 Před rokem +1

      that is a great tip 👌

    • @chillasslofi8962
      @chillasslofi8962 Před rokem +1

      @@srirangagudimella2770 Thanks. I had been using Chat GPT help me with the errors I was getting in my Gamemaker Studio 2 games. At one point, I just got it to completely rewrite a whole Step Event for me, and because of that I figured out what I needed to say to make it actually continue and not just write the same code over again. If you take the specific mentions of code out of the prompt, it can be used for everything. It's the best way I've found so far to get it to actually continue 99% of the time.

    • @chillasslofi8962
      @chillasslofi8962 Před rokem +6

      @@srirangagudimella2770 You can also set it up as a "Macro". When you start a new conversation give it the following rule. "When I type the letters PCYR, without rewriting anything you've said previously, and with no preamble or introduction, please continue the code from the point you left off. Be sure to place all code inside a code block." From that point on all you have to type is PCYR. (Please Continue Your Response).

  • @midniteoilsoftware
    @midniteoilsoftware Před rokem +20

    I'm just gonna reiterate that your video production quality is off-the-charts awesome Brandon! Great work!

  • @alec_almartson
    @alec_almartson Před rokem +7

    I basically use ChatGPT when I get stuck, and it always helps me out to get it going on again. (I'm a Gameplay Programmer). It certainly is a great Tool for generating code, for Designing... and even for generating Cover Letters and adjusting the order and presentation of your Resume to apply for a Job Position (as Jason Weimann pointed out in his most recent 15 minute s video about these relatively new A.I. Tools).

  • @kraskish
    @kraskish Před rokem +2

    I really enjoyed when you asked chat gpt for background description, and then pasted it to dallee. True AI ception.

  • @CyberAngel67
    @CyberAngel67 Před rokem +4

    ChatGPT is great if you know how to use it, but it is very limited by what it knows and how it gets the details it needs, for example, I did this same thing with a controller. A basic 2D controller, and asked it to not only adhere to best practices, I defined that as making all variables private and serializable when it thought it had to be modified in the inspector. And that all variables and code had to adhere to the C# coding guidelines that are not only recommended by unity but also defined by Microsoft. I said that I wanted to use velocity over moving it with a transform. What I got back did not match what I asked it for. I took 20 chats going back and forth, all the time saying you are correct and then not doing what was required. In the end, I got a very basic 2D controller, that could do Coyote time, adhering to best practices and moved the player with velocity in Update (Yes, setting the velocity is not a calculation therefore does not need to be in FixedUpdate) that was important to see how well ChatGPT would handle what it returned. Anyway, I think I was about 200+ chats later, 2 days due to the limits in chats per hour. And I had something that I could have written in 5 mins. For new developers they wouldn't care and maybe go to the detail I went to to get it right, but it is important to note, that it does take an experienced developer to know and see what issues the ChatGPT does return. I also have a CZcams short that I can share to prove my point on the velocity if anyone is interested!

  • @AngelSaintCloud
    @AngelSaintCloud Před rokem +2

    Honestly, I feel like it would be a really great idea as essentially a free tutor meaning that small friend groups could create their own video games.

  • @Betruet
    @Betruet Před rokem +1

    I'm glad you did this so I didnt have to. It's really interesting to see the full process and how honestly you had to have programming knowlege to get it to do the right thing. I think a true beginner would have alot harder time with the prompts, although as it imporves this may not be the case anymore. All that said I can defininately see how it could speed up project time for an intermediate programmer like me.
    Thanks guys for the quality video!

    • @sasquatchbgames
      @sasquatchbgames  Před rokem +1

      You're spot on there. You need some
      Knowledge so you can challenge it when it doesn't get it right. It helps point me in the right direction faster than Google can though

  • @TheCrowReviewer
    @TheCrowReviewer Před rokem +2

    Really awesome video, editing on point! Loved the Shrek joke

  • @rubekiG
    @rubekiG Před rokem +1

    Awesome project! I tried using it to come up with a level generator based on my description and it generated usable code. It's quite amazing!

  • @quazar1sumtin849
    @quazar1sumtin849 Před rokem +1

    What might help and what helped for me when ChatGPT stops writing code after x amount of time. Was to tell it specifically where to pick up where it left off by directly quoting the line of code you want it to start from once again. 😊👍 hope that helps.

  • @StealthyShiroeanGames

    This is pretty amazing. I haven't went as hardcore as you with ChatGPT, but I have been using it a lot more with my current project. Some scripts are built almost entirely from what ChatGPT makes for me but a lot of the time it just gives me a foundation or a point of entry as to where I should be trying to look next. I've had issues with it going back and forth between "solutions" as well which is a bit annoying but all in all this is such a great tool. I tend to be going to ChatGPT first more and more rather than going to google since it's easier. I would be really curious to see someone create a large game with AI though. ChatGPT seems alright for fairly simple stuff but I sort of wonder how well it would do with a lot of complex systems all working together. Anyway, a great video, man, as usual!

    • @sasquatchbgames
      @sasquatchbgames  Před rokem +1

      Thanks!!
      Sounds like you use it the same way I do. As time goes on I find I'm shifting to ChatGPT more than Google as it's just a nicer interface to work in.
      I don't think it could handle spitting out code for a large scale game without a LOT of infuriating back-and-forth revisions. However, for fun I asked it to give me several high-level options for a scaleable weapons system, it gave me VERY good solutions - so it has knowledge of good design architecture, it just doesn't seem capable of coding it too well itself. But as you said, using it as a 'foundation' and taking that idea and running with it, it's an amazing tool!

  • @LostGameDev
    @LostGameDev Před rokem +11

    Really nice video. ChatGPT is a great tool, but the recent updates have made it harder to use. When it first came out, I was amazed by how much it could do - from scripting, to writing, to simply giving ideas. It was incredible. But now, it struggles to understand basic prompts and most of the time produces buggy code. You give it prompt after prompt trying to make it understand what it needs to fix in its answers and after a lot of back and forth you get the message "Too many requests in 1 hour. Try again later." And in the end, your problem remains unsolved, which is a shame.
    It's still useful, but I feel like it's nowhere near as good as it was and I hope they fix it so it works like it used to.

    • @sasquatchbgames
      @sasquatchbgames  Před rokem +2

      Agreed. It's been frustrating me more recently than when I recorded this footage

    • @the.author.0813
      @the.author.0813 Před rokem

      @@sasquatchbgames are the devs intentionally throttling it?

  • @LifeCodeGame
    @LifeCodeGame Před rokem +3

    Congratulations on creating an amazing game with AI! It's inspiring to see the possibilities of what can be achieved with the latest technology.

  • @games528
    @games528 Před rokem

    Great video! Instead of simply saying "continue" when the messages get cut, you should say "your message got cut, could you continue it from where you left off", this works almost always.

  • @ArtsReallyCool123
    @ArtsReallyCool123 Před rokem +1

    Awesome concept and great content! 😁

  • @thehypersonicegg5540
    @thehypersonicegg5540 Před rokem +1

    This was probably my favorite video from this chanel so far, but to be fair im very biased for Ai and chat gpt content.

  • @grannysvids
    @grannysvids Před rokem

    I have recently been using ai chat to create a program with Arduino and processing, it's perfect. So amazing. In the past I would use Google for guidance and would never get the help I needed. Ai chat makes the job so much easier.

    • @messengercreator
      @messengercreator Před 10 měsíci

      here much easier to create ur own games and apps I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want

  • @SidFish
    @SidFish Před rokem +1

    Great video. Awesome to see the process in its entirety and see the hurdles you had to overcome along the way. Hoping this workflow for gamedev won't become the norm in the next few years 😅

    • @sasquatchbgames
      @sasquatchbgames  Před rokem +1

      Personally I think it'll change how we troubleshoot problems, but it spits out too much code that doesn't work with your "big picture" of how things flow together in your project. Bur I know it'll continue yo improve so we'll see!

  • @stevewall7044
    @stevewall7044 Před rokem

    There is no controversy, it is simple; this A.I. will allow most people to do much more.
    How great a software developer is, must be measured by the quality of his product and the needs it serves... not by their ability to write Code.

  • @doniebocato460
    @doniebocato460 Před rokem

    oh my goodness dude, I noticed that the eyeglasses that your wearing is exactly the eye glasses I'm wearing right now, but mine is just for ant radiation 😂

  • @coreymatthews5210
    @coreymatthews5210 Před rokem +2

    This is bonkers but could help with some simple stuff for sure!

    • @oristruly
      @oristruly Před rokem +3

      A game changer for the indie scene for sure

  • @daffertube
    @daffertube Před rokem

    Imagine a game with NPCs with chat lines that uses the chatGPT API. I'll bet someone is working on a game right now with hyper intelligent NPCs.

  • @melissajade7717
    @melissajade7717 Před rokem

    Lol you did this in 3 hours?? Wow, that's crazy. You obviously spend a lot of time practicing your programming skills to be able to finish it that quickly. Sure it suggests good code, but you still have to be able to understand and debug it. Amazing work!

  • @xDTHECHEMISTx
    @xDTHECHEMISTx Před rokem

    Re shared. this is great. A friend some time last month put me on to GPI and it IS very helpful with coding stuff. Great video man

  • @rakly3473
    @rakly3473 Před rokem

    Here's how to get the rest of the code when ChatGPT reaches it's character limit. Copy one of the last lines, one you can easily find back in the code. Then send this to ChatGPT
    "Starting at this exact line [paste copied line] give me the remaining code."
    I is important you you start with "Starting at line". ChatGPT tends to process your prompt in the sequence you write it. If you would write. "I didn't get the entire code, please give me the code again from line x". It tends to start responding to your first sentence and give you the code from the beginning again.
    Here are some additional tips:
    Start your prompt with what NOT to do. ie Do not change the code! Give me 3 suggestions to fix issue... It might still show you code, but will not have actually updated it.
    Start your prompt by saying to read the entire prompt, analyze the entire prompt, then answer. Or teel it you will give it multiple prompts in a row, for example if your code is too long to paste it in in one go, and to wait until you give it another instruction.

  • @saadaldean4165
    @saadaldean4165 Před rokem

    i enjoyed ur video bro i always like to take things from chatgpt and he helped alot

  • @avionblacksmithwannabe

    Okay, this was freaky! But it was fascinating to see how you asked it to make a game for you :) Btw I joined your discord and subscribed to your channel.

  • @ziabatsu4422
    @ziabatsu4422 Před rokem

    To save you all some time; he never shows the completed game at the end of the video. He just talks about the game.

    • @messengercreator
      @messengercreator Před 10 měsíci

      ur experience isn't become bad whether become good ur experience and happy I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want

  • @MHTHINK
    @MHTHINK Před rokem

    I've had similar repetition and confusion with ChatGPT. If it gives a bad (especially if repetitive) response and we leave it in the chat, it will bias toward mimicking the mistake. Part of the dialogue is included with the final prompt and it predicts what it would do, as though it's another person writing.
    I edit what I wrote prior now so it doesn't get the wrong idea.

    • @messengercreator
      @messengercreator Před 10 měsíci

      ur bad experience become good experience and happy I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want

  • @eu1860
    @eu1860 Před rokem

    awesome. new era for game dev!

  • @KenWaite
    @KenWaite Před rokem +3

    OMG! This is fascinating. I was born too early. 😂

  • @pagemaster4568
    @pagemaster4568 Před rokem

    If you just move you're spaceship to the top right corner on the map you don't get hit at all :)

  • @TycoonstoryMedia-gd9nu

    The iGaming industry is just one of many that now heavily utilize artificial intelligence (AI). The application of AI in iGaming has grown over the past several years, leading to the creation of increasingly sophisticated technologies that improve the gaming experience while assuring security. One such innovation is ChatGPT, an AI-driven chatbot developed by OpenAI, a preeminent research facility in the AI sector. - Tycoonstory Media

  • @MarkWilder68
    @MarkWilder68 Před rokem

    Continue From: then copy the last line or somewhere you want it to start.

  • @jeanMvang
    @jeanMvang Před rokem

    I'm really excited and nervous like you. I've been really wanting to get into IndieGame dev for YEARS. Seems like AI is the best way to keep me competitive with everyone else. Thanks for the video. What is your advice for beginners? I have a pretty weak computer right now so I'm using Godot.

    • @messengercreator
      @messengercreator Před 10 měsíci

      u ar so poor creature went first launch I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want

  • @sabinekine2737
    @sabinekine2737 Před rokem

    Tools like this are going to really shake up the industry as they advance. Bar for entry will be even lower and easier, things are going to be a lot more competitive. So many developers working on things now will spend years and years of their life pouring heart and soul into their stuff and, when it releases, we'll be in an era were people can do it faster, faster, faster.

    • @sasquatchbgames
      @sasquatchbgames  Před rokem

      Yep. On the one hand...games take SO long to make so I'm excited at the prospect of anything that can help speed it up...on the other hand, I don't like the idea of the market becoming more saturated than it already is. There's already so many junk titles out there, now there's just going to be more.
      But of course, technically there should be more gems too. I guess time will tell!

  • @ZackHughes
    @ZackHughes Před rokem +1

    Great video dude

  • @Interplatanario923
    @Interplatanario923 Před rokem

    i did too, a simple piano simulator to test that out, someone needs to steal the code before it gets monopolized :T

  • @BakinKoljac
    @BakinKoljac Před rokem

    AI cant replace a gamedev but it can be a great tool for gamedevs to use

  • @Allplussomeminus
    @Allplussomeminus Před rokem

    The "continue" prompt always works fine for me. Just that sometimes GPT will write the code outside the scripting box as normal text... Well this video is 2 months old, so that issue was probably patched by now.

  • @yourkodi3945
    @yourkodi3945 Před rokem

    great job, i find ChatGPT does not always give the correct code, even ChatGPT gets confused

  • @Azurantine81
    @Azurantine81 Před rokem

    Its data reference point being 2021 is its largest weakness by far, particularly for code since it gets updated so regularly. A couple of the API's I am working with it just keeps recommending deprecated functions. I am hopeful for the future of this project though.

  • @RetroGames4K
    @RetroGames4K Před rokem

    The correct Title would be: Chat GPT made a game for ME. Because chat GPT did it all...

  • @badgerwildgaming6908
    @badgerwildgaming6908 Před rokem

    Going to have to try and make a game with this.

    • @sasquatchbgames
      @sasquatchbgames  Před rokem

      it was super frustrating but also kinda fun, I recommend it for anyone who really wants to get a good feel for what ChatGPT can do

  • @tomaszwoznica9862
    @tomaszwoznica9862 Před rokem +1

    Thanks for the video. I am afraid the gamedev might become a bit like chess. You can play it with your friends and learn some strategies but eventually AI will beat you at a professional level. If AI is able to generate code and ideas then we will be able to use it for gamedev for sure, but for me it takes away the fun of making anything really. Like the industrial revolution took away the fun of having everything made by humans. I know there will be other opportunities but imagine learning chess for years only to find out AI has already surpassed you. For me this is the same with programming. I know that this is progress of things and you can't stop it but still, it feels like there is less fun in making games.

    • @thehypersonicegg5540
      @thehypersonicegg5540 Před rokem +1

      Ai will beat humans at everything but i feel like gamedev is one of the last things it can do completely automated gamedev is so abstract requires so many different skills to work in perfect synergy that for a very long time Ai will just drasticaly boost what human devs can create just like our curent tech boosted devs of the past maybe a solo dev will be able to make what curently only multi million studios can make.

  • @live2die694
    @live2die694 Před rokem

    well done my friend 👏👏👏

  • @lopezcelis
    @lopezcelis Před 8 měsíci

    for me chat gpt its a good apocalypse :D

  • @habsi777
    @habsi777 Před rokem

    awesome vid

  • @Johnhention1
    @Johnhention1 Před rokem

    With me writing code on gpt If it stopped halfway I ask “is that it? And it usually says “sorry no here’s the rest of the script”

  • @danielobrien5216
    @danielobrien5216 Před rokem

    It’s amazing how ai has gotten this far

  • @Cherokeeseeker
    @Cherokeeseeker Před rokem

    Telling chatgpt to remove comments in the code before printing it out on the screen has helped the timeouts in the middle of printing the code

  • @OnyxAmethystMidnight
    @OnyxAmethystMidnight Před rokem

    Can ChatGPT-3 do this? Or only 4?

  • @VeggieManUK
    @VeggieManUK Před rokem

    I still dont think people understand just how game (Pun intended) changing Chat GPT is, I have had so moch fun (And frustration - Im looking at you Open AI Policies) writing stories, ideas and code. I have a huge project lined up over the next 12-24 months all generated, discussed, critiqued, planned, rewritten, updated and thought out using Chat GPT. Ive written (No, chat GPT has written) versions of PacMan and Space Invaders. Ive had to convert code from Windows Forms C# to Unity C# and then to GDI+ C# (For simple prototyping).

    • @VeggieManUK
      @VeggieManUK Před rokem

      One of the earliest things I had it do, was to create spheres in unity, give them gravity to attract each other, have missiles spawn and select targets, have spheres turn into hunters that would track and shoot ot other spheres (The hunter, Chat GPT decided to have them shoot at other sheres all by itself), have impact debris (Other missiles) fly out in a uniform pattern (It devided 360 by 10, the number of debris particals i asked for, making it a uniform pattern, just like i asked for). Ultimately, it did not work as expected, but the context was there and it understood everything I wanted.

    • @sasquatchbgames
      @sasquatchbgames  Před rokem

      That's incredible! I hope it all goes well for you!

    • @sasquatchbgames
      @sasquatchbgames  Před rokem

      I found with MOST things I tried, it didn't work as expected, you kinda gotta "coax" good code out of it. But it can be done

  • @vaughanmerrick
    @vaughanmerrick Před rokem

    So basically if you don’t understand how to code in the first place, you’re pretty much sol if chatgpt gets it wrong. Also, isn’t the whole fun of creating, actually creating? But I see the benefit of idea generation if you don’t have any ideas.

  • @gregoriancatmonk6904
    @gregoriancatmonk6904 Před rokem

    I wonder what would have happened if you just copied and pasted the 1/2 script into chatgpt and tell it to finish the script.

  • @tyvanworkheiser2234
    @tyvanworkheiser2234 Před rokem

    Hello, i am developing an App meant for a large scale clientele. Do you recommend Chat GPT for this development?

    • @sasquatchbgames
      @sasquatchbgames  Před rokem +1

      Not really. It can help you solve some problems, but in my experience it doesn't follow SOLID principles and therefore it writes code that doesn't really scale well. You can correct this with lots of prompts, but at least for my project, I would have found it faster to program it myself.

    • @tyvanworkheiser2234
      @tyvanworkheiser2234 Před rokem

      @@sasquatchbgames thank you. Do you recommend python then?

  • @imnugget8085
    @imnugget8085 Před rokem

    I love A.I

  • @mahinislam8540
    @mahinislam8540 Před rokem

    This game is too tough to be played

  • @JW-hh4qg
    @JW-hh4qg Před rokem +1

    "can you try harder" 💀💀💀

  • @filiphedman4392
    @filiphedman4392 Před rokem +2

    the title is ironic since you didn't even make the game lol.

  • @birdinmotion1525
    @birdinmotion1525 Před rokem

    My thoughts are that I should change majors since I'm now irrelevant

  • @veenuharni9693
    @veenuharni9693 Před rokem

    Chatgpt doesn't like to make friends I guess 😂😂

  • @Coco-gg5vp
    @Coco-gg5vp Před rokem +2

    First

  • @developement
    @developement Před rokem

    You think you are doing great things with ChatGPT but you are trainning the AI to be better, next person who tries to make a game it will become easier for them because you fixed all the AI problems..Also if parts of the code it took could be copyrighted in the future including images

  • @victorgarcia3250
    @victorgarcia3250 Před rokem

    Its, not it’s.

  • @ialsodothings1410
    @ialsodothings1410 Před rokem +2

    Awesome! I also used chatgpt, Dall-E and wombo to create a short film series called Stern Talking. Check it out on my channel if you're curious how it turned out.

    • @ialsodothings1410
      @ialsodothings1410 Před rokem +2

      Btw chapter 1 used Dall-E for the art, and chapter 2 and 3 was created with wombo dream. I think I really got the nack of the prompting in chapter 3 and the art there is the best in my opinion.

  • @moosesnWoop
    @moosesnWoop Před 4 měsíci

    OOOOH I thought you were intergrating GPT into the game, not using it to code and do shit. Nevermind.