Jump to content

Recommended Posts

I could do with some advice because i am thinking of game programming. I already know php, html, javascript but they aren't for games. But i'm thinking of either c, c#, c++ or lua and maybe java. Does anyone know which one is best? I know java can be slow and lua is not normally for the actual game code .I'm thinking c++. Also i could do with some books as well which will be good if it covers graphics and how to use graphic libraries. I'm only 13 but i would like to start learning now.

 

Link to comment
https://forums.phpfreaks.com/topic/239143-anyone-got-any-advice/
Share on other sites

Creating a game is much more than just bashing out code. Among other things you'll also need to learn how to model and apply animation. You may be better off starting with Unity3D which has both free and commercial packages and provides you with an IDE to develop your game in. It has a decent rendering engine that supports most of the complex features you find in a game and it has a community from which you can "borrow" models, maps, ..

 

Unity 3D Game Development By Example may be worth a look. A nice extra about Unity 3D is that it runs from within a web-browser (after installing the Unity client) so you can show your class-mates how cool you are from any PC ;)

I could do with some advice because i am thinking of game programming. I already know php, html, javascript but they aren't for games. But i'm thinking of either c, c#, c++ or lua and maybe java. Does anyone know which one is best? I know java can be slow and lua is not normally for the actual game code .I'm thinking c++. Also i could do with some books as well which will be good if it covers graphics and how to use graphic libraries. I'm only 13 but i would like to start learning now.

 

I'd suggest XNA with C#.NET i, it's a great starting point imo. I found Unity to be allot more 'IDE' and 'game design' orientated and not allot of hardcore coding going on.

I could do with some advice because i am thinking of game programming. I already know php, html, javascript but they aren't for games. But i'm thinking of either c, c#, c++ or lua and maybe java. Does anyone know which one is best? I know java can be slow and lua is not normally for the actual game code .I'm thinking c++. Also i could do with some books as well which will be good if it covers graphics and how to use graphic libraries. I'm only 13 but i would like to start learning now.

 

I'd suggest XNA with C#.NET i, it's a great starting point imo. I found Unity to be allot more 'IDE' and 'game design' orientated and not allot of hardcore coding going on.

 

XNA is a pretty good starting point. If you read a few tutorials (and the documentation microsoft has for it is pretty good) you can make some 2d games in a matter of hours. I would suggest starting with 2D games so you can get your feet wet and have some experience with some of the simpler mechanics involved with game creation (tracking movement of objects, drawing to the screen etc.) Once you have these things understood, you can move on to the more complex game making topics, (like the ones Ignace mentions, or algorithms for finding the best path/optimal solution from a starting point to a goal, etc.).

 

But just so you know, making games isn't as easy as you may thing. There are some concepts and problems you will encounter that just don't come up in languages like PHP/Javascript or web development in general, that you will come across alot in game development (this is one of the reasons I suggest starting with simple 2D games)

 

The Best starting point would probably be to implement a pong or brick attack game, so you have some experience with position tracking/bouncing/collision which are pretty core concepts. Then move on to different simple 2D games, and perhaps make up your own, or add new/different features to an old game you are implementing

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.