ChatGPT in Unity with Spark AI

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

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

    Links
    gamefromscratch.com/add-chatgpt-to-unity-using-sparkai/
    www.humblebundle.com/software/unity-hidden-gems-software?partner=gamefromscratch
    assetstore.unity.com/packages/tools/ai-integration/spark-ai-gpt-dialogue-tools-144575?aid=1011l4rAy
    The above links contain an affiliate code that either pay GFS a small commission if used, or enable you to direct a portion of your purchase to support GFS (and thanks so much if you do!)

  • @mshazaz
    @mshazaz ปีที่แล้ว +19

    Now imagine chat gpt starting to make devlogs 💀

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

      Take a look at 90% of Google search results. I'm pretty sure ChatGPT already is writing half the web content you're getting served. Sadly rendering the web more useless every day.

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

      @@gamefromscratch yeah sadly :(

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

    Man unity cleaned up their UI since I last used it. It’s looking a lot more modern now.

  • @mikefitz-vd5zz
    @mikefitz-vd5zz 3 หลายเดือนก่อน

    Ai conversation tool isn't for random conversations it's for problem solving. For example if there's a particular mechanic you want to employ in your game but don't know the best way, you can spit ball ideas with gpt

  • @travotravo6190
    @travotravo6190 ปีที่แล้ว +13

    The thing with AI is it might help you brainstorm a little how to solve a problem, but it's going to screw a LOT of stuff up in your average finicky game engine if people expect it to be the main work horse. Maybe someday.

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

      AI is overblown, oversold, and under delivers for these types of things. It is, however, great for censorship and comment bots, which remains it's most common use globally.
      If only people actually understood how often they've had an exchange with an AI/bot and how many comments have been deleted or hidden by AI.

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

      @@justanothercomment416 Well crappy spammers have always loved new technology, not much that can be done about that. I went through my AI cynicism phase but eventually I found it *can* be very good, *if* your need is specific enough and fits in the "language model" wheel house. Of course commercially they're just selling it as the do-it-all magic to the public because that will make them a whole lot of money, a whole lot faster. Although, interestingly making all that money I can't help but think this stuff will actually keep getting improved.

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

      @@travotravo6190 I would never consider realist to be "cynicism." Everything I stated is factually accurate and true.
      While there certainly are some domains where AI is benefitial as a tool/utility, it's primary purpose is totalitarian control. This is a simple statement of fact. Much of the GPT buzz and hype is just that. How so? Now you understand the power of control and censorship. Just as was done with other large events in recent history.
      If you censor and delete, the truth is whatever they make it be. That's a fact. This has been true long before AI existed. This will remain true so long as humans exist.

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

      @@travotravo6190 BTW, food for thought, what's the best way to train your AI? Have people pay for the privilege? Ultimately, who receives the real LLM? It's not us. So who? It's not because they like us.

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

      Tbh i started unity and scripting 2 weeks ago and chatgpt helps alot with it trie making 2 types of games, ofc gpt srewed up like 70% of the time but it helped me to check what it screwed up, its actually made me learn at least the base unity program, scripting very very small percentage

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

    I know people will disagree with me, but I find these GPT, AI tools completely useless for any complex project. I tried to get GPT to write a working flight controller that actually uses some decent physics and it failed so bad. I had to spend the last 5 weeks writing what I needed myself. Other tasks I gave GPT, i could not get the result I wanted.

    • @planet60Co.
      @planet60Co. ปีที่แล้ว

      It's a really slow process that requires documentation and a decent idea of the game you're making. Also, If you're not using all 400 lines with Chatgpt4, what's the point?

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

      Exactly, I've seen so many people say how it completely transformed their workflow, and I'm sitting here like wtf? Did I by mistake use GPT 1.0 or does everyone have really small projects?

    • @planet60Co.
      @planet60Co. ปีที่แล้ว

      @@filipg4 no idea.

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

    I've been using CHatAI as a 'co-pilot' ofr a while now. Yes, you still need to know how to program to even phrase what you want and understand how it fits into a bigger picture.
    One limitation even with the paid web interface is a limit on the size of how much you can paste in, and I wonder if this - particularly where it is troubleshooting other scripts - has a limitation on that script size and how well it does referencing other related scripts at the same time?

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

    Wow, per-usage payment is a really scummy inclusion, I was not expecting that since, as you said, you can get those results by having a browser window open with ChatGPT. Good to know not to bother with this plugin, I was curious having got it in the humble bundle. Thanks for the warning!

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

      There's no other way to integrate this into unity though. The ChatGPT api which let's you call it from code costs money. I've used it myself for uni research. Keep in mind it's like 0.002$ for like 750 words. It's not like that money is going to the asset developers, it's going to OpenAI.

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

      @@borjanpeovski7615 I figured it might work with the user logging in with their own OpenAI account + internet connection, and the plug-in locally handling what you type in unity working like you were typing it on a browser, and implementing the result, with the price of the plug-in covering the development cost, and no further server costs needed.

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

    Recently an open source locally run Large language Model AI Specialized in Programming Language Generation, called WizardCoder Ai, was released to the public for free.
    Chat GPT is an excellent product but once the Hyper Specialized 20 Billion parameters or lower Open source AIs Start to become more common, It'll be hard to justify the cost, as low as it may seem.
    Especially since Chatgpt is a censored model and since a recent update to the Local WebUI.
    It's now impossible to censure locally run Large Language Models AIs.

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

      The cost is is not an issue, API access is cheap and you will be at a disadvantage using a Local LLM because of the GPU requirements and ease of use issues.
      Agree though that if you want an uncensored conversation, Local is the way to go with AI models.

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

      unfortunately WizardCoder AI isn't a viable solution for game dev as it isn't commercially viable due to a modification of the BigCode Open RAIL-M license
      seems like it's meant for research purposes unless they modify their license which might be unlikely

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

      @@Feyangel23 Sure Licenses are all fine and good. But how would anybody be able to tell that the code was AI generated?

  • @deach5254
    @deach5254 ปีที่แล้ว +11

    The AI conversation will be insane once it cooks. Imagine Skyrim, where every NPC has an assigned profile (e.g old black smith who's lost his dog) and some parameters to limit the conversation. The quests could be procedurally generated according to the conversation you have with that NPC. Obviously easier said the done but the potential is mind boggling.

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

      I would much prefer hand crafted, intentional dialogue and story with any NPC than filler generated by an AI

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

      Image a world where every character has a unique story and looks, and are going about their daily lives. Imagine on top of that that graphics is super realistic and then remember that real life is not so fun and would not make a good game.

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

      @@codichor6036 you can have both, using the ai to remove repetition from handcraft by reformulating them each time and within context of what's already said, which mean you would need an ai less powerful than chat gpt that can run locally at the millisecond scale.

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

      I was playing with this and some voice recognition and text to speech a couple weeks ago. Had NPCs conversing with each other and I could talk with them too. It was a fun diversion and pennies to play with, but ultimately, the cost for the API and its instability makes it impractical for any shipped game. That sent me down the road of evaluating open source models...ChatGPT still blows them away on most things.

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

      ​@@tiredlocke Oh no doubt, currently this is a play around thing. But ChatGPT does it now to a pretty impressive level. I just told it to pretend to be an old barman and i was an evil outlaw. I (but in the future the game would) gave it the answer (yes,no, get out) and it rewrote those answer in the character of an old barman.

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

    I really liked your video, but it's funny that you fell into the procedural trap. Procedural means nothing more than "relating to an established or official way of doing something." From many different assets and games, often times they use the procedural in so many funny ways, as if it were quality assurance. But procedural generation is always based on a foundation, and then these foundations get connected. Like Binding of Isaac as a game example. Each room is prebuilt, and then the procedural generation uses these prebuilt rooms and connects them.
    TLDR: It gave you a perfect example of procedural generation on the first try.

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

    The best parts of copilot are the complex multi-line autocorrect it does when I have repeated code. Letting the ai do it all is how you get a bad experience imo

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

      I finally tried it out this weekend, and what I really appreciated was that after I updated a method, and then asked it to create a similar method, it followed my usual patterns, rather than making a similar attempt like the first time - it learned my style.

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

    Can even help with procedural generated levels?

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

    6:18
    What is funny is that if you take this really serious so neither you would use ChatGPT as it was trained on peoples code, text and conversations too. But that sort of thing is just biased talking.

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

    Super well done video, Could you make more videos on some of the other assets in that humble bundle package?

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

    I think the AI conversation would be used to create dialogue for the game.

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

    AI conversation against different roles can be potentially helpful to prepare yourself for interviews, reaction to your products, etc. Also, it can help prepare marketing campaigns. In theory. In practice -- quite often the generated conversation is d*mb.

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

    I have downloaded a few lightweight opensource llm models they have huge potential in games. I am thinking you could train a model on a fictional character and say blacksmithing for example and have them play a character in game. This would be a dynamic and interesting character potentially adding infinite entertainment and conversations for players. Very exciting.

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

      Imagine logging into a game daily not for the game play but to see your buddy the black smith and to talk to your in game wife about life and your dreams.

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

      @@devinfleenor3188 it like the holy grail rpg experience lol

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

    Open AI sitting down, just waiting for the rivers of proprietary code, data, private keys, etc coming their way.

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

    Just Imagine if it can run all of Unity to create custom code and an entire game oh im buying this

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

    A very interesting video, thank you for showing us about this Asset 💯👍🏻
    Hopefully in the future these A.I. Tools will get better, enhancing our productivity (it's clear for me that A.I. will not completely replace Humans, because in the End of the Line:
    some human assistance is required asses and confirm the quality of any new piece of Code and Art generatedby the team: A.I. + Programmers)

  • @user-qr4jf4tv2x
    @user-qr4jf4tv2x ปีที่แล้ว

    shaders is very confusing even on web search that's why it sucks at shaders. shader programmer are safe from AI overload

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

    Now imagine with wizardcoder, it would be FREE.

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

    Awesome 👍

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

    $5 bucks for you guys on each purchase of the humble pack? I mean - sure.
    Make a video on how you guys go about arranging and making that happen - or is that talking about the ingredients of the secret sauce too much? More interested as to why you don't scream it from the rooftops too.

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

    I think is cool , but not so cool sometimes, it is hard dependencie code.. I think programming with SOLID in mind is the key to use chat gpt, if you simple rushing.... you probably find hard dependencies, decouple code, static fields every where, uneven singleton, bad event system , override scriptable object, so many pitfalls.

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

    Pass. I'll just stick to using ChatGPT/SD/Midjourney.

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

    crap.. it's not free

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

    You don't even need to know how to program anymore so goodbye being a programmer

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

    you talk like chat gpt is taking your job