forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2D Spek of PSP

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Yodajr



Joined: 24 Sep 2005
Posts: 13

PostPosted: Wed Sep 28, 2005 4:35 am    Post subject: 2D Spek of PSP Reply with quote

Hello

Where I can find the 2D specifications of PSP ? (number of Layers, number of sprites, colors max, type of special effects, ...)
Like GBAtek
Back to top
View user's profile Send private message
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Wed Sep 28, 2005 7:59 am    Post subject: Reply with quote

Layers? Sprites? I think you have this mistaken for a Nintendo. :) We have a framebuffer, and then we render into that using the CPU or the GPU, nothing else. There are no hardware-accelerated sprites or any layers that are interleaved by the display-hardware. Please look into the PSPSDK and you'll hopefully get the hang of it.

Color max is 16777216 colors. Special effects? Well, what can you think of? the PSP can probably handle 30 fullscreen passes if you deal with it properly.
_________________
GE Dominator
Back to top
View user's profile Send private message
Yodajr



Joined: 24 Sep 2005
Posts: 13

PostPosted: Thu Sep 29, 2005 3:05 am    Post subject: Reply with quote

So, if I want to make a 2D classic game on PSP, I have to draw everything pixel by pixel ?
If this question is too stupid, just ignore it, I will look into this PSPSDK (I dont know where to search, but don't worry ^^)
Back to top
View user's profile Send private message
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Thu Sep 29, 2005 3:21 am    Post subject: Reply with quote

Well, more or less. But, you have a really powerful GPU that will help you with that task. Do look into the PSPSDK, it has a few examples to help you on your way.
_________________
GE Dominator
Back to top
View user's profile Send private message
Ratty



Joined: 18 Sep 2005
Posts: 18

PostPosted: Thu Sep 29, 2005 3:32 am    Post subject: Reply with quote

Check out the "blit" and "sprite" samples, these use hardware accelerated sprites (effectivly textured polygons), you'll get a good speed with them. The "copy" sample shows how to quickly copy images from ram to the framebuffer/vram. It's basically one function to copy an array of pixels.

If you want to do alpha blending, rotation, and other fancy stuff, then the "blit" and "sprite" samples are what you want. The "blit" sample is splitting up a full screen image into a number of sprites and drawing them, easily modified to draw any size sprite you want.
Back to top
View user's profile Send private message
Yodajr



Joined: 24 Sep 2005
Posts: 13

PostPosted: Thu Sep 29, 2005 4:04 am    Post subject: Reply with quote

Thank you for the answers :)
I'm downloading it right now.

And you right chp, I learned programming on GBA ^^
Back to top
View user's profile Send private message
jason867



Joined: 24 Jul 2005
Posts: 78

PostPosted: Thu Sep 29, 2005 4:30 am    Post subject: Reply with quote

Most of what I know was also learned while programming on the GBA...

I always wondered if there were such things as hardware controlled layers and sprites on the psp, like on the gba. I would've asked but I feared it might make me look more like a n00b, lol...
_________________
Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group