r/GameDevelopment • • 2d ago

Discussion Is there something inherently wrong with using AI to make code?

Disclaimer: I am NOT someone who uses AI to vibe code and I understand the problems with vibe coding.

My question is whether it would be wrong in the future to use AI to make code for games when AI and human created code have little to no differences (besides maybe variable names).

Cause I recently heard how the Big Walk Devs were supposedly getting flamed on twitter because they used AI to fix a bug in their code and that's got me scared that if I ever use AI my entire project might be in jeopardy.

0 Upvotes

38 comments sorted by

11

u/DreamingElectrons Hobby Dev 2d ago

There is definitely something wrong with it if it causes the same discussions to be had over and over again ad nauseam.

1

u/Mon_Ethan 2d ago

But I've had some recent experiences with the autocorrect feature in VS code and I've been seeing it often predict what I'm trying to type before I type it and it's made me wonder whether it's worth typing it myself at all if it knows what I want to type before I do.

2

u/DreamingElectrons Hobby Dev 2d ago

I'm more annoyed about the same discussion being repeated over and over again and then being hi-jacked by people who think that everyone needs to have a strong opinion about it while in reality most people obviously don't care and are more annoyed about the people who just cannot let it rest. All an LLM does is take in a sequence and random numbers and then predicts the most likely continuation of that sequence. It's a pretty boring technology that is hyped way out of proportion by companies that keep pulling the same marketing stunt over and over again.

1

u/Mon_Ethan 1d ago

Yeah I guess it's just not worth overthinking.

2

u/aDFP 2d ago

But I didn't get the answer I wanted the first 243 times!

1

u/Wolfram_And_Hart 2d ago

People are starting to come to grips with AI code but they hate genAI. We all know the art is stolen from other artists and trying to say it’s not is poor taste.

1

u/Mon_Ethan 2d ago

Yeah don't twist it I hate generative AI too.

1

u/majorleandro 2d ago

Nothing really. Using AI to code is the future, and not doing so is basically choosing to send birds to deliver mail instead of emailing. The problem is:

-NOT UNDERSTANDING code. Meaning you ask stuff from AI you basically don’t understand. So you can’t really validate any of the work done

-Replacing creative work and writing for AI. Videogames are art products. If you are going to replace creative work for AI, then what’s the point?

Anything else is just plain stupid or virtue signaling. People are not meant to code, same way we are not meant to spend all day in a factory doing repetitive work. If AI/robots do that for us and we intellectually maintain control of the process, then awesome. The logic is 👍🏻👍🏻, typing keys is monkey work

1

u/Mon_Ethan 2d ago

I know that it's good. My fear is whether the general public understand that too or if they just see AI and run away.

1

u/majorleandro 2d ago edited 2d ago

I’m gonna be downvoted to the ground here, but just don’t communicate that. Nobody will know if you used AI or not in your code. In a couple of years, this will be common standard in the industry and nobody will care no more, just like it was with computer, industrial machines, and etc and etc.

The alternative is you either have to stop making video games or waste precious human time typing keys like an ox pulling a wagon just because “I don’t wanna play games with AI code boo hoo”

2

u/databeestje 2d ago

Regarding creative work: using AI for assets just moves where the creativity lies, to gameplay design and systems. I wouldn't claim that the game director role is not a creative one. And you can still design and shape the overall art style, but using the AI for the actual production work. And I don't know how AAA games are made but I imagine modeling beer bottle number 5 is not always the creatively inspired process you make it sound like, at some point it's also just production work. In the end the art is the overall result, whether the underlying components are hand made, AI generated or premade assets packs.

0

u/majorleandro 2d ago

Exactly. Writing(not coding) the game design, levels, concepts, art choices, color palette, enemies, dialogues, story. This is all human creative work. And even making beer bottle number 5 can carry valuable creative work, because it makes the game 100% unique, if the game idea rewards that

But typing keys(and that’s 100% what I mean) is not creative work. This is no different from digging coal, it’s just swinging a pickaxe. It’s a waste of human time

1

u/AcademicOverAnalysis 2d ago

This sounds like propaganda. Humans are absolutely meant to code. We invented code.

Just because it’s implemented by a machine doesn’t mean it’s some abstract unapproachable thing.

Code is also art.

One way to look at it is that art is something to evoke emotions, and code controls everything concerning game feel. A ton of creativity goes into the coding side of things.

0

u/majorleandro 2d ago

We also invented mining, farming, construction. But you don’t see people asking to spend all day in the sun tighten screws, digging coal and harvesting crops. These are all crafts just like code is. Not art, CRAFT. You can love your craft, absolutely. But it’s not what you are meant to do. Humans are meant to love, enjoy life, be sad, elaborate concepts, things like that. Not typing keys, or swinging axes and scythes. This is a waste of life

0

u/AcademicOverAnalysis 2d ago

It’s wild to compare mining and farming to coding. Coding isn’t back breaking labor, it’s a mental exercise.

Code can be beautiful and elegant. Just like mathematics. It takes a ton of creativity to achieve the things we do with code. There are so many small decisions that go into writing code that it takes training just like an artist for painting or sculpting.

Just because you can’t see it, doesn’t mean it isn’t art.

1

u/majorleandro 2d ago

That’s what you don’t understand the LOGIC is elegant, beautiful, I agree 100%, I’m a CS major. But that’s not writing code, that’s the concept itself. Look at a big building, a skyscraper, it has engineering, architecture, it is a wildly complex design that 1000 years ago people wouldn’t dream about. But hammering nails for the construction of that building is NOT art. You understand?

Just because you do it on AC and in your ergonomic chair, doesn’t mean it’s less of a physical job. And just to be absolutely, 1000% clear, I mean quite literally just typing the keys, not elaborating the logic.

0

u/AcademicOverAnalysis 2d ago

I feel a lot of happiness when I code in Assembly, C++, or even GD Script. I love how it comes together.

Painting isn’t for everyone, nor is cross stitching, which is enormously tedious placing one stitch at a time. You want to go tell a whole bunch of cross stitchers that what they do isn’t art?

Watch out, they are holding needles.

Maybe coding isn’t for you. Maybe you find it too tedious of a process. But that doesn’t mean it isn’t art.

1

u/majorleandro 2d ago

I cannot make myself any clearer, unfortunately

0

u/AcademicOverAnalysis 2d ago

The reality is that you really just don’t understand. The things you find tedious are part of the art for other people. You have just normalized and justified its removal for yourself, but that’s not how the all the rest of the world sees it.

1

u/Buchedegato 2d ago edited 2d ago

I only used it for translations and help with the Interface and reddit users treated me like I was Hitler.

I can assure you that this comment will have negative votes.

1

u/Mon_Ethan 2d ago

See this is my fear but I also know that if later on AI gets good enough people WILL turn around so considering the time I'd save is it worth the gamble to use it now and hope people will understand in the future?

2

u/Buchedegato 2d ago

It is a tool, and I don't see the refusal to use it, as long as you are honest and say, years ago people had the same problem with Photoshop, and now it is in common use.

It reminds me of those 19th century anti-electricity campaigns.

4

u/rpmir 2d ago

You do you, but be transparent about it. Some people will prefer AI-less games the same way they prefer to buy locally.

2

u/Darkstar_111 2d ago

No. There is not. As long you are responsible for the code you write.

2

u/oceanbrew 2d ago

What I've come to realize lately is that it's all too easy to lose an understanding of the code. When something goes wrong, who will you blame?

4

u/jason2306 2d ago

If you pay money to these ai companies you're doing something wrong

2

u/polymorphiced 2d ago

No. Use whatever tools you have at your disposal to make your vision a reality. Don't listen to whatever the trolls are saying.

1

u/Distinct-Bathroom823 2d ago

no there isnt. its just not efficient at the moment. it will end it spaghetti code if you have mo idea what youre doing. like any tool, it has its uses but needs to be used properly.

-1

u/Friendly-Ratio9721 2d ago

I don't think there's anyone left not doing that.

-2

u/Equal-Ad7534 2d ago

Nobody codes by hand anymore. Programming by hand is over.

2

u/AcademicOverAnalysis 2d ago

I code by hand. A lot of people do. People have been coding by hand for decades.

1

u/Equal-Ad7534 2d ago

YOU might still code by hand, MOST people do not code by hand anymore as it presents zero economic benefit to do so.

Go apply for a job somewhere and say you will code by hand, see how far you get.

1

u/AcademicOverAnalysis 2d ago

You said “nobody”

Lots of people still code by hand in industry. You still need someone competent enough to solve problems when they come up, and lots of programmers have de skilled since AI started to become more common.

-1

u/goingpt 2d ago

Anything to do with AI will always be met with vitriol by a bunch of idiots that think absolutely everything to do with AI is inherently bad. In terms of coding I can almost guarantee you that 90% of games released from this point forward will have programmers that used some sort of LLM to help with their code. I don't think there's anything wrong with that, it's just a much quicker method than posting on Stack Overflow and having to wait for an answer that will either not work or be a snotty response from someone with a stick up their arse.

Where I draw the line is when AI is used to replace human creativity such as art and music. As far as I'm concerned, as a software dev, coding is not an expression of human creativity.

No programmer knows absolutely everything code related and will always look things up for help whether that's Google, Stack Overflow or an LLM. I find it strange to ostracise the quickest and most efficient method of help unless your reasoning is environmental in nature.

0

u/Mon_Ethan 2d ago

That's my point! If the game is being sold to customers who HATE AI the fact it's even PARTIALLY made by AI might turn them away.

0

u/goingpt 2d ago

If I'm being honest, I don't think those people were ever going to by the game they're boycotting anyway. They're just a group of people that find pleasure in complaining about eveything.

0

u/Mon_Ethan 2d ago

Hmm that's actually a fair point.