If i were to make a game, what kind of software would i need? i also want to know how i would go about making a game with animations.
don't reply if you don't got anything positive to say SMILE!
If i were to make a game, what kind of software would i need? i also want to know how i would go about making a game with animations.
don't reply if you don't got anything positive to say SMILE!
If you want to program a game yourself, probably the most important thing you'll need is a graphics library. SDL is pretty easy to install and use. This question has been asked alot here, so you might wish to do a search in the forums.
Animating something is fairly simple. You would have all frames of the animation stored in memory and a pointer which points to the current frame. Then update the pointer to the next frame and when your renderer renders the image it uses the frame pointer.
Or even arrays with a stored image and switch the image using an index.
Woop?
Use the index method. It's much easier to implement and IMHO it's more robust and easily extended.
I don't know why people suggest SDL all the time. It's not a standard for anything. Thus, learning a standard graphics library is again to be learned rather than using the first library you started with. To me, it's a waste of time. Learn either OpenGL or DirectX and get a job with it.
@ dxfoo
You sound very experienced and knowledgeable. Pray do show us your OpenGL/DirectX game creations. Do you do game programming for a living?
I thnk SDL is a nice learning environment and game programming techniques used while coding with SDL are certainly still relevent when using directx. I would agree that somone intending to be a profesional is going to have to learn directx at some point but I wouldn't say learning something simple like SDL is time wasted.
SDL was used for Quake 4 to run on Linux. So what does that tell you?
That Linux has less API support than Macs.Originally Posted by sand_man