Jump to content
  • Advertisement
Sign in to follow this  
Black1104

How should I start?

This topic is 1952 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone. I'm new here.

 

I always wanted to make games, but did not know how I should start. I spent many hours looking for help on the internet but have not found anything that would be able to help me. But now I decided to ask someone on the forum because without any direction I can not achieve anything.

 

I can use: HTML, CSS, and understand the basis of JavaScript, Java, and Python. I would like to learn how to make games. I'm not a graphic designer, but my friend knows this well, and I'm sure he would help me.

 

I would like to start with a simple 2d game. I have a whole lot of ideas.

 

So I ask you for help - how should I begin?

 

And one more thing. I used the search option, but I have not found anything that would be able to help me.

Share this post


Link to post
Share on other sites
Advertisement

  You can start in many ways - all depending on your goals. If you're antsy to make games then you can start with something high level and pretty easy to use. This means things as Game Maker or maybe even Unity3d. 

  If you're not that antsy just to code games and you'd rather learn something "bigger" and more "heavy-weight" then you can try some language with an engine/library for coding games - you can choose whatever Basic, Python, Java, C++, C# etc. There are many libraries too, I'd recommend C++ and SFML. You can take a look at Blitz3d - it's the language I started with - it's really easy to code things with it, but you'll have to move away from it sooner or later if you ant to code soemthing serious.

  If you want something even more heavy weight that will distance you even more from game programming but will give you great opportunities for learning you can try a serious language as C++ (and not just the basics) and maybe studying OpenGL or DirectX.

Share this post


Link to post
Share on other sites

Since you know Java, go to the Java API read up on the Canvas, JPanel, Graphics2D, BufferStrategy, System and Image Class. This is the starting point in learning 2D game programming. Any 2D game uses these classes all the time.

 

I tell you bits of information on what the above class is all about and I allow you to figure more details on your own. Understand the methods of the above classes.

 

Canvas- this is the canvas that will create the buffer strategies for you. Usually you will just need 2 buffer strategies. 

JPanel-the canvas will be added onto here.

Graphics2D- this is the graphics context where all your game objects(any thing that shows up on the screen) is drawn here.

Bufferstrategy-it gets and shows you a buffer strategy as well as get the graphic context for you.

System- you will need this to keep track of the time of your game objects are loaded during the game and when it was drawn.

Image- you will need this along with the graphics context in order for your image to show up on the graphics context.

 

The concepts are a lot to take in so I recommend learning the concept at your own pace. But since you know Java, you should be able to understand it fairly well. Not only read but start applying these Java classes.

 

This is a good tutorial to start:

http://www.cokeandcode.com/index.html?page=tutorials/spaceinvaders101

 

You can download all the code from the above website that is actually more involved but it actually gives you a holistic view of basic 2D game programming in a nutshell.

Edited by warnexus

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!