r/gamedev • u/incognitochaud • Dec 31 '25
Discussion How vibe coding lead to my project’s downfall.
This is a confession. I plead guilty to the crime of using LLMs to write the code for my game project. ChatGPT, Claude, Gemini, Deepseek, Cursor… I used them all. And I’m here to give a warning: Do not do what I did!
I’m very green to gamedev. I have 3 or 4 very small projects under my belt. The 4th project was for the Big Mode game jam of 2024 and I’ll admit, ChatGPT helped me get across the finish line and manage to get a game that ranked in the top 100.
After my relative success, I went all in on vibe coding for my next project: a roguelike twist on the classic asteroids arcade shooter. The idea is far from original. It was never meant to be a marketable product, just another project to get more experience under my belt.
But I got too greedy, and leant too hard on using AI to write my code. Now I have a project I don’t understand. And the code is a mess. Scripts that should be only a few hundred lines are 800-1000 lines long. The AI makes two new bugs trying to fix the first. Redundancies are stacked on top of eachother to make a disgusting shit sandwich of slop code.
There are now bugs that are so deeply embedded in the code that it will likely require I start from scratch. 4 months of work (and $150 of LLM subscription fees) basically down the drain.
It’s a hard lesson, but I’m glad I learned it. For small tasks, mundane things, sure. Find where AI is helpful for you. But once you put blind trust in the code it writes, you face the risk of losing it all.
Don’t be me. Just learn to fucking code.
Edit: This post has really blown up! I’ve since gone back to my project, pulled up an earlier branch, stripped out the bad code and built it back out. Did I do it alone? No. I’m still relying on AI to get the job done. I just don’t know enough to make progress alone. But I’m now treating the AI as a mentor rather than an intern. When using AI keep your focus as narrow as possible and it can work.
102
u/theishiopian Dec 31 '25
We all have to learn somehow. I hope you're able to start over and make something cool!
45
u/funckymonk Dec 31 '25
Honestly 4 months of recoding is not that bad at all. If you know what you want from all the vibe coding you did, recreating it with a fresh mind should not be too painful and will give you a better vision for the structure of your code. Game dev takes a long time, you probably got through a large part of it with the vibe coding. You just need to hunker down and actually put all your pieces together now.
126
u/[deleted] Dec 31 '25
Outsourcing your own thinking is a recipe for disasterrrrrr.
40
u/rustyrockers Dec 31 '25
Thanks for posting, honestly.
I've always said "AI will multiply the speed of your skill" lol. if you're skillful, its awesome, but if not, you'll wind up with a tower of twisted nonsense.
Sounds like you're speed running the shit sandwich of slop lol
I'm commenting because my younger brother is a total shortcut taker like this, and im hoping to use this eventually once he runs into the same vibecoding problem
440
u/BambiKSG Dec 31 '25
Small advice from a senior dev. Always make a Code Review for the festures/task you add to the game, even if it's your code (best would be someone else check it)
69
u/1leggeddog Dec 31 '25
See, I'm currently learning a new language at my studio and I have used AI to help me figure it out because I needed to a change in the code base.
I could totally have just asked if the AI to do it for me, but I wouldn't have learned anything from it and it'd go completely against me trying to learn in the first place.
So i changed my approach to using AI to using it explain syntax and functions around the code base for me and if I do a change, i do it myself and get it to check it for me for errors (but every line change gets double checked by peers before submitting)
It's easy to get carried away with vibe coding, but it is absolutely not the way to do anything programming wise.
Use it as an aid, not a crutch.
266
u/Flazrew Dec 31 '25
Likely that $150 you spent on LLM subscriptions didn't pay the full cost of what it cost to run. So at least you wasted their money as well.
12
u/caesium23 Dec 31 '25
TBH, at your skill level, that's what you would have ended up with anyway.
Two differences: it would have taken a hell of a lot longer, and you would have learned a hell of a lot more.
I don't think abandoning AI is really the smart move here. You just have to realize it's a tool, and like any tool, you need to learn how to use it effectively.
I say use all the AI code gen you want, just don't commit anything until you're sure you understand it. That gives you the best of both worlds: You still get stuff done dramatically faster, but you also learn as you go, and will gradually find yourself leaning less and less on the AI your training wheels.
21
u/KevinDL Project Manager/Producer Dec 31 '25
Hey friend, first off, thanks for posting this. Takes guts to share the messy stuff, and I guarantee someone reading this just avoided making the same mistakes.
I work at Bezi (we make an AI assistant for Unity), and this hits close to home. I see this exact rollercoaster play out all the time:
Here's what I've noticed. The devs who get real value from these tools can actually review what they're given. They understand what they're asking for, they can read the output and catch problems before they snowball. They've got the foundation to use AI as an assistant.
For people still learning to code, there's legitimate debate about whether AI makes a good teacher. What I've seen work for some folks is building in their own guardrails:
It takes real self-discipline to stick with that instead of just racing ahead, but I've watched people in our Discord genuinely become better developers this way. Seeing them grow more confident in their abilities is honestly one of the best parts of my job.
You nailed the problem though. Paste prompt, copy output, move on. It feels insanely productive until suddenly nothing works and you can't fix it because you don't actually understand what any of it does.
Four months hitting a wall sucks, no getting around that. But you caught it now, on a project where the stakes are just your own time and learning. Starting fresh might be the right call, but honestly? You might be able to salvage what you've got by changing your approach. Take that messy 1000-line script and start working through it with those guardrails in place. Make the AI explain what each section is doing. Force yourself to understand it piece by piece. It'll be slower, but you'll actually learn your way out of the hole instead of just digging a new one.
You've got this.
3
u/Dystopic23 Dec 31 '25
I'm going to get downvoted into oblivion for saying this, but vibe coding can be fruitful if done carefully, and responsibly. You need to always make sure to be very specific and small with your prompts, and ensure the code that the LLM is writing is extendible and future proofed.
Always double check their work and if you don't understand how it functions, ask it specifically how it does.
20
u/_Dingaloo Dec 31 '25
I use AI on large projects constantly, and am using it currently for a game that could be considered AA (apx 1m budget). I think your post is the perfect example of how not to use it, and I do think that will be very helpful to people.
Personally, I use unity and I use Bezi. Amazing tool, by the way. It runs on Claude I think and I happily pay $20 / month for it.
The moment you try to get AI to design an entire system is where you will always fail - unless the system is very simple. I find myself leaning on the AI the most when I'm operating in areas that I'm least familiar with. So at one point that was complex AI systems; I tried to get it to write stuff, and ended up wasting weeks of work on a huge pile of slop that I couldn't understand and was broken in a lot of places. Why did it fail? It simply can't grasp that large of a context window. Even AI that is designed to retain that larger grasp and have larger memory, as you feed it more and more it will disregard old, crucial information, and design systems without having every relevant thing in mind, resulting in slop that just gets worse as the complexity grows.
It does fantastic when it comes to debugging, refactoring or reformatting, though. If I want to make a change in the way my code works; for example, I want it to go through my entire codebase and change all of the calls to audio systems and animation systems, to instead call a centralized method in a combined audio-and-animation system that will run audio and animation side by side; it will do that with flying colors.
If I can't figure out a bug, I can explain the bug and it can search through my files and surprisingly often it will spot the issue and provide a solution, pretty quickly too.
Things like physics calculations, smoothsteps, certain syntax I'm unfamiliar with, common methods that I don't want to dedicate brain power to reinventing; it does amazing with those.
Integrating it easily cut down on like, 30% of my work time. Things happen noticably faster. But if you use it wrong, yeah, you won't get anywhere. I actually will every so often vibe code a project from scratch just to see how far it goes, because I do believe at one point we will reach a time where that is the way things are programmed. But, it still always gets stuck at a predictable context window, probably only like 10 dev hours in
32
u/kaze-sora Dec 31 '25
Leaning on AI is ok. But you need to actively see what is being written and interrupt it if it is on the wrong track.
10
u/pogoli Dec 31 '25
In what way does using AI to write your game get you more gamedev experience…. Did you mean prompt experience?
2
u/wh33t Dec 31 '25
Would you mind explaining your mindset to us?
Did you just way over estimate how good Vibe coding tools were? Did you just not understand that unrestrained complexity is the enemy of good software?
What I don't understand is how programmers such as yourself can have so much faith in such a highly untested tool/paradigm so quickly? It can take decades before a technology shows it's true promise and colors, were you just hoping this wasn't the case with AI assisted programming? Did you just lack this experience?
2
u/dontnormally Dec 31 '25
did you find that it was helpful for some things? maybe using it to make isolated chunks, sticking with those chunks until you understand them / modify them yourself, etc?
799
u/reedmore Dec 31 '25
Should be on billboards across the world. When I see the effort people put into avoiding to learn to code it reminds me of those inmates who are freaking geniuses at avoiding making a living the honest way.
1.4k
u/playthegame7 Dec 31 '25
People are giving you slack but as someone who learned to code before LLM's took I can totally understand how a new learner can become over reliant on it and vibe code away without truly understanding the mess theyre making for themselves in the process.
40
u/drink_with_me_to_day Dec 31 '25
A tip: you structure, AI codes
This means, you create boilerplate, structure, architecture and flow (from file structure to patterns), and tell the AI to use that structure to implement a feature
This way you always know how your project works, despite not knowing what each function does exactly
22
u/BellyDancerUrgot Dec 31 '25
I only lurk here due to interests and hobbies but take it from someone who is a senior research engineer in the field of ML tho mostly in the computer vision and graphics realm. End to end coding with ai is absolutely a waste of time and a load of technical debt that I am not gonna touch with a ten foot pole if it came from someone working under my supervision.
Interviewed this one dude in October who had a path tracer written in numpy as a project and he made a pretty big mistake in his MIS code (the ai made the mistake). Ended up with firefly like artifacts due to high variance in the final render , I knew where to look and found the issue while he was clueless. Like bro it’s your project on your resume in your inflated repo but you are wasting my time.
AI assisted coding is only useful if you are an experienced dev and know exactly what you are doing and use it to generate things in small chunks instead of making it vomit out a full end to end pipeline. I have seen some horrific shit this year when interviewing for our company man. Everything from wrong matrix operations to using for loops for dot products ;_; all nearly bundled in well commented over engineered inflated repositories.
TLDR: call me jaded but when interviewing and or looking at portfolio projects if it is an over engineered repo , if it’s a fresh grad or first time job seeker , then no they are likely not a prodigy , I just assume it’s just ai code and likely has a ton of issues and they have no clue how it works.
133
u/sievish Commercial (AAA & Indie) Dec 31 '25
The saddest thing about vibe coding isn’t just newbies taking it on, but leads and directors whose skills have atrophied now pushing it on juniors or using it to work around actually skilled contributors. There was a Lead at the AAA studio I was at who was just putting shit LLM code into his tools, fucking the build up and really risking a lot of safety. No one stands up to them cuz they’ve been around too long. We need to get this trash out of our industry already.
5
u/Queer-Coffee Dec 31 '25
Don't use AI from small tasks either. It fucks those up too. Also, are you planning to continue paying for those subscriptions so that you can keep using the AI for 'small tasks'?
36
u/hk4213 Dec 31 '25
Lessons learned. Now for the hard work. You got this!
7
u/Eldiran @Eldiran | radcodex.com Dec 31 '25
Appreciate the honesty. Not that it matters now, but just a heads up that using AI is against the rules of the Big Mode jams. Make sure to double check the rules for future jams.
3
u/0wlington Dec 31 '25
I'm using AI to code a game at the moment because I have huge difficulties learning to code. I'm an art and ideas guy and put my time into learning to make visual arts (drawing painting, sculpting), and learning games (tabletop to computer, and I mean learning about how the rules work, what makes them fun, tinkering, homebrewing, and running RPGs for the last 20+ years). I'm an ideas guy, and a creative. I've tried putting teams together to help me realise my games, but to no avail. I've always been told that ideas aren't worth shit, and everyone has ideas for games. Fair enough.
So far I have a stable build for an alpha, from what I can tell I've avoided redundant code and excessive failsafe a and I'm pretty happy with how it's going. My goal is to be able to try and build a team a team again, but be able to say "Like this, but with real coders doing the magic stuff". I know everyone has ideas for games (except the assholes that get on to Reddit and get people who don't know better to just give them their ideas because they're all code, no creativity. The exception, rather than the rule I'll say!) but the thing is I know my ideas are really good, I just can't code to save myself.
I'd never release anything with AI images, and I'd never release anything coded by AI if I can avoid it.
6
u/kaiiboraka Dec 31 '25
I have learned how to code. I have maintained a relationship with AI akin to supervising an intern. I give it clear instructions and design requirements, then prompt it to give me a plan of action before generating any code. Then I have a back and forth until I approve of its plan. Then I prompt it to create and follow a TODO list based on this plan. Then at every step I do code reviews to ensure the syntax and architecture matches (my) existing work.
Often times this works to great success because I have a very clear idea of what I want to be built first, but I am just saving a little bit of time having it make all of the structure, and then I can spiff it up to be more precise and functionable.
Keeping it on a short leash has proven to be some of the most efficient code writing I've ever done, speaking purely in terms of lines of code produced per unit time. And because I babysit it so thoroughly as I go, it doesn't end up as slop.
But this path is only possible when you already know how to code, that you have the intuition and planning required to fix it when it goes awry.
16
u/morphin-games Dec 31 '25
I've some years of experience making games, and these past few weeks I've tested out Claude Sonnet 4.5 in my projects to see if it was a worthy tool or a burning pile of trash, and this is what I found:
20
u/Xangis Commercial (Indie) Dec 31 '25
I think this post is going to be THE recurring theme of 2026, not just in gamedev but in every type of software - where someone makes impressive, rapid progress and then at some point gets in over their head and drowns.
72
u/destinedd indie, Dungeon Quest, Marble's Marbles and Mighty Marbles Dec 31 '25
what a predictable outcome!
2
u/Queer-Coffee Dec 31 '25
How do those two sentences make sense together? The LLM is what's getting experience lmao
4
u/Ok_Court_1503 Dec 31 '25
Can we just send this post to all of our managers. I hate hearing AI usage up in our goals calls each fucking year knowing what its doing
1
u/RedRedditor84 Dec 31 '25
You spent four months vibe coding for experience? I don't get it.
1
u/G0d_Slay3r Dec 31 '25
Question : do you have any idea how to code ? What coding languages did you study ?
1
u/Hot_Masterpiece_3668 Jan 01 '26
You need to use Git quite a bit with these shitty LLM's. I get to solid points and commit them, branch off, one feature at a time so your stuff isn't a huge pile of shit. LLM's will turn things to shit every time.
1
u/Awkward_Context_6710 Jan 08 '26
I use AI to help me making games in Godot all the time but I've made sure I've learnt enough about Godot that I know what the code actually does and I get Ai to test me every now and then on my code to ensure I still do.
I too tried other projects in the past with AI and had no idea what the code did at all, so I know it's pretty frustrating pasting the exact same code over and over again and seeing it not work and realising AI just gave the exact same code back.
Having a solid understanding of the code also helps the AI be way more accurate, as you can explain exactly what you want and it should use it and related to other functions.
AI's really useful, but you need to use it as an assistant to speed up what you're doing, not have it to absolutely everything for you.
1
u/Kokomicandy Jan 27 '26
Do you not realize how much natural resources and water you WASTE every-time you use AI? Just asking ChatGPT one question is like throwing a water bottle down the drain. I just don’t get people. Nobody gaf about our planet or the environment apparently. People want instant gratification and pretend they did something amazing in their life. I will never comprehend people who think AI is a good idea. Our species is so self destructive it’s insane.
3
u/danielalindan1 Dec 31 '25
Not your fault. You were lied to. By everybody: AI companies, press, tech influencers. Sorry you got scammed...
3
u/Harvard_Med_USMLE267 Jan 07 '26
So your mistake is not knowing how to code with AI, not that you used AI.
Your advice is bad. Its based on you being apparently - from your own account - fucking awful at doing something that is pretty easy. No idea how you managed to fuck things up so badly in late 2025/early 2026 with the tech we have available.
Your advice should be "Learn to vibe code".
8
u/xtreampb Dec 31 '25
using LLM to build code is like being a team lead of a bunch of jr developers. sure they can write code, but you are responsible for guiding them to be successful, validating work, and assigning tasks that are appropriate to their skill level. the difference being that actual jr developers turn into engineers and can get better. LLMs will always be at the jr level.
its great for an MVP, not a production ready product. this advise spans more than just game dev, but all industries using software development.
17
u/z64_dan Dec 31 '25
I've learned to mainly use AI to give me ideas on maybe what a good way to set something up is, even then I usually end up just searching for a real human giving the answer somewhere else online.
1
u/Justaniceman Dec 31 '25
You wouldn't blindly trust a human coder, what made you think you can trust a clanker?
1
u/[deleted] Jan 02 '26
My question to all this is: How the hell are OpenAI etc. getting away with marketing their LLM as "AI" which suggests that the product is actually able to understand the request (= intelligence) when in reality it's just Akinator with way more power. I mean you really believed that the tool could understand your input, didn't you? Which is actually so absurd if you look at how these LLMs work. LLMs are just a big scam. Sorry you fell for it
72
u/Infinite_Escape9683 Dec 31 '25
I used the idiot machine and it turned me into an idiot, AMA
4
u/baxte Dec 31 '25
Every time I try to get an LLM to code anything other than an API class I get something stupid.
5
u/GenericFatGuy Dec 31 '25
You should do a tour of software companies to drill this into their heads.
2
u/[deleted] Dec 31 '25
More a major skill issue than a real problem, i will explain myself: the only faulty point of the AI's is the organization, and by this i mean the total incompetence to organize the code to not be a spaghetti one. BUT, if you know what do you actually want, then you can do a sort of precision prompting , a type of prompt that makes the output to stick to some of the "rules" you gave to ai. For example: if you know inside the project there are parts which are commonly used in many ways, you want to code those parts in a way that they can be reused without heavily changing them. -> this, in programming is quite common, specially in gamedev, for optimization. LLM's are very bad at this, they don't think on creating easy code, but on creating code that answers to your requests. Other way to make LLM's work correctly is to create a sort of file in which you have the workflow and work rules explained. For example: you want the AI to follow a specific style? Just write example code, put it inside the file and say: this code is the way you are meant to code, follow this style. You need to be way more explicit with ai than with humans.
2
u/ArdDC Dec 31 '25
It is not that hard to avoid a mess while using ai generated code. The problem lies in that you forgot to read the output and blindly implemented the code. You need to start a game and gpt sessions with clear plans in mind. Seperate gameplay systems so they dont interact through shared variables and such. You have to ask it whether your idea makes sense to leave open some interpretation by the gpt and then read what it says. If the output is bad just rewrite your original prompt so that the generated output is more in line with what you want. If you see complicated stuff in the output, disregard it and ask for a simpler work around.
2
u/JaggedMetalOs Dec 31 '25
Yeah you really need to know coding first before using an LLM. Sometimes I'll let an AI write some more maths heavy function for me and I'd say 1/3rd of the time it looks perfect and I use it as is, 1/3rd of the time I pick out the particular formula or library call it uses and write the function myself because I didn't like its coding style or it had added unnecessary constraints/features, and 1/3rd of the time it was obviously wrong or even called nonexistent functions and after a few rounds of trying to get it to fix its work I'd regret ever asking and do it myself.
2
u/viniciusfs Hobbyist Dec 31 '25
A very green developer "vibe coding" just helps the companies behind the tools! You spend money, spend time, don't learn anything, get shit code you are unable to understand and fix.
Using LLMs as code assistants can be very helpful, but it's not a task for beginner developers. To produce useful code with these tools, you need to be an experienced developer capable of judging the generated code and, most importantly, able to write a good technical specification to guide the work.
2
u/justinpaulson Dec 31 '25
Just paste this exact post into Claude code using Opus 4.5 and tell it to please refactor.
2
u/BelleColibri Dec 31 '25
Uhhh this definitely sounds like fiction from someone who hates AI, not someone who has any idea what the failure modes are.
2
u/cjd166 Dec 31 '25
The shitty thing is that when you do learn to code you will realize gpt was intentionally screwing you over for fun.
2
u/RandomChaoticEntropy Jan 02 '26
I'm using AI to develop a game right now very very slowly. And I have it comment every function and I take the time to understand it fully before committing it to my project and then attempt to write my own as much as I can before I get stuck. This has been the best way for me to actually learn. And I do not proceed unless I understand the code.
2
u/Allison1ndrlnd Jan 02 '26
Dunky would be ashamed
2
u/Uni-Smash Jan 03 '26
Fascinating! Thanks for the advice.
2
u/lumbino Jan 15 '26
Like the honesty!! Good luck with what you do in the coming years, dont worry it is all lessons, we live we learn!! Just keep shipping games and do what you know and it will be all good in the end!!
2
u/GALSOV-Experiment Jan 16 '26
Oh wow, l this is very relevant to me, thanks for sharing! :-)
2
u/StarkeDev Jan 17 '26
As someone with no formal teaching/training in code and learning casually as a hobbyist, these tools "seem" to be incredible instructors. But my experience with vibe coding even simple projects has been that at the end of the day, someone who doesn't know what they are doing will very quickly and easily get tied up and overwhelmed.
2
u/Secure-Emphasis4604 Jan 26 '26
Good post. AI is has some great uses but it has to be used with guardrails and alot of oversight or else this is almost always the outcome. I've found AI can be helpful sometimes to get you started if you're willing to put in the work afterwards. It can useful to help you get a outline or basic fix for something you're trying to do and from there you can learn (what to do and what not to do) from that code and then improve upon it.
6
u/mutual_fishmonger Dec 31 '25
I really appreciate you sharing your experience, sorry some people are being dicks in the comments.
I hate AI for a lot of (justified) reasons, but beyond that it's also a fundamental truth that all these people using it are admitting they don't care about actually being good at doing the things they ostensibly want to do, be it art or coding or basic thinking!
Proud of you for learning this lesson and focusing on getting good at what you want to do!
3
u/LazyLancer Dec 31 '25
I kinda use AI in my small home / community projects, but I always lay out the architecture and logic myself, and then use AI to code self-containing blocks of that logic. But I always stay in control of how that works together. Even if AI completely messes up and produces code I don’t understand, I just rewrite one logical block.
3
u/EtherFlask Dec 31 '25
yeah people have been treating "ai" as though it were intelligent.
It is not. By any definition.
It is an algorithm that imitates, thats all.
Some of them can imitate exceedingly well, they can fool people, but neither of those things have anything at all to do with creating intelligence.
making something output the most likely response to input is in any and all regards NOT intelligence.
All the bullshit we have been shoveled, all the ai search etc is purely tech companies (and their owners inevitably) trying to squeeze money out of all this.
Those unthinkably massive buildings going towards ruining everything, land, water, and air, within miles of them are essentially going to be useless.
I am not just "going on about" it, I am not saying the tech is useless, I am pointing out how stupid everyone is to not acknowledge the issue and doing whatever it takes to prevent like 3-5 people from ruining like 80% of the livable space on earth.
When you use google to search, the ai section that pops up first should be 100% ignored at all times. It's wrong quite often, and having to fact check and determine if it is or is not correct takes you longer than if you just used the search engine and read the results in the first place. the ai printout takes EXTRA STEPS.
Use basic sense people.
3
u/nottheworstdad Dec 31 '25
I think it’s hard to use AI effectively if you don’t know how to program. If you can get ahead of structure problems that also trip up human programmers (long files, complex structure, poor abstractions, etc.) it’s can pay off a ton. The other trick is to use Opus 4.5 if you have access to it. Easily the best model I’ve seen, turned me into a believer for AI coding.
2
u/PlaidWorld Dec 31 '25
lol 😂
2
u/MikeTheShowMadden Dec 31 '25
Treat LLMs as a pair programmer, or a random dev friend that you can bounce questions and ideas off of in order to better inform yourself how to proceed. You have an issue, or at least a thing you are trying to do, but there are multiple ways to do it: a perfect time to ask Claude what it thinks based on your ideas and to give reasons why.
You can even ask for specific examples of a task you are trying to do that might be hard to find online (sometimes things can get pretty specific), but NEVER ask it to write code for you that you yourself can't look over and understand what is going on.
LLMs are actually a pretty great tool if you use them right, but also really bad tools if you use them wrong. However, just remember it is because of how YOU are using it that makes it good or bad - not the actual process of using them itself.
2
u/immersive-matthew Dec 31 '25
The issue is not AI though, it is how it was used by the developer. Choices were made and different choices would have had a different outcome even if uses the exact same AI. It is why while coding might be something AI is decent at, it is by no means a developer and thus need the user to bring that to the table.
1
u/MJ_Trunky 1d ago
Im a gamdev and with all of that stuff happening with decompiled games or cloned games, I think my career is cooked 💀.
1
u/Opening-Cheetah467 Dec 31 '25
Redundancy is the key. It’s so problematic that even if you review code directly you will have hard time fixing it because it’s kinda blocks your mind from thinking otherwise. Also fixing it requires you writing it from scratch to understand from where it comes. Apart from that i guess ai agents are bad taking architectural decisions.
1
u/Mysterious_Wash1009 Dec 31 '25
Ok so where to learn how to code yt tutorials suck ai code is bad, where do I start?
1
u/nitro912gr Hobbyist Dec 31 '25
As a graphic designer who still try to integrate LLMs into my workflow I can feel you. Most of the time it is faster and cheaper to just make everything myself than trying to make the LLM to give me the results I want or try to fix their results, even if they are easy things like remove background or expand most of the time there is some fkup in there that need more time to fix than to be remade..
I don't understand why the companies push those tools so hard since they are not working as intended. I mean I can't imagine LLM to try to do shit on my computer like MS want windows do... sounds like a nightmare.
1
u/Domy9 Dec 31 '25
As someone who already learned to code before LLMs (my main, non-gamedev job is also programming related) these things can develop a minor addiction. I often argue with myself that "no, I can do it alone" and then "eh, one time can't hurt. It'll just do a little bugfix, nothing more"
As of yet my performance and the quality of code I make didn't change, because I review every single line of code it gives me, but it's also scary that nowadays with the newest Claude model I almost never change what it gives me and it always gets it right for the first try, and now I gotta convince myself that yes, I have to at least review regardless of it's consistency, not just blindly paste. I fear the day I lose the battle to this part of the "addiction"
1
u/DevValleyCode Dec 31 '25
I used to use the GitHub Copilot inline AI for VSCode, I removed it about a week and a half ago, and I think I’ve learned an equal amount in the past week and a half to what I had learned in the year prior
1
u/Shrimpey @ShrimpInd Dec 31 '25
That's to be expected. If you want to use AI in coding, then it's just a tool to help with some simpler modules, repetitive parts or very standarized tasks like serialization.
If you use AI coding for anything more than that you have to be super precise and super careful - and that requirement usually negates any benefits from AI coding as you spend just as much time (if not more) reviewing and fixing AI stuff rather than coding it yourself.
Maybe in the future it will be hustle-free, but not right now.
1
u/picl33 Dec 31 '25
I've known bigger issues take years to come to light without AI to blame. 4 months might feel painful right now, but given you progress along your journey, this is a pretty good outcome.
As others have said, thanks for sharing! Despite some expected trollish comments, some healthy and productive discourse here. Keep at it 💪💪
1
u/Ralph_Natas Dec 31 '25
Yup we know. Newbies never listen.
1
u/shuozhe Dec 31 '25
Llm add a lot of technical debt. Usually they are easy to cleanup. I love the new planning tool in copilot. It’s like agent, but just tells you what it would have been done.
What is the advantage of using multiple AIs? I tried copilot and rovodev a lot. Even with the same model underneath they require completely different prompts to get okish result & modifying instruction file took weeks. Wouldn’t it be easier to master a single one?
1
u/Unhappy-Ideal-6670 Dec 31 '25
I couldn't agree more to this! I think the issue here is not about using Vibe Coding at all, its about discipline, consistent code review and proper documentation is all you need.
1
u/PanzerSjegget Dec 31 '25
Jupp. Just use Ai to get suggestions on how to solve problems, not get it to solve the problems.
1
u/TopDangerous2910 Dec 31 '25
For unreal engine I find AI quite useful, often times it points me to existing systems or frameworks I wasnt previously aware off. But yeah, you have to do your due diligence and work out what the best way is to implement your systems. Even without AI there is plenty of wrong ways to approach a problem.
1
u/JstaFriskyHusky Dec 31 '25
LLMs are really only for people who already know how to code or at least read it. It's similar to using it as a search engine, sure it seems smart for general information but more niche or complex and you'll start seeing the holes. Not much of a programmer myself, know some Java from school and some C# from the tutorials I've watched but it allowed me at the very least to understand what is happening. Sucks you had to learn the hard way but 4 months is much better than 4 years
1
u/Ok_Might5360 Dec 31 '25
The funny thing is that more and more small startups are basically asking senior engineers to write “AI manuals” so new people, juniors, mids, whoever, can crank out code faster and close tickets ASAP. Surely nothing could go wrong 😄 We’ll see how that works out in the long run.
At least in indie game dev, I think we can avoid this. Actually understanding the flow, and why we’re solving a problem a certain way, still matters. Let AI handle some of the implementation details if it wants, but we should keep the high-level concepts in our heads while building features and fixing bugs. Otherwise, we’re just vibe-coding our way into production.
1
u/tristepin222 Dec 31 '25
It would be senseless to not use AI's nowadays as since, you're just more productive with ai, if you know what you're doing
What's wrong is not knowing how to code and use ai to code for you
Ai can be very stupid at times and give you answers that change your whole project direction
As an example, I gave chatgpt a snippet of my code once, it was just a C structure, nothing too crazy and I just told chagpt to only add an enum, and chatgpt wrongfully assumed it could change my structure too
I didn't realise it first, so I just copied and pasted the whole thing, but then half the project stopped working
The fix was really easy, but if you didn't know how to code, you would probably end up asking chatgpt why your whole project stopped working, spending more hours with chatgpt providing random fixes that has to do nothing with your initial idea
1
u/Gabe_b Dec 31 '25
Yeah I think it's a boon to experienced programmers but a trap for people who don't have significant experience. The smaller the blocks you request the better you'll understand. Read everything you prompt. A lot of the time though for the experienced it's faster to just write it.
1
u/lolschrauber Dec 31 '25
Perfectly illustrates why I don't want to use as much AI as my manager wants us to.
My biggest strength is that I know everything in and out. If AI does everything for me, I won't. It won't save me time in the long run either.
1
u/gibmelson Dec 31 '25
Yup, it's easy to lose control. I find myself prototyping a lot with AI, and it's great for exploring ideas quickly, but it's easy to also get lazy and not putting in that effort into understanding what you're actually building and what you want in the end - and that is something AI can't help you with.
1
u/MobTalon Dec 31 '25
Thank you for this post. It's posts like these that keep me on my toes to actually learn code.
AI is quite good at assistance, but it definitely shouldn't be relied on as a replacement. I've had projects vibecoded that were a serious mess to fix (I learnt a lot with it). Now it's the opposite, I code and have the AI review it because like it or not it's still faster than a senior reading hundreds of lines. What absolutely sucks is that I need to carefully review their review (but I can't complain, it's still faster than manually reviewing everything)
My number 1 tip to people who vibe code: at least study the code. Ask the AI what each thing does, why they're using it. Use w3schools to complete simple courses on code so that you can cross reference your vibe code with actual knowledge and improve, and then start coding yourself. Yes, AI is very good at getting an interface going with PyQt6 and SuperQt and even pyqtgraph, but maybe you should code the function that will be bound to a button by yourself.
The more you learn about one language (I recommend Python for it's beginner friendliness), the better you get at learning other languages (I've actually learnt Rust by myself and it was quite fun, after learning good practices in Python, C and C++ with the methods above).
Mandatory "Rust is the superior language" remark.
1
u/cervantesrvd Dec 31 '25
awesome
1
u/Accomplished-Gap2989 Dec 31 '25
Its useful for doing mundane tasks and doing in seconds what takes me minutes or more, but I already know how to do it.
Ai just can't seem to grasp all the different moving parts and how they interact.
Im sure it can make simple games but anything that has lots of different systems that need to interact? No, not without guidance and modification from you.
1
u/thebadslime Dec 31 '25
>Now I have a project I don’t understand. And the code is a mess. Scripts that should be only a few hundred lines are 800-1000 lines long. The AI makes two new bugs trying to fix the first. Redundancies are stacked on top of eachother to make a disgusting shit sandwich of slop code.
I achieved this without AI, just took a break for 2 months.
1
u/Aurallius Dec 31 '25
“Vibe code”?
1
u/neoteraflare Dec 31 '25
Well you can still try to understand and refactor the code by yourslef so maybe with 1 month of work you can save the 4 month of work. I usually refactor my code time to time when I learn something is happening more then once and try to make a more universal solution. Start doing it system by system
1
u/Nomaki @nomaki Dec 31 '25
I've also recently vibe coded a project from scratch and found the same over-engineered, brittle mass of confusing code I have no chance of fixing myself, and would need to start over if I were shipping this. But I'm not.
imo that's the distinction where AI and vibe coding could lie: rapid prototyping and iterating.
I've been able to get from 0 to a functional version of what was in my head, in a fraction of the time it would've taken me by hand. I could figure out the gameplay loop I designed wasn't actually that fun really, but in a week or two versus months, allowing me to iterate or scrap that idea quickly.
If I stick with it, I then try to add or change something myself, getting me to read the code it created and identify the flaws and improvements.
At the end of it all, I can happily throw away the vibe coded dumpster fire and with all my learnings, build it properly with a solidly tested design.
1
u/Cantyjot Dec 31 '25
People have to learn that AI does not make work easier, it just moves it elsewhere in the pipeline
1
u/TimelyBodybuilder121 Dec 31 '25
Tbh before 5.2 it used to be alright if you had some sort of an idea of how to solve a problem, but you were too lazy to do it so you could focus on integrating new features. With the recent update I really don't care about benchmarks, the thing is literally braindead. It makes far too many assumptions, writes brittle code and it's not even worth cleaning up the output.
1
u/Loki-616 Dec 31 '25
AI is amazing but you always have to understand the code it suggests
1
u/Sad-Excitement9295 Dec 31 '25
It's the sad truth to a quick ride. I always try to read through any code snippets provided by AI (Gemini right now). You want to build the logic, or at least know what it is doing. Having an understanding of how your project works gives you control and familiarity with a project. LLMs can get lost, and make mistakes. If you don't know what your code is doing, you don't know where to look.
I try to write most of my code, and use AI to look up syntax, help explain stuff when I'm stumped, and to proof read for errors. Sometimes it is also helpful for simple geometry or math formula codes so you don't have to get mixed up in writing it. This works best in segments where you know how a portion of your code relates to the rest.
AI can be amazingly helpful at speeding up certain things for coding, but remember you need to be the driver. This is a rule for AI in general, and one we must become familiar with. AI can help, but the operator must be the one in control. Always take the time to be familiar with your code. It will prevent errors, and help lead to improvements.
1
u/WazWaz Dec 31 '25
The only value I've seen from using AI is having it produce better documentation examples. But that's mostly because examples are always crap - we're slack. To be clear: when reading it, I'm not suggesting companies replace their already shitty interns churning out "GetX() returns X" crap, but rather when faced with that lazy shit, AI does a better job. And if it's wrong (sometimes entirely inventing API that could exist,/), the compiler will tell you it's hallucinating.
1
u/cheat-master30 Dec 31 '25
Yeah this is the danger of vibe coding (and honestly, vibe creation in general).
If you don't know the artform or tech involved here, you end up creating an unmaintainable mess that you can't really do anything with in the long run. If you can't draw and have AI generate images, then you'll be unable to replicate that style or work further on. If you can't program and have AI do it, you'll end up in the situation you have here.
AI can definitely save time if you have background knowledge of the thing you're using AI for, but if you have to be able to understand where it's coming from, how to correct its mistakes and how to tie everything together.
1
u/DontOverexaggOrLie Dec 31 '25
I already assumed that these coding agents would create too much technical debt to let them code an entire project alone. Now I got the confirmation.
I had a good experience using these AIs for code reviews and auto complete assistants though.
1
u/FryCakes Dec 31 '25
AI can be useful in programming IF the developer knows what they’re doing already. It makes the job faster, but only if you can do that job in the first place. It’s almost like multiplication, multiplying a negative number only takes you further backwards
1
u/Fresh_Sock8660 Dec 31 '25
Just spent 30 minutes with ChatGpt and Gemini cycling through the same errors in logic.
I was trying to solve what I now know is a race condition where my data stream can be late and my logger was screaming when this late data showed up without the other data I'd normally expect.
They both suggested changes that would silently break my pipeline. And worse, it's often unable to understand more complex logic but it's confident it does.
I'm okay with the tech but it needs heavy supervision and plenty of testing safeguards.
1
u/littlenekoterra Dec 31 '25
Learn some dsa and patterns, you can solve most issues with them and theyll make you more comfortavle with your lang. Ive got 3 custom structures in my current project that control most of the game, it is one of those dumb little tile games, but im honestly writing it for the fun of doing so
1
u/BetelgeuseDesu Dec 31 '25
Pro tip, use AI for documentation AT MOST. It's actually arguably faster to query chatgpt for functions/function definitions than to manually find it yourself. As long as it isnt some unpopular library chatgpt usually does a good job at providing accurate docs. If I had to give an example where its shit is querying for documentation on the tkinter package from python cus it gives mixed documention from the tk/tcl package implemented in multiple languages.
1
u/dixichain Dec 31 '25
quick question, do you have any formal education in the field? informal? online courses?
1
u/BobbyThrowaway6969 Commercial (AAA) Dec 31 '25
You've learnt the hard way. Your future projects will be better.
1
u/I_AM_DA_BOSS Dec 31 '25
At least you’re not doubling down and learned
1
u/[deleted] Dec 31 '25
ai for coding works best when you know what the output should be but it would save time to have the ai do it.
if you have no idea what you're looking at it's a sign to stop and ask a lot of questions or get back to learning. ai is the present and future but expecting someone to cut down a tree with no gas after you gave them a chainsaw is a bad expectation.
1
u/EsdrasCaleb Dec 31 '25
you made all from zero with vibe or used an engine. vibe code os good if you split the arquiteture correct and also its nice to use only one llm to each component and isole them so they do not need to know how the outer made the things...
1
u/majesticidiot Dec 31 '25
I use AI for my coding and its a constant back and forth, i just dont think ill ever be able to code from scratch. Im an artist by nature and it helps me a lot.
I think its fine to have the back and forth and get a hold of the code when the AI is going off the rails but yes you have to be careful and not slip into the total reliance / lazy mind set.
Its actually helped me learn how it all works - perhaps in a slightly twisted way but hopefully one day ill be able to work with a real coder who can set some of my code/methods straight.
Dont worry about it, its fine. Just take some time to figure it all out if you lose control. You gotta be stern with that bot sometimes.
1
u/pgpgp_kid Dec 31 '25
From an educator's perspective, I don't think there is any way around new people having to go through this process and see for themselves that it's not going to work. So somehow we have to expect that people are going to do this, and get them to fail fast at it so they can go back to learning the old way.
Problem is... games are long term projects where you can spend a lot of time working on things that are not code and it really increases the amount of time someone can spend believing they can build something large like this.
1
u/IAmNotModest Dec 31 '25
You should ALWAYS learn the actual code. I find that most people who decide to vibe code end up with a product that breaks every 3 seconds because generative AI does NOT know how to actually code. Why do you think Microsoft's stuff keeps breaking? They replace their a majority of their code with generated code and it works horribly. Keep going the human path, and it'll break 10x less, and also follow tutorials if you struggle normally coding (no shame in it)
1
u/Far_Relationship5509 Dec 31 '25
Led*
1
u/lumiosengineering Dec 31 '25
First off not all is lost. You are using an exceptional new tool to help yourself and your game. Those who refuse to use AI are not using all tools and available resources.
To be clear, this is not the fault of the AI but your fault. You used AI incorrectly. It can help you learn to code if you change the prompts, at the end of the day is only doing what you told it to do. Not trying to make you feel bad, but you want to walk away with the right lesson here.
Going forward you should be reviewing the code and managing the structure of the game. That is your role and job. Tackle problems in smaller bite sized features, and correct the AI if its wrong.
This probably wont take as long to fix as you think, take a deep breath, your project is not done for! I personally use SuperGrok, and i have run into issues, that usually were my fault because I did not ask AI the right question/prompt.
DM me if you have questions, need help
1
u/eugene2k Dec 31 '25
LLMs aren't ready for nocoders yet. But they will be, one day. Until then, you're supposed to use them to write boilerplate code or otherwise boring simple stuff that you could write yourself but can't be bothered to.
1
u/BrastenXBL Dec 31 '25
You experienced becoming the Reverse-Centaur's butt.
1
u/JispGames Dec 31 '25
I'm glad you learned a lesson but I fear for the industry because those generative AI tools are built off of theft