PDA

View Full Version : help please.. compiles properly, but does not run..



JesusXP
November 9th, 2006, 18:31
Hi guys. I wrestled for this for quite a while.. I have been trying to set up my game, in functions so that I can put sections of it into headers later, however right now I am doing something wrong, because the game loads just a black screen, until it shuts my PSP down.

I hit a mental block, and I'm gonna try tackling it again and again after I get some food, but if any of you might have some ideas, I'd appreciate some feedback.. Thanks in advance...

http://www.rafb.net/paste/results/S4g59t26.html

Also, I included the source to build as an attachment, all pictures included.

MikeDX
November 9th, 2006, 19:18
doh

I dont have libmad
i dont have libpng...

MikeDX
November 10th, 2006, 15:07
OK I've got it all compiled.. Now to test it ;)

MikeDX
November 10th, 2006, 15:27
Fixed it. I put some debugging information in and the background image wasnt loading

so I changed this line

background.img = loadImage("background.png");

to

background.img = loadImage("space_bg.png");


and it works. Looks cool dude.

MikeDX
November 10th, 2006, 21:23
You're welcome :mad: