Jump to content


[Help]2D


  • You cannot reply to this topic
2 replies to this topic

#1 gothikaboy

    New Member

  • Members
  • Pip
  • 1 posts

Posted 12 January 2009 - 09: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.

#2 alphadog

    DevMaster Staff

  • Moderators
  • 1641 posts

Posted 12 January 2009 - 10: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...

#3 SamuraiCrow

    Senior Member

  • Members
  • PipPipPipPip
  • 459 posts

Posted 14 January 2009 - 05:31 PM

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, Allegro, and Simple Directmedia Layer.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users