Jump to content
  • Advertisement
Sign in to follow this  
mabrax

New to Game Programming

This topic is 3650 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

Hey, well as the title says i'm new to game programming, but not new to programming. The thing the more i read where to start the more i get confuse. Well i can programm in c/c++, J2SE, some prolog, scheme, J2ME, C#, PHP, etc to name some, but the thing is still im stuck on where to start, for what i have read c++ would be my choice since im already good at programming. So i just want to start with some 2d game, like some tutorial i read tetris or some similar, but I have trouble to choose what type of graphical library I will use or I/O library, sound library. I think i can use OpenGL or Direct3d or w/e but I just want something simple on that part just to focus first on the programming of the game engine, colisions, physics, etcetera. Well like whoever reads this can see I have a mess on where to start... should I learn Python?? for gaming i dunno. Well I would aprecciate some answer from someone that already walked that path :D. Bye

Share this post


Link to post
Share on other sites
Advertisement
Try DirectXTutorial.com It's straight from the SDK IIRC, and should help you with the basics of 3D programming. If you want (EDIT) 2D, just draw everything on the same Z axis.

That's what I'm going through right now. It's definitely not the best solution, but it will get you started in the right direction.

Share this post


Link to post
Share on other sites
Take a look at XNA ... it's a free API from Microsoft which works on Visual C# 2005 Express which is also free.It kinda fits the bill ... it lets you concentrate on the game programming part.And it's based on DirectX.

I've posted these sites in another forum but I guess posting there is no problem if I post them again :


http://creators.xna.com/ - has video tutorials that teach you how to build both a 2D game as well as a 3D one from scratch.

http://www.xnatutorial.com/ - teaches you the basics of C# and then XNA but it's XNA Game Studio Express... there are some differences

http://www.riemers.net/ - very good site ... lots of tutorials on several subjects
http://www.ziggyware.com/news.php - also a very useful site

Share this post


Link to post
Share on other sites
I'd also recommend XNA, for what it's worth. You'll have to pick up C#, but if you know C++ and java, you'll find C# a delightful bastardization of the two.

Share this post


Link to post
Share on other sites
You might try SDL. It's very simple, and pretty easy to use. It's at least good for getting your feet wet while you find a better library. The biggest issue is that it doesn't have hardware acceleration, so it's not as fast as some other libraries and doesn't have certain cool features (rotation and scaling, at least). But if you're just starting, that's fine anyway.

Picking up python wouldn't be a bad thing anyway. From the size of your list, I'm surprised you haven't already! [smile]

Don't worry about "the programming of the game engine". Clicky.

Share this post


Link to post
Share on other sites
I know OpenGL is kind of dying, I am not using it anymore either. But for starting, you might take a look at nehe.gamedev.net

There is nothing simpler than that. You will focus on your game instead of the graphical.

OR, if you are on Vista. Use DX10 all the way. With DXUT you can create the window, init the device, easily render 2D sprites with a super tiny code.
Just get their SDK (DirectX10 SDK) and read it all (One night reading and you are done.) DXUT do the render call and timing for you. Then I would suggest fmod for sound since it's very easy to setup and use: www.fmod.org

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!