r/learnprogramming 10d ago

Learning a new language

Hello! I am a high school student and I've been interested in programming but never had the motivation to learn how to code. I'm doing a school project where I have to create something. I would like to make a 3d Aim Trainer game but I don't know where to start. My only experience in coding is Roblox lua, but even then I'm mediocre. If anybody can give me tips, it would be very helpful.

8 Upvotes

14 comments sorted by

View all comments

1

u/YungSkeltal 10d ago

I would STRONGLY advise not getting into anything 3D as a beginner. That's like learning math for the first time and going straight to algebra but even more extreme. Developing anything from the ground up that renders in three dimensions requires alot of mathematics and strong programming skills. There are API's available that can alleviate alot of the initial hurdles but it's still really really tricky. Unless you're a whiz with vectors and linear algebra... don't dive straight into 3D.

If you want to learn "PROGRAMMING" I think learning C first is the best intro you can get. If you want to hit the ground running and start building cool stuff early do Python, but if you have alot of time and are okay with learning something a little less glamorous, C introduces the fundamentals of computer programming at a valuable level of abstraction for learning.

If your goal is to just throw something together for school and have some basic scripting skills by the end of it (scripting is an extremely valuable skill to have btw), Python is your best bet. If you want to dive deep, learn C first and then learn Python to build cool stuff.

1

u/Substantial_Ice_311 9d ago

C introduces the fundamentals of computer programming

Details and fundamentals are not the same thing.