To game devs here, are you using AI to help code your games?
>>736540360A week ago I tried using AI to help with some code. I figured maybe it would ease the process. It led me down a path of using resources I didn't need and writing functions I don't need. I lost a day of progress because of it rewriting all the garbage is spat out.. It's fucking worthless.
>>736540360Tried Claude today. It's really really fucking tempting. I'm built different though, I actually know how to code and scope so unlike you yokels I can actually refine and fix the retard AI bro's code. I just need it to pump out boilerplate that I can't be arsed with.
>>736540360No because coding is easy, I can understand what I'm doing as I write it, if AI does it I have to still read what it does except now I have to code review it and check if it's actually using a real API.Coding is the easiest part of game dev. Game design, systems design, art, music, content and so on are the hard parts.
I used it extensively for a bit, but now I usually just do stuff myself and I might review it with AI afterwards. It can be useful, but it can also send you off on a wild goose chase. It's definitely not an ideal tool, but I think the best way to actually learn is to have someone to teach you, and that's a hard thing to get. AI can't replace that, but if it's all you have available then you could do worse. I think in the absolute worst-case scenario it's still useful as a rubber duck.
>>736540956>I think in the absolute worst-case scenario it's still useful as a rubber duck.For the tech illiterate tards out there, a rubber duck is an indispensable tool in the programmer's arsenal because it gives the programmer something to vocalize their ideas to; and the very act of formalizing the problem into words often helps the programmer to find the solution more easily.
>>736540360>update visual studio>a stupid automatic suggestion AI gets turned on despite me clicking no 50 times>it gave me shit that wouldnt work half the time, 48% of the time it didnt give me what i wanted, and the last 2% was just it speeding up menial tedium like variable definitions.>whatever, its kinda funny sometimes.>turned it off when it tried giving me a line that would error within itself if i used itanyone who actually uses AI code should be mercy killed.
>>736540360Im using UE blueprints for coding so NO, but for music and sound effects YES
>>736540360I work for a game dev company were making a mobile tower defense game and AI is heavily pushed by management but the code it gives you is usually not cohesive for dev teams so I don't like using it personallyAi also tends to overcomplicate things and someone with basic coding knowledge can easily write fewer lines of code and acomplish the same resultsI guess if you're new to coding you can use it if you're stuck but you shouldn't use it as a crutch or if you aim to work in teams just use it for learning
yes, the best way I use it is with github desktop, first generate some code, then create a local commit, then copy the hash for the commit (so it looks like: 3f93gd4).Then with this hash, you can adjust the code into something good by asking the AI to "read 3f93gd4 commit" and improve it and taking notice of whether it's bloating the code with a bunch of bullshit. If it makes a good change then I squash the commits so I've now got a new hash and just say "read 942d903 commit" for the new one.This is the fastest way to give AI the minimal amount of context in a new session for what's relevant to what you're working on.
>>736540360It's pretty awful with Godot. Constantly confuses 3 and 4 and hallucinates in Python methods. It fails miserably at anything more complex while also overcomplicating the simple things. Generally if it doesn't get something right first try, you'll just be wasting your time trying to tard wrangle it with no usable results.What it's pretty good at though is speedreading the godawful documentation and answering questions that are a pain to find out yourself, like "does a functionality that does x even exist?"
>>736540360The only use for AI in coding is spitting out stackoverflow pagesI would rather shove broken glass up my dick hole then let an LLM shit 600 lines of broken redundant code into a project for something that could be done in 30
>>736540360I use chatGPT to help with things like architectural decisions and how to do regular things just to prevent my novice ass from making spaghetti code. I try my best not to copy and paste code unless it's really boring backend shit that seems boilerplate. I like using it to keep me on the right track and I hope to use it less as I get more confident.
>>736540360yuh
>>736540360I only use it to implement code from another codebase into mine
>>736540360sometimes if i'm too lazy to write up some easy code or can't figure out a bug
>>736540360I used Claude to teach me js until I felt comfortable with trial, error, and copying stack overflow. Sometimes though I like to send it a nice big juicy block of my own code just to see what it’ll say. I can’t help it, I like being glazed by the affirmation machine.
>>736540360Yes.
>>736540360Yeah, but I've been programming for years so I know when it's bullshitting me.
i like it for math and physics formulas. For code architecture I have struggled to get anything usable. I still feel like it's niche and has sustainability issues if you don't isolate it to very specific tasks.
>>736540360I take pride in knowing what my code does, so no.
>>736540360Programming isn't difficult enough to make me feel like I would want to cheat and steal.
>>736540360Pretty much purely using AI, it's a lot faster. A lot.Just make sure you know your code and vet what you put in.
>>736540360No. I like solving the problems myself, and if I don't, the tech debt is just going to keep piling and piling on, forever. Half the fun of making a game is solving technical problems, why would I give that up? Most people's games aren't gonna get played by anyone, anyway.I make all my music and sound effects by hand, too.
>>736540478skill issue, try PROOOMPTING better instead of just "claude fix this"
>>736540478You need some experience in how to use it
>>736540360Yes, but the issues is that I can't quite flesh out or decide where to take the mechanics I want to implement. I have my whole vibecoded game set-up and saved, but I haven't touched it in months.
>>736540360In general I think its a good idea to use an AI as a speedier alternative for google, stack overflow, and the forums/documentation of whatever you are working with. However never ever trust what it says. Just use it as a reference of what autocorrect on steroids with internet access would write after your question. You can use some code it writes, especially the boilerplate stuff as long as you are meticulous in checking it and again do not trust it.
>>736540360>To game devs here
>>736547323>>736547454The book says you ...gay... yes... you are gay.
Also its fun to interrogate the AI when its hallucinating or made a logical error and won't back down on it. Though its a waste of time and better just to clear the context.
>>736549448and you're a technologically illiterate nigger
>>736540360I've made a lil jam game with AI-using retards and it made me hate it even more. Absolutely asinine code suggestions that only ever work in a vaccuum, caused people to think they knew what they were doing and in the end I just had to comment it all and start from scratch with much better results.
>>736550764>code suggestionsthis nigger using copilot
>>736549448Saying AI tools are shit and not even learning how to best use them is like saying cars are shit compared to horses and only using the first gear
>letting AI codeI'm not a street shitter.
It works if you tell it exactly what to do and how to do it. It's like a super glorified copy/paste/snippet machine. It's really useful for mundane repetitive tasks or for quickly tweaking a bunch of parameters at once that are in different scripts. Best use case is if you already have a substantial codebase that uses good patterns and has a consistent styling, then you feed that info into claude and be a super tard wrangler. If you're not using plan mode you're doing it wrong A godot specific tip that really helped clean up his act was to tell it to always make new scene files for new visual elements instead of making it through code, then you can tweak and fix all the poorly aligned shit yourself
tried to get claude to write me a shader code for a simple godot shader and it seemed completely useless at it. so far personally for me, I can't say AI has been that helpful for game development other than generating placeholder assets.
>>736540478asking ai how to do something is infinitely more valuable than asking it to do something
>>736540360oh hell yeah but not those goyim free AI shittery or micropenis selfhosted vram models but real AI. i can port whole bigass plugins in total different languages from other engines to godot in a few minutes.
>>736541392I use visual studio 2022 at work and intellisense is broken for everyone. It only suggests copilot, even if you have all copilot features turned off and uninstalled. somehow 2026, the ide built with copilot integration in mind, doesn't have the same problem. go figure.
>>736540591>I just need it to pump out boilerplate that I can't be arsed with.thats basically what I do with Cursor, otherwise I just have to write tons of snippets but Cursor does a good enough job of remembering what I write. But never ask it to write something you dont know how to write yourself or it'll shit itself
>>736551815>>736541392>not blocking all internet connection on visual studio on firewall levelyou only have yourselves to blame
ITT>ai wrote code I didn't need>wild goose chase, not an ideal tool>automatic suggestion AI>overcomplicate things>hallucinates in another programming language>chatGPTpeople are stupid but I didn't expect /v/ to be this fucking retarded, how are you so braindead you can't even properly use a model?
>>736554475That's AI-users for you. Learning is self-selecting; if you tend to use shortcuts, you're not likely to study properly.
>>736540360Yes but I was actually a software engineer before it came out so I know when it’s doing something that works and when it isn’t. It’s obviously not capable of creating solutions to novel problems but its actual strength is removing all the fucking googling and researching and the time spent writing, especially when it comes to obnoxious tedium like the insane amount of esoteric boilerplate every Minecraft mod comes with. It’s also going to be gone within 10 years so I should make hay while the sun shines.
>>736554982Boilerplate generation doesn't really require the trillion-dollar-infrastructure that these LLMs rely on, anyway. Given a language, you can probably get a relatively complete set of patterns in fewer than 3000 lines. If you can't write the /logic/ of your program on your own, you shouldn't be getting near a computer.
>>736555139Nothing “requires” automation, fag.
>>736540360I ask or how certain things can be done and then implementing manually as well as letting it design some fully functional tools alone with no input e.g. I wanted a json editor with a select set of template objects from my code to use as blocks and it created a command line editor for me with that feature. Anything tool that has easily checked results (in the json example it's for a cutscene creator, so all I have to do it watch my cutscene to check) is perfectly fine to hand to AI. If you can't easily verify the results I would say it's a bad choice
>>736541392I've actually had it with microslop, I bought a rider license because I was so sick of how shitty all of it is getting
>>736540360No
>>736556276You can use Rider for free now if you let them (probably) scan your data / use their telemetry-slop
programming is really fucking easy, there's NOTHING to it. The 'difficult' part is everything OUTSIDE of writing the actual code. You need to know what you are working with, and what are the goals. And these should be deterministic - for these inputs, do these outputs. It literally is never any different. Every issue that appears when you're 'programming' stems out of unclear goals or unclear conditions.putting AI in the loop means that it's not deterministic anymore and it's all vibe shit which is perfect for tasks which have 0 responsibilities, accountability, or anyone looking at the end effect with any sort of scrutinyeven examples here are things that have already been solved - ready boilerplate code available on the internet, already reviewed, tested, updated. Or, with experience, your own library of reusable logic and components to use across many projects
>>736557497>And these should be deterministicThat's actually extremely hard to achieve in general. If you use even one floating point type your code is already not 100% deterministic. Compilers can also make any math operations you do slightly non-deterministic.If your game is multiplayer/networked that adds a fuck-ton more non-determinism and at that point it's basically GG for trying to achieve that.
>>736557097What're you working on anon?
>>736558197It's a multiplayer top-down rollslop shooter game with RPG mechanics and powersatm it's basically an asset flip since I am an autist who can only code
>>736540360I ask it to read my code back to me and tell me what it does, because I have no idea what I am doing most of the time.
>>736557302Yeah I know but I have $100 and left microsoft cause I was sick of that anyway. I'd rather just pay them than have them sell my data to who knows
>>736550358>>736551232I have written more C, then you two have written words.We will kill all male zoomers and breed the female.Ai has been on the same level for years now, but some retard give it to low IQ Indians, so you could pretend to play as being white.
>>736555334I mean yes you can cut down a tree with an axe, doesn't mean a chainsaw is bad 100% of the time.
I'm an absolute zero with programming languages. I picked unity on a whim and decided to prototype a simple 2d game. Claude is so fucking good at helping a newfag, i had a prototype running in just a week from scratch, with working movement mechanics, health and healthbar, damage and primitive enemies. I have no idea how far i can go with vibe coding before ai shits itself though, but the experience is almost scary because i can generate 2d assets locally too and basically do everything but animations (and as far as i see, there are solutions for animations too).
>>736560419With vibecoding you'll always be at the risk of the AI getting stuck/confused and now you have a bunch of unknown code that you are unsure of.I would be biased obviously, but you can just learn to code, it is not difficult. Especially with C# being a very nice language (aside from writing async code but you only need to worry about that much later). Once you get to the stage of knowing what "bootstrapping" is, and how to tie systems together, it becomes way easier. Once I overcame that hurdle I instantly became 10x better at coding.
>>736543673>I like being glazed by the affirmation machine.I think using claude as some sort of code reviewer and personal couch/buddy is actually underrated as fuck compared to dealing with humans
The funniest part about the garbage code that LLMs spit out isn't when it hallucinates API's or builds broken nonsenseThe funniest part is that it was trained on a shitload of educational examples that don't take security into account so even when it works you get code that should never be allowed anywhere near prod.
What's a good way to make easy curved path meshes in Godot? I tried an addon that converts path3d into meshes and while it's fucking great, it's not curved at all>hurf durf just add 99999999999 more vertex to make it curvyNo
>>736563603Sounds like a (You) problem, everything in OWASP top 10 will get tackled if you ask
>>736563710Oh and an actual retarded fucking question: how the hell do I snap 3d meshes to other meshes? Google isn't helping meI have like two cube meshes and I can't get them their edges to snap at all. I could do it on Unity but can't on Godot
>>736559693this is the most projection i've seen from a 4chan post in like a month. what a sad way of reporting yourself as a pajeet.
>>736540360I stopped trying to become a game dev and programming master. I switched gears to a field I had no interest or insight into. I got an accounting degree and now work for the government. My life is so fucking good now. Fuck poverty.