Ive recently learnt the basics of c# and started learning how to develop a 3D game but it feels too hard, should I start learning how to make 2D games instead?
For now I only know how to write the player movement script and the fps camera script.
About this post
- Posted
- Archived
- Score
- 20 · 100% up
- Kind
- Text
- ID
- hqcfth
11 comments
If you want to do 3D, then do 3D!!! I do NOT recommend switching to 2D if that's not what you want to do. You won't reliabley learn 3D that way. You will learn by dissecting each aspect of 3D game dev into bite sized chunks. Do NOT start out trying to make a whole game. Set a small goal like "I want to make a great looking fire effect" or "I want to make the perfect weapon sway" and stick with it. You will learn much more that way.
I've been developing for a almost a year now and I'm sure the 2D is the way to start with
You should do what you feel more passionate about. Maybe 2D is less complex, but after all you can learn everything by practicing enough. And passion will help you motivate yourself and overcome difficulties.
It's a long process.
I picked up Unity 30 days ago and scripting was foreign to me as well. I went in expecting that I wouldn't churn out a game in the first month or two and have just been learning a little more each day.
After a couple solid weeks of following along with tutorials I started a top-down space shooter (2D) and have been hammering at that to test a lot of different game elements. Last night I succeeded in getting line of sight working within a specific radius on enemies, as a concept of "radar" and visual spotting. Combined with a chase script, I've got patrolling enemies that engage my ship when they see me or when I come with a certain radius.
Every new element or mechanic I add requires a couple hours (or more) of research and testing and troubleshooting to get it working right, even with tutorials, because nothing is ever a 100% fit.
It's a long process.
What are you struggling with? Is there a specific aspect?
Well, quaternions are a pain in the ass since ive literally never heard of them before, I also tried to make a melee attack and still cant get the animation to play on trigger.
Perhaps if you both struggle with 3d stuff and game engine technicalities, you should try to get past them one at a time, I should imagine triggers are similar 2d --> 3d, so by learning how to do triggers in 2d (and much more!) you will know how to do them in 3d when you start to struggle with quaternions again. But this time round you will be a lot more experienced and have more confidence in everything apart from the bit that is new.
Quaternions don't have to be hard. You don't have to know anything about them really. (I assume you are using Unity) Just use Quaternion.Euler and it will create a Quaternion using xyz rotations in degrees. You can also convert quaternions to euler with someQuaternion.eulerAngles
That should make it easier since xyz degrees are much easier to understand. Just remember that if you assign an objects rotation it has to be assigned to a Quaternion. So just learn how to convert between quaternions while modifying rotations!
Additionally I think 2D is almost as hard as 3d as far as scripting goes. The main thing that's easier in 2D is visuals...
2D is probably a lot easier, but there's things you can't so with it
The only difference between 2D and 3D is the z component in your vectors. You need to understand vector algebra regardless of if you do 2D or 3D, so it really isn't any harder. Quaternions are used in both 2D and 3D (though technically not required in 2D). If you pick 2D you're limiting yourself. Don't try to make a full game like some other comments have also recommended, just focus on making fun mechanics to start.
Hard things become easy things as you learn how to do them. You can do it!