so i felt like i had gained a decent grasp on core coding concepts (variables, if statements, loops) and i familiarized myself with Godot and so i wanted to start making small games to learn more by actually putting the core concepts to practice
i started making a small arcade style beat 'em up that's just 1 simple level with a boss at the end, first i coded the movement and the idle and run animations and it was all good, but then i started to primarily rely on chatGPT to teach me how to implement more simple features like simple attacking and enemy hurt boxes
what i would do is ask it something like "i wanna implement attacking, can you teach me how and explain to me what the code does ?" and at the start it was cool because it would just straight up write me code for attacking and teach me the types of nodes i needed to use, and yeah i still made sure that i actually understood what i was writing, but as time went on i started encountering a ton of problems, the code that chatGPT would write me was correct logically but it rarely worked well in Godot as intended, it'll always do something unexpected and wrong, i would try my best to explain to chatGPT about the feature that i wanted and made sure it actually understood what i wanted, but the logic would always be bugged somehow
and then i would spend an insane amount of hours (6-12 hours) debugging the issue with chatGPT, chatGPT knew how to write logical code for 1 feature but it always didn't work as intended when put in with the other features, always lots of issues
i posted my coding issues twice here and multiple people told me that my coding logic is strange and kinda cluttered
and yeah i started realizing that using chatGPT as a primary tool was a mistake, i could've just searched "how to implement attacks in godot" on youtube and i could've found a straightforward and simpler method for it, chatGPT gave me strange and complex methods that never worked right
it was strange, things like attacks and simple enemy hurt boxes are present in like every game ever, but i was spending like 12 hours just getting the most simple things to work, this does not feel right at all
don't get me wrong, i know the coding basics, and i wanna learn more by actually applying the things i learn in small basic games instead of just entering analysis hell where i would watch like 36 hours of tutorials and then never apply anything
i just need to revamp my strategy and only use chatGPT as more of a side tool for small logical issues and not having him build the whole game for me lol
i'm gonna watch more tutorials on YouTube for the specific things I'm gonna implement, what else could help me learn better ?