Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Right way to use AI?

A topic by TheGreatRan created 11 days ago Views: 405 Replies: 26
Viewing posts 1 to 16
(+4)

I’ve just started my journey into game development. I see many people online using AI to create entire games; personally, that approach doesn't really suit me, yet I’m still wondering how to effectively leverage AI as an indie developer. I used AI to help write code for my first game, but to be honest, I didn't find it satisfying—it felt more like I was learning how to use Unity rather than gaining a deep understanding of game programming. So, I decided to code my current project from scratch. Some friends have criticized me for "reinventing the wheel" simply because I want to learn game programming properly, starting from the fundamentals. I’d love to hear your thoughts on this. (A bit of background: I’m a Computer Science student nearing graduation; I want to pursue a career in the game industry while also developing my own games.)

(+3)

I make games with c++ or godot and for c++ i will use ai for stuff that i don’t understand or repetivie tasks, but i do not use ai to create any assets or marketing.

(+4)

I mostly use ChatGPT as a replacement for google searches or forums like stack overflow. Sometimes I let it generate a isolated function here and there, but I don't trust it to do anything more complicated. 

AI can be a powerful tool, but it can also get into weird tangents. One time at work, I fed it an mail related error and it wanted to completly rewrite the entire mail function. The real problem? SMTP server didn't exist anymore, just a configuration problem.  Nothing wrong with the code. 

Another time in my own game project, it wanted to rewrite half of the GUM UI library just because I wanted to change the background of my buttons. I canceled that, checked the documentation, and lo and behold, its like 3 lines of code to change the background texture of a button.  

(+1)
reinventing the wheel

That's what game engines are for. And libraries.

Using ai is not avoiding to reinvent the wheel. It is letting a tool reinvent the wheel for you. And the result might be hilarious, horrible or not work in reality at all. Or just be the essence of all the other wheels out there. If there is enough precedence, chances are, an ai knows how to replicate this. But if there is enough precedence, chances are also, that there is a library out there. Or a textbook example.

Since you ask how to use ai, why not ask the ai, if the thing you want to do is already in a library or a common feature in an engine. You can use it to teach you how to do things. Chatbots are very good at analyzing language. They might not have insights, but they can analzye grammar. If you study computer science, you might be familiar with compilers. Analyzing grammar is something procedural compilers can do. AI can do this with natural language. 

For games, the things that are not coding are rather important. Story, idea, gameplay and such. The mechanical part of translating this into code might be boring at times. Unless you really do this from scratch without an engine.

This is exactly what I was thinking. Obviously, AI can recognize a problem described in natural language, relate it to the terminology of that problem in game development, and from there, we can figure out what to learn. Thank you.

Currently, due to skill limitations, I'm thinking about creating simple but fun games. I really hope you'll try out my upcoming games.

(+1)

I personally use a little bit of AI in my games, but only to a degree that isn't risky...
except for one, which has a lot of AI, and that's why I have no intention of monetizing it...
it will always be free.

(+4)

I have been writing code for 20 years. Even on govt projects we use AI assisted code anymore. Ignore the  community and don't feel bad about programming at a higher level of abstraction. Online communities just like to engage in gatekeeping and bully people. Go have fun and use any tools you want.

(+1)

Honestly, I didn’t encounter an opinion like yours much about AI and it’s a relief to read your comment about it as someone with 20-years experience in development. 😌 We recently published our first game (which is AI-assisted) and unfortunately it was really disappointing to see people refusing to try our game just because we used AI. This also makes it hard for AI-assisted games to get playtested. 😕

(1 edit) (+2)

Politics got involved and people are herd animals. They just want an excuse to other and attack other people.

(+2)

Developing code with help of AI is not the same as using AI to generate code that you could not write yourself.

And using AI for artworks is something different entirely. Unless the customer is someone that trys to avoid all ai. People do not see the code. But they see the description and they see the graphics.

As for your game, there are two things that make it look like slop, even without considering the ai graphics.

Description page. Without even reading, it looks ai generated. I see that a lot on shovelware and slop games.

And the bigger sign is, that the game was spammed to 5 different jams. None of those jams sounds like a regular jam. They do sound like the kind of jams that accept all games and are filled with slop because of that.

First, I’m glad you shared with us your thoughts about our game because I really wanted to understand what’s wrong with it. 🙏🏻

I don’t really get why the description page looks AI-generated when it isn’t. I like writing a lot so I wrote it and all the text inside the game without AI help. 😬

We didn’t intend on spamming our game by any means. When we researched about a way to get feedback on our game we found that one way to do so is by joining jams. It was too late because we’d already made our game with a slow pace that’s why we couldn’t join a stricter jam. 😅

And about the code part I totally agree with you. We’re actually Software Engineers so we can write the code ourselves. But of course since game programming can be a bit different we’d have taken longer time to do it without AI-assistance. 🫢

I really appreciate the points you mentioned and thank you for taking the time to share them with us. ☺️

I like writing a lot so I wrote it and all the text inside the game without AI help.

I copied parts of the description into ai and asked it, if it looks ai made. It saw several signals that hint at that. Some of the feature and mechanics descriptions are strange and you repeat cozy a lot. Also, you boast 900 hints and a hint mechanic, yet say you would follow recipes. That's the sort of contradiction and internal inconsistency an ai might write. If you have a repice, you do not need hints. You just follow the instructions. Also, you say the game is hectic, but cozy. Another contradiction. And the next sentence is the empty promise marketing speech ai often use: The hints and switches will make you use your strategical skills. Try reading it out loud and consider if you really think your cozy kitchen simulator is a strategy game.


When we researched about a way to get feedback on our game we found that one way to do so is by joining jams.

You might want to verify the context for this. Look at /games/tag-cozy That is sorted by "popularity". Open random games and see how many of those popular games are in jams. And if they are, look at what type these jams are.

Also look at the other games that are in those jams you joined.

Oh, and most jams do not allow gen ai. If you want feedback from fellow developers, joining a jam might be a good idea. Especially if you actually join a jam that is about making a specific game. But if you want to appeal to players, joining a jam is tricky. That the game is in a jam is featured prominently on the game description. So the jam submission will be either seen as a positive or as a negative, imho. Joining 5 jams will be seen as spamming the game to jams. At least I see it so. Maybe other people have a different opinion about this. But I do can tell you, that most popular games are not in a jam (with exception of some charity jams).

(+1)

Hello there , I just started my journey in gamedev and currently using claude(free). I personally have a very good experience with it but it also depends on how you are using it . Being a CSE(2nd year) student myself i always cross verify the logic and I also ask claude to explain the code , so i can learn GODOT faster . I also think that using AI is now more feasible because I find it a lot easier to ask AI rather than searching info online and often cross-checking some facts they missed for ex:- you may refer to a YT video but have to check How old that video is ? if it is outdated that solution may not work on your tool, and also you can't ask questions to them so AI makes it lot easier. In simple words "It brings all the neccessary info at one place with ability to answer the questions we will raise". I am using AI in a way that I should be able to explain my projects to anyone . Rest is with you there are many ways to use AI  (Sorry for my bad english and punctuation)

(+1)

After the first project, I thought I understood everything because I had refined the requirements and reviewed the logic of the AI-written code. But when I started the second project, I couldn't write a complete player_controller file on my own. That's when I realized I had done something wrong. Now, on the third project, I think if I used artificial intelligence (AI), I could complete the prototype in about a week, but I've decided against it.

(+1)

I made a post once compiling several local AI tools for different usages in game dev. The right way, in my opinion, is using to do things you already know how to do but are time consuming or tedious by doing them 'by hand'. Or even create things that are you are not finding in any stock/asset gallery, like an specific texture or audio track.  But any method that actually keeps you in control of the workflow. Know that not all AI is prompt based or chatGPT similar.

Sharing some AI tools for Artist/Learners or just speeding production.

I'd like to invite anybody interested to pass by. :-) 

(+1)

Glad you mentioned it here, really useful resources. Thanks for sharing ☺️.

(+1)

I don't recommend using AI to code or make anything for the final game. If you really want to use AI, the way to do it is to ask the AI to explain something you didn't knew or couldn't figure out. Then you can read it and write the code yourself in your own way. Don't just copy and paste. The AI will probably give you a really complicated solution but if you can understand the logic, you can write the code again using what you know in coding. This means that you have a lot of control over your game and if you are adding new mechanics or dealing with bugs you will have an easier time than using AI generated code, and you will be able to learn, improve your skills and also feel satisfied for it. 

This is just a recommendation. You can do anything that is comfortable with you!

If you are just having fun, or prototyping, AI all the way. In my opinion this type of quick and dirty fun is exactly what AI was meant for. But you should disclose AI in the final product.

Ah, but your avatar is AI(P) made.

Yes.

Then there will always be that typical ignorant person who says: "You can't speak ill of AI, because you used AI."

everyone has there own ways

(+1)

I've got a image loader, tilemap extracter, rect colision, pushing hitbox, objects with velocity, control detection, particles, and start menu which I all made from scratch. I keep reusing them in my games.

(+1)

Hi! Well let me start sharing my thoughts about this by saying that I'm a Software Engineer who wants to develop game as well so I kinda get your situation. First of all I've to give you heads up about using AI in Game Development because that opens a possibility of negative feedback (from mild to harsh language that can be used in these comments😅). But I think that you shouldn't let that stop you, more of makes you prepared for it and to set your expectations right. 

Now to move on to your question: 

"Right way to use AI?"

Since my friend and I are still new to game development—we only developed 1 game—I'll tell you what we've figured out so far:

  1. Your idea, your plan: If you want to find a good result after using AI to develop your game you must be clear as water about all the details you want in your game. Get ready for lots of docs, diagrams, and sketches. 
  2. Assets hunt: It's better for you to look for assets packs before you decide that you didn't find what you're looking for and make AI do it. This is better both for social standards and your skills. 
  3. Repeated tasks: In our current game, I saw that I must fill the details of some assets objects in unity for 10 elements that I already had written down in my notes. For a similar case where it's all about copy, paste etc... I believe that's where AI agents work best.
  4. Tutorial for making your game: this is how we currently use it for Unity. By the way I find Unity's tutorial really awesome but to save the time to learn things on another template or game you can let it customize a tutorial to build your own game. 

You might think that: "But I'll still do things manually" and yes. It might be because of poor internet connection, slow internet speed, or following a no-cost/low-cost strategy while using AI, but I found that AI-agents—on the free-tier at least— requires you to do things on your own. Which is not something bad you know 🤭.

By the way this all depends on the game engine you use, if you use one and what kind of game you're doing. You'll need to accommodate yourself based on the different conditions your game provides. And of course there's no ultimate instructions about the right way to use AI, I was just trying to share what we learned so far. 🙈

(1 edit) (+1)

Honestly? Do what feels right for you. I feel like I learn a lot about coding from asking ChatGPT to write scripts from me, and then learning from the scripts as I go through them, and I'll probably be able to write my own scripts eventually, which will probably be way better for my project in the long run. But different people have different preferences.

Then you also have lots of strong opinions about AI, from people who insist anything AI-related is the devil to people who seemingly want to use it for everything.

(+1)

The engagement bait thread I was hoping for in late 2026... AI + games + indies: what do??

We don't write games in assembly or binary, so we shouldn't be worried about writing games in English instead of C.

is one take.

Automagic autocomplete, whether large language model in origin or asset store packaged labor trends toward low effort releases, leaving a bad taste in everyone's mouths especially the players who aren't following along *too* closely what's happening behind the scenes.

Here's what I really really really like about AI game dev right now in October '26

Homebrew is *amazing.* We already had a lot of homebrew SDKs coming out across a lot of old consoles, but AI is absolutely great at actually using all that software without you having to learn Sega Genesis fan SDKs on your own. Truly amazing stuff.

Roll your own engine & 3D web games -- again, absolutely amazing. Game dev had been getting stale because everyone uses Unity, Unreal, (and now Godot) -- but games made with engine defaults tend to feel "samey" and while you can argue AI Threes.js games feel samey as a category, they feel quite unique compared to Unity or Godot games on the web and they are TINY. I'm making 500kb 3d games with AI, it's just drawing all the models in math like a psycho.

-----------------------------------------------------------

TL;DR: SHOULD YOU LEARN TO CODE / READ THE CODE / SIT UNDER THE BINARY WATERFALL AWAITING ENLIGHTEMENT:
It has absolute incredible value to know what computers are, what they can do, what they can't do, what exists, how things work etc etc.
But if your goal is to make games -- just make games, by any means necessary.

(+1)

Oh and also the meta is having AI make tools for you. This is a screenshot of a tile / palette editor for a famicom ROM I'm working on. I can play my ROM right there in the tool and export it as a complete .NES file to be loaded into emulators right from this tool. I have tools like this for everything I'm working on right now. I would *never* make stuff this good for myself, surely not in 15 minutes.