Search found 15 matches

by Acegikmo
Mon Aug 04, 2008 5:43 am
Forum: PSP Development
Topic: How do I slow down the main game loop?
Replies: 3
Views: 1737

Thanks, I'll try that :)
Where should I place it?
Before the draw?
After?
Before input?
by Acegikmo
Mon Aug 04, 2008 5:11 am
Forum: PSP Development
Topic: How do I slow down the main game loop?
Replies: 3
Views: 1737

How do I slow down the main game loop?

I tried sleep(1);, but that sleeps for one second, not one millisecond.
And 0.001 doesn't work at all.

How do you delay each loop?
by Acegikmo
Thu Jul 31, 2008 6:14 am
Forum: PSP Development
Topic: Is there a program that lets you play PSX games multiplayer?
Replies: 1
Views: 814

Is there a program that lets you play PSX games multiplayer?

Is there a program that let's you play multiplayer in PSX games through WiFi?
If there isn't; how hard would it be to make?
by Acegikmo
Mon Jul 28, 2008 8:23 am
Forum: PSP Development
Topic: How do I write the text in printTextScreen(); ?
Replies: 7
Views: 3368

Thanks :)
by Acegikmo
Mon Jul 28, 2008 6:53 am
Forum: PSP Development
Topic: How do I write the text in printTextScreen(); ?
Replies: 7
Views: 3368

What about float variables?
by Acegikmo
Mon Jul 28, 2008 6:16 am
Forum: PSP Development
Topic: How do I write the text in printTextScreen(); ?
Replies: 7
Views: 3368

Works great :)
But could you explain what this line does?
sprintf( buffer,"%lf", dist);

I mean, what's "%lf" ?
by Acegikmo
Mon Jul 28, 2008 5:40 am
Forum: PSP Development
Topic: How do I write the text in printTextScreen(); ?
Replies: 7
Views: 3368

How do I write the text in printTextScreen(); ?

Another question how to write something :)

extern void printTextScreen(int x, int y, const char* text, u32 color);

How do I write the text?
I want it to show the value of this variable:

double dist;

But this doesn't work:

printTextScreen(32, 32, dist, 0xFFFFFFFF);
by Acegikmo
Fri Jul 25, 2008 5:07 am
Forum: PSP Development
Topic: How do you write the color in drawLineScreen()?
Replies: 3
Views: 1835

Thanks, I'll try that
by Acegikmo
Thu Jul 24, 2008 4:36 pm
Forum: PSP Development
Topic: How do you write the color in drawLineScreen()?
Replies: 3
Views: 1835

How do you write the color in drawLineScreen()?

Yeah, I don't know what way to write the color.

drawLineScreen(ax, ay, bx, by, ??? );

So, for example, how do I draw a white line that's not transparent with this?
by Acegikmo
Sat Jul 19, 2008 10:05 am
Forum: PSP Development
Topic: Game background is flashing, character leaving trails
Replies: 10
Views: 2995

Great, thanks :)
Just a few questions.

What does this mean?

bombs.x = bombs.y = -1;

And what's this?

unsigned int old_buttons = 0;
by Acegikmo
Sat Jul 19, 2008 7:08 am
Forum: PSP Development
Topic: Game background is flashing, character leaving trails
Replies: 10
Views: 2995

I just don't know how to do it. One bullet is fine. One piece of code to loop through all the time. But multiple bullets is a problem; I don't know where to start. Should I make a Structure like this? typedef struct { int x=0; int y=0; bool on=0; } Bullet; Could you make a simple e...
by Acegikmo
Sat Jul 19, 2008 4:30 am
Forum: PSP Development
Topic: Game background is flashing, character leaving trails
Replies: 10
Views: 2995

Works great!
What method is the best way to make a character fire bullets?
by Acegikmo
Sat Jul 19, 2008 4:04 am
Forum: PSP Development
Topic: Game background is flashing, character leaving trails
Replies: 10
Views: 2995

Thanks, I'll try that :)
by Acegikmo
Sat Jul 19, 2008 3:42 am
Forum: PSP Development
Topic: Game background is flashing, character leaving trails
Replies: 10
Views: 2995

How would I write the code then?
I'm not sure how the image loading works
by Acegikmo
Sat Jul 19, 2008 1:28 am
Forum: PSP Development
Topic: Game background is flashing, character leaving trails
Replies: 10
Views: 2995

Game background is flashing, character leaving trails

Hello :) I'm really new to PSP programming, but I've done a little C++ before. Anyway, I'm having trouble with my game. I'm trying to display a background and be able to move a character on the screen. So I made the background and the character in photoshop, saved as PNG. The character is transparen...