Any advice for people who second guess their code and doubt their skills

I have been scripting for quite some time now, but there’s always something in the back of my mind that makes me doubt my work, I over-complicate things when they’re fairly easy and I tend to sometimes compare my systems to others’, I want to grow into advancement but I feel like I’m in a mental state where I don’t feel like I can get there, does anyone share similar feelings? what is your advice?

I have this exact same issue, I have been scripting for the past 7 years but still doubt my work and completely remake my games multiple times even after months of work were put into them

2 Likes

As someone who’s been coding for four years, yeah I still have this doubt you’re feeling.
The only thing that is keeping you “behind”, is by focusing on what the others are doing, and you’re not focusing on what you’re doing.
It’s good to compare, yes, but as I can imagine, you’re supposedly just giving weird points to your system, and praising totally that system that XYZ made.
Other than that, I usually just practice my coding skills, just by coding the most dumbest thing ever, to the most complicated, really depends on how I am feeling on that day LOL.

I hope this could help, cheers.

This is very relatable, I have probably remade a game more than 5 times because I am never satisfied, I tend to keep learning and when I do I’m never happy with the work I’ve done because now I know I can do better, it’s an endless cycle and I fear I’ll never be able to release anything due to my constant need to make things better

Actually lemme send you a short video I found that helps me
(https://www.youtube.com/shorts/qqimL-ewxwg)
Your goal is to finish the game, not make it perfect
Perfection comes after you have completed many games
(btw this yt channel is amazing, the guy literally has to follow his own advice because of his comment sections lol)

1 Like

I definitely try to live by this because I wanna release and I know I can always go in and readjust things but I feel like after so many years of not being able to release anything, and seeing others around me do so, it makes me feel like I have to deliver something near perfect or else all the time I spent on creating something would seem as that it was all for nothing, all for just a messy game, I am confident in my abilities but not in my willingness to just take the game for how it is and carry on, if that makes sense.

2 Likes

Issue though when you follow that is like how are you gonna get your game seen
I have like 8 games that are 100% finished have amazing potential but I just can’t find sponsors

Right, right now the challenge is releasing but what happens after? How do I get people to see my game aside the millions of others, sure I could use Roblox’s advertising system, but that isn’t enough, personally, I have no big connections or a big following nor am I widely known amongst my own community so I honestly feel like I’m playing the lottery here with that, sure there’s a chance my game could be decently big, but there’s a better chance, it won’t.

1 Like

What if you’re overcomplicating this? Have you considered this? Is there a particular problem that your scripting style poses? If not, why worry? Everyone has their own style. There may be subjectively “better” styles; however, oftentimes, it is far more effective and productive to continue with the style that you use—that you’re comfortable with—than to waste your time to find the “perfect” style. Disclaimer: there is none. With all that said, there are, however, ways you can improve. I would suggest a few things:

  1. Create a TODO list. This is something that I’ve taken a liking to. Now I always create a script called “TODO”, and I put all of the essentials first, then the minor things last. For example:
--[[
TODO:
   [X] Make NPC follow player
   [X] NPC attacks
   [ ] NPC vision
   [ ] Create placeholder map
   [ ] Create placeholder GUI
   [ ] Create placholder rounds system
   [ ] Make NPC move smoother
   [ ] Make better map
   etc....
]]--
  1. First, think about what you’re going to write. Approximately how long will the resulting script be? How complicated? Would I need multiple functions and loops? These types of questions can help you decide how to organize your code—perhaps it would be a good idea to make the system modular. Think of these questions like real-time AI reasoning if you’ve ever seen that. For instance:

I need to make the AI follow the player. How can I do this? I should probably use PathFinding. Should I use the in-built Roblox pathfinding or an external module? I think I’ll stick with default Roblox pathfinding - let’s keep it simple. We can always upgrade it later on. Alright. How should I approach this. First, I should have an entity that we control. Ok. Got that model. We would create a variable for it to use in our code. For the pathfinding, we would probably need a function that can be called to generate the path, move the rig on that path, and setup connections for the blocked event and such. That seems like a lot for one function, so perhaps I should split it up. I feel like with that split and some other helper functions, there may end up being a ton of functions. I think it would be best to use a simple module to handle moving the rig along the path. Are there any modules I can use online?
If yes:
Great!,
If no:
Aw damn. I guess I’ll have to create it myself. Do I know how to do this?
If yes:
Alright! Let’s get to work, strictly following our TODO list for only the essentials!
If no:
Alright, I don’t exactly know how to approach this. Let me do some research on DevForum, YouTubem and Google. If I can’t find anything, I can always create my own DevForum post, or even get some guidance from AI.

  1. That’s basically all I have for now. The rest is up to you. I think I have found a great style myself,

And more, much, much more
I did it, I did it my way

I guess that’s what’s most important. Good luck :D!

1 Like