Noob question: Bg color

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Zyxman
Posts: 1
Joined: Sat Aug 27, 2005 9:10 am

Noob question: Bg color

Post by Zyxman »

Hi, im very very noob at programming and I can't find a way to just change the background color of my test homebrew... =(
I read in the forum about changing it to a image (PNG) ou converting it to use with pg.
But I just want a single color in the background. Is it difficult?

Sencond, is it too hard to put a image in the background? Is there an easier way?

Thanks.
statikeffeck
Posts: 11
Joined: Sun May 15, 2005 3:23 pm

Post by statikeffeck »

As a "noob" programmer myself, may I recommend that you use the SDL library found in the SVN (http://svn.pspdev.org)
Using the SDL library gives you easy to use functions to do things like load images, and change the background color.
Yes, it has some limitations, but by the time you're feeling the SDL library is limiting your game/app's potential, you'll probably know enough to move on to lower level stuff.
Post Reply