Sign in to follow this  

Unity Game Programming Complexity

Recommended Posts

Hello All,

I'm new on Game Programming. I have signed up forum -nearly 2 months ago so wait and searched for my condition's fitting any topic but could not find. If missed and duplicate any already existing topic is that I open now sorry for that because could not find that topic fitting all my problem. :/

Let me clarify what is my one

 

I'm not so much experienced programmer on gaming but just know Python well and some C# and JS knowledge. On game programming what I faced off that, could not code my needed functions, script etc. Until know used some Game Engines like Unity, Unreal, Duality, Löve and most last Godot. I'm sure now that gonna continue with Godot and not to change it.

However Godot script Gdscirpt looks like nearly Python  <Pythonish> GdScript is so easy syntax, I can't use it's library - reference - class etc. Instance wanna do my character fly and fire together or make it visible on some points then invisible on some, please I just giving example not want to get solution on that specific condition :)
Please do not think that  only according to me and my fault that cant use Godot's library problem. I always face off that problem with game engines. Before Godot faced off with Unity (C#),  Löve(Lua)  etc. and their libraries

More clarify my problem

So my general problem is that can not use any languages's related library, class to code my needs on game developing. Off course nearly impossible experiment on every built-in func. in any game engine's library to learn game programming. Hence I don't wanna ask my all process on game programming to other users when I develop any game.

please don't advice me game engines' -Godot- game developing video tutorials what are not theoretical to teach you general logic on game programming most of them show how to clone existing game or teach you how to clone video instructor's game  -don't give me the fish but teach me to fish -

Should I learn game programming patterns via books, or what should learn to use scripting languages and it's library side by side well? Is so any advisable book out there which I would Amazon for it? Anyway how do I pass over that my general problem on game programming? (especially for Godot and though it's weak docs)

Thanks.
 

Share this post


Link to post
Share on other sites

It's very hard to read. Really, it's veeeeery hard to read.

 

If I got you right, you want sources to learn programming logic. Unfortunately, this type of material kind of doesn't exist - the best they can do, is to give you problems to solve. The reason is that programming is all about experience, and ultimately understanding why some approaches fail (and not why they succeed, because there's always a drawback).

 

You can dig in about concepts like Object Oriented Programming, Design Patterns and so on, but without raw experience, they're more likely to put you into beliefs than in understanding.

 

A professional programmer takes about 10 years of practice before being "free". So relax, enjoy the journey, and code a lot.

Share this post


Link to post
Share on other sites

This of course is all my subjective opinions, so feel free to disregard it if you will.

"I'm not so much experienced programmer on gaming but just know Python well and some C# and JS knowledge. "

Just because you know a programming language does not mean you know programming, that being said I do not know your how much experience in actual programming you have.

 

"please don't advice me game engines' 

-Godot- game developing video tutorials

what are not theoretical to teach you general logic on game programming

most of them show how to clone existing game or teach you how to clone video instructor's game"

 

Why wouldn't you follow these tutorials? a lot of people would actually suggest you learn by making your own clone of chess,tic tac toe, snakes, tetris or similar games to build up the basic knowledge needed to continue on.

 

"-don't give me the fish but teach me to fish -"

why not have both?

Developing a clone is not easy, is it easier as you know what to copy, probably, but you learn ALOT of an engine by seeing the process. after seeing actually code, you can look up their functions and learn what they do and more importantly, why they did it.

 

It isn't only the code specifically you should look at, but the functions they use, when,how and why.

Very important things to learn when learning an engine.(and you will probably trip over and pick up some bad habits and look at your code even possible the next day and facepalm yourself for writing such code)

 

"Game Engines like Unity, Unreal, Duality, Löve and most last Godot. I'm sure now that gonna continue with Godot and not to change it."
This is what most people trying to learn game development do wrong, can't learn one engine, next!, can't learn that, next! and so on.

That cycle will continue until you learn to buckle down and try see the similarities instead of the differences of each engine. afterall many engines does things in very similar manners even if their languages differ.

Learn by looking at examples of scripts, tiny sample games, alter them, play with them,"taste" them, read the documentation of the functions/classes so that you have a better grasp of all their functions/methods.

 

I would suggest like Kirlim's suggestion reading about design patterns and programming paradigms.

Edited by Zervoxe

Share this post


Link to post
Share on other sites

Thanks for all you, to give your time for answering me.

I'm gonna note that all your advice to develop my game programming ability. And I'm still open for other users suggestions also :)

Share this post


Link to post
Share on other sites

listen to Alberth

 

baby steps

 

learn to crawl, then stand, then walk, then run, then sprint.

 

and learn at first by doing.  watching and following others.  that way you get the basic theory behind what needs to be done, and the hands on how-to to do it.

Share this post


Link to post
Share on other sites

1) There is no substitute for hard earned experience. This is what you need now more than anything else.

 

2) Start making extremely small games. The smaller and simpler, the better. Start with something like a text based "Guess my number". Then do a text based tic-tac-toe. Then do a small text based adventure game. The goal is to build and complete games to increase your skill level and experience as a programmer. If you get stuck on the simple games, your problems are simple. When you have made something like 10 super simple games, you can graduate to something more complicated such as "Pong". It's still a dead simple game, but it's now in real time and uses a game loop. 

 

3) You should expect to spend about 5-10 years practicing and working at this. I've been working to improve my programming skills for 17 years, and I'm still not a master. The only thing that will carry you through the initial pain of learning a hard skill like programming is an unquenchable resilience to push forward.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this