View Full Version : [Help]2D
gothikaboy
01-12-2009, 01:29 PM
Hi!
I need some help with my learning of c++ and graphics.
How can i create 2D Objects and 2D Backgrounds etc?
Does anyone have some sort of example or something?
Thanks in advance.
alphadog
01-12-2009, 02:04 PM
You want tutorials on how to create graphic elements (a.k.a."sprite" or "bob" (blitter object)) for a 2D game?
Just google for "tutorial creating sprite" or some such. There's plenty on the net. Ex: http://www.derekyu.com/?page_id=218 Another good search is "pixel art".
Also, you'll want a program that will allow you to create a single GIF or similar, that contains a set of animation frames. For example, you can make a 100x100 sprite by having ten "steps" or "frames" where each one is a 100x100 square in a 100x1000 image.
You can use anything from MS Paint, Paint.NET to Photoshop (overkill). There are free (http://www.humanbalance.net/gale/) and commercial (Promotion) sprite editors around...
SamuraiCrow
01-14-2009, 09:31 AM
What framework are you using? Sometimes using a different coding framework will make a difference in which editor you want to use.
Here are a few cross-platform ones to get started: Simple, Fast Multimedia Layer (http://www.sfml-dev.org/), Allegro (http://alleg.sourceforge.net/), and Simple Directmedia Layer (http://www.libsdl.org/).
vBulletin, Copyright ©2000-2010, Jelsoft Enterprises Ltd.