I’ve been thinking. What if I release some of my game’s assets (like, an entire terminal simulator) to the toolbox, seeing that there a ton of stuff that isn’t on it that could be of great use to other developers? Thing is that, my own.. coding is not the most understandable by others. Stuff like, me realizing I need to, I don’t know, reassign a variable, and I do so in the middle of the code out of pure lazyness and think “I’ll change it later” but that stuff piles up, cause, after all, most of the times it doesn’t even cause any performance changes, and I wasn’t planning on releasing anything later. And somehow, it doesn’t confuse me either, as it’s my own code and I’ve been following the same style for 6 to 8-1 years now.
Now that I’ve been considering the release, would it be morally correct to use AI to “clean up” those scripts?
for example
"Can you rewrite this script to structure it better and make it more understandable to other people that might read it, without changing the core functionality? *drop code here"
Or should I actually spend the time to rewrite the scripts myself, for others? This would take TIME, though.
Thanks guys
There is nothing wrong morally speaking with using a free to use tool to create free to use assets. If anything at all the discussion would be about using AI to perform paid work, in which case some would argue it’s not your work you are selling.
This question is, of course, subjective by nature, so the answer would depend on your definition of morality, but I don’t see anything wrong with (and I think most would agree) publishing an open-source asset that you used a free tool to create.
What does morally correct have to do with this? What you’re talking about is about the only real thing AI can do. You’re not saying make me a hopelessly short-sighted script. You’re given a working example and asking for a cleanup. That said, I’d clean it up myself. I would never be able to trust AI with one of my babies.
do literally whatever you want with your game, use AI to code it, thats what partially AI was made for, its not illegal to be a skid, the only thing that changes is other people view on your skills
I don’t think this truly matters. AI can help by perhaps showing you examples or ways you didn’t realize before, and most specially with math. I think the discussion isn’t about whether it’s right or wrong to use AI, but how much it can truly help you.
I do try to use AI for some specific things and specially math, but it always ends on being me who has to make it work. AI code has a lot of inconsistencies and specially when it comes to Luau they never know every API.
I don’t think there was a single time I used AI and it gave me the fully correct solution. I always have to modify it or gather from the AI-generated code small tips or things I didn’t realize before.
So basically AI by itself cannot write good code. If you’re fully depending on it, then your code is bad or not as good as it could be if written alongside human brain. There’s tons of considerations, interpretations, situations that AI is not able to deal with like a human can. The information AI has and uses to help you is specially given by you, therefore only you can transcend the limits of the things you think, of your paradigms, and of your designs.
Moreover, you cannot even feel proud of yourself if your code is fully AI-generated. It’s not your work, it’s an artificial work.
This is moreso an opportunity for you to improve by yourself. AI is not absolute truth on good code, in fact it often generates bad code when we leave boilerplate-land. Having comments for practically every instruction block bloats the code making it harder to read due to the larger cognitive overhead involved of trying to read everything. Additionally, asking AI to modify large amounts of code is very risky. I have encountered situations where AI will randomly change part of my code that I may have implemented a certain way for a reason and then it breaks.
AI is a useful tool if you know how to use it. Don’t fall for the vibe coding trap or use it as some authority for “good code”.
I mean, if I have made the entire script myself and just got the tool to clean it up, which could pretty much be, like ordering stuff and maybe changing some functions to potentially more optimized ones, then I should be able to still call it.. sort of my work? It’s like if someone made a fork of a GitHub program of mine and made it better. I made it, was my idea. Someone else made it better. I’m not defending using AI for work, I’m just saying what I think
Morally correct as it wouldn’t be as lame as making the entire code out of AI. Since you made the code and got it to clean it up but not changing the final output/action of the code, so there’s still a fair amount of human skill involved on the creation of the script
As I said, it’d be to release some of my games cool assets that seem to not have anything like them in the toolbox, and want them to be understandable for others, without my characteristic spaghetti weird and disordered code, without having to go through rewriting them all for hours, and possibly breaking them in the process. I write my own scripts And btw, fun fact, skidding got me into actually learning scripting back in 2019. SoulShatters was one hell of an exploiting playground. Came a long way since that
Eh, people won’t probably even check the code. Specially if they use free models. I guess a check or two for requires, but I don’t think they’ll care at all
I feel like AI usage is all good so long as you dont fully tell ai to write everything for you. It is a tool after all and it is faster than a human could ever hope to be in writing but the bottleneck is it is also stupid. You have to oversee the changes it makes all the time and still be a good scripter to understand when it is just making stuff up.