Yes more an more people are trying to use AI's as help in coding. But results can be either very impressive or pretty terrible.
Well in order to get the good result from AI you first need to be lucky enough that the AI has been trained on a similar task you want the AI to generate code four you.
Benefit is that it is not necessary the AI was trained on the same programming language you use.
But the drawback is that if you are trying to implement something new and unique you probably won't get nice working code out from the AI.
Most people think about using AI as help in programming will allow them to get to the final result with less knowledge. Bu reality is quite opposite. Why?
First you need to know howto compose a good prompt to the AI so that it will return the desired result. Creating a good prompt is not easy because you never know whether the reason for AI not returning the desired result is you not composing suitable prompt or it was due to the limited randomness that is part of AI response generation. So you will probably spend a lot of time refining prompts and praying to get the desired result. Granted this may improve in the future.
Another problem is that the code that is returned by AI may now work as expected or even contain some bugs. Now in order to identify these problems with the generated code you do need pretty god programming knowledge. Perhaps even better knowledge that you would need to write pretty bad solution/code all by yourself.
Have I used AI for coding myself. Not really. I did some testing but was not impressed.
Now if I ever do use AI in game development I will probably use it as help in creating various math equations that I would then use inside game. Main reason for this is that I'm not best in math. And if I do I will most likely use Astra AI (https://astra-ai.si/) that was specifically trained to work on math. It is even able to teach you math.
Another possible use of AI in game development would be to use AI help for writing some in-game lore. Or perhaps using AI image generation for creating first images that can then be used in game prototype.
Another possible use for AI would be to generate in-game music on the fly based on the current game state.
I did recently try some talk-to-text AI. The KB-Whisper for Swedish language. That task is specialized so not so demanding. Runs even in a Virtual Machine and delivers decent output. That said I intend to continue the pascal coding without AI input. But indeed there can be general usefulness. For example if wanting to check some detail of the game-world you build it can be fast and helpful to ask the AI, instead of doing a web-search.
Bookmarks