Search found 10 matches

by Crux
Fri Jun 06, 2008 4:17 am
Forum: PSP Development
Topic: How to convert int to string?
Replies: 5
Views: 2492

Lol thats fine I can hear them coming. But like I believe you've said to many before, we all start somewhere. I do try to contribute back to the forum, but my expertise is VERY limited, but I hope to one day offer as much back as many as you do.

With that said I'll go attempt the code thank-you!
by Crux
Fri Jun 06, 2008 4:03 am
Forum: PSP Development
Topic: How to convert int to string?
Replies: 5
Views: 2492

How to convert int to string?

I've seen several examples of this, but none that work with the PSP development environment (includes are not there). Does anyone know a sure fire way of doing this? Thanks, for ANY help you can give me.
by Crux
Mon Jun 02, 2008 4:37 pm
Forum: PSP Development
Topic: Int and float from file to array, been stumped for 5 hours
Replies: 2
Views: 1457

Int and float from file to array, been stumped for 5 hours

while (fgets(tempTime,11,songPort)!=NULL) { if (fgets(tempButton,4,songPort)!=NULL) { noteTime[arrayCounter]=atof(tempTime); noteButton[arrayCounter]=atoi(tempButton); } printf("noteTime: %.1f\n", noteTime[arrayCounter]); printf("noteButton: %i\n", noteButton[arrayCounter]); arr...
by Crux
Fri May 30, 2008 9:24 am
Forum: PSP Development
Topic: psp c++ dev.
Replies: 30
Views: 7531

So if we define this...

Code: Select all

#define printf pspDebugScreenPrintf
We use this...

Code: Select all

cout
Hmm... Maybe we should try

Code: Select all

printf("Hello, world!"); or pspDebugScreenPrintf("Hello, world!");
Just a thought ^_^
by Crux
Wed May 28, 2008 9:48 am
Forum: PSP Development
Topic: Freeze on a while
Replies: 2
Views: 1173

Put this in the while:

sceCtrlReadBufferPositive(&pad, 1);

What it does is stores the current button pressed in the pad variable. Its not storing anything while its looping, so therefor it will never break the loop.

EDIT: make sure its outside the if statement as well
by Crux
Wed May 28, 2008 8:54 am
Forum: PSP Development
Topic: Undefined reference to initGraphics(), blitAlphaImag... etc.
Replies: 6
Views: 2004

Hey guys thanks for all the replies (and the laugh from Wally4000) And yes I am running tests in one folder while I am actually compiling the final program in another. So the path ../ is correct (I know it seems silly but it keeps things organized for me). The C++ files and the Header files are both...
by Crux
Tue May 27, 2008 12:17 pm
Forum: PSP Development
Topic: Undefined reference to initGraphics(), blitAlphaImag... etc.
Replies: 6
Views: 2004

Undefined reference to initGraphics(), blitAlphaImag... etc.

undefined reference to initGraphics(), loadImage(), blitAlphaImageToScreen, and flipScreen() Thats basically the error its throwing. I'm wondering is this because of my lack of correctly installing something? I have the make file correctly pointed to graphics.h and framebuffer.h but it doesn't seem ...
by Crux
Mon May 26, 2008 8:21 am
Forum: PSP Lua Player Development
Topic: NEED HELP REAL BAD WITH IMAGES ON MY GAME !!!!!!!!!
Replies: 2
Views: 4250

I just have one comment to add to the above poster. Use numbers that aren't walkable on in the thousands (water would be 1000, a mountain maybe 1001, etc.), and those tiles that are walkable on everything under that(grass = 0, path = 1, etc). I've gone the route of making a RPG and it just makes it ...
by Crux
Mon May 26, 2008 12:57 am
Forum: PSP Development
Topic: [SOLVED] Few Simple Questions
Replies: 2
Views: 1361

Thanks a lot for your reply J.F. that helped out a lot. Hope these random questions help somebody in the future. Again, thanks!
by Crux
Sun May 25, 2008 1:55 pm
Forum: PSP Development
Topic: [SOLVED] Few Simple Questions
Replies: 2
Views: 1361

[SOLVED] Few Simple Questions

First off it will be completely obvious I am new to developing on the PSP. With that said here are a couple questions I expect will come easy from the forums wisdom. - Is there a place where all PSP functions and how they are used available? - I know it is simple to play a sound on the PSP, is it po...