top of page

Tips on learning Game Programing

  • Photo du rédacteur: Wilfre
    Wilfre
  • 28 juin 2018
  • 2 min de lecture

So, you want to make a Voxel World or another game but you are thinking "I don't understand anything! Please, how can i get better?"


There are no secrets, practice is key! But they are solutions to help you even more.

Here a some tips to help you (The list can grow with time) :


- If you are following a guide or a tutorial, NEVER use the final code! Always type it yourself. It makes your brain remember the code and you think about it when you are writing. You can use the final code if you want to compare and look at the way it was written. But don't take it if you don't understand it.

The only exception is taking a code to read it and understand how it works. But still, you should rewrite it.


- If you follow a guide or a tutorial, or take a code that you want to understand, COMMENT Everything! Try to add a comment on each line (With //Comment or /*Comment*/)

Add one to the line you understand and then go to the next line. If you don't understand it, read the guide or watch the video again and then comment what you understand. If you are not sure, write everything you think and what it can be and then go back later.


- Try to optimize the other person's code. Here on our guides, we detail our code. Sometimes, calculating a value can be done in one line, but we do it in multiple lines. Sometimes you can even call a method to avoid doing the same thing again an again. If you think you want to optimize it, then do it. Your code will look better and will be easier to read.


- Don't be scared to start a new project for every thing you want to understand or test.

Here, each of our guide is a new project. It helps keeping the old guides and if the code is not working and we made too many changes, we can take the last guide and start over again. (You can also export Packages files of your last working project and import in when you want).


(More tips will be added over time)


-------------------------------------------------------------------


Tags section :

 
 
 

Comments


bottom of page