Platform 2d for PSP

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

Moderators: cheriff, TyRaNiD

Post Reply
SephZero
Posts: 5
Joined: Sat Apr 29, 2006 10:23 pm

Platform 2d for PSP

Post by SephZero »

Hello dudes..i don't know if u know who i am.. i'm sephzero from Team Shadow (simpleamp??) and i'm here to ask your help..

i would create a platform 2d for PSP like sonic..with the lateral scrolling..
but i don't know how could i begin..can u help me?
i would do it in C...
PeterM
Posts: 125
Joined: Sat Dec 31, 2005 7:25 pm
Location: Edinburgh, UK
Contact:

Post by PeterM »

Sounds like you're in over your head.

Do you know how to program?
Do you know how to program games for a PC?
Do you know how to program for the PSP?

I would solve these problems in that order.
SephZero
Posts: 5
Joined: Sat Apr 29, 2006 10:23 pm

Post by SephZero »

i'm developing this homebrew for PSP with my team..

http://dl.qj.net/Simple-Amp-Beta-2-Rele ... /catid/140


i know a little bit of C for PSP..
PeterM
Posts: 125
Joined: Sat Dec 31, 2005 7:25 pm
Location: Edinburgh, UK
Contact:

Post by PeterM »

Excellent, sounds like you're experienced enough. Sorry, there are so many newbie posts nowadays... I did not mean to offend.

I would go for a top-down approach, then you should find that what you need to do becomes apparent as you need it.

Start off with the high level logic flow - initialisation, title screen, game "play" screen, game over, etc. Some design patterns like "Run and return successor" can help with this.

Then you'll probably find that you need to set up a world for playing in, with a tile-based map, and sprites for characters. How you store and process this lot depends on your preferences.

Hope this helps,
Pete
SephZero
Posts: 5
Joined: Sat Apr 29, 2006 10:23 pm

Post by SephZero »

i think my problems will be only world scrolling and collisions betweeb character and world..

anyway..tnx! :)
PeterM
Posts: 125
Joined: Sat Dec 31, 2005 7:25 pm
Location: Edinburgh, UK
Contact:

Post by PeterM »

Scrolling's not so bad, you just offset your blits by the camera position.

Collision can be a paint though, especially if you support slopes.

Check out a relevant tutorial here:
http://jnrdev.72dpiarmy.com/
Ats
Posts: 37
Joined: Mon Dec 05, 2005 6:08 am
Location: Biarritz - France
Contact:

Post by Ats »

If you want to take a look, I started a side-scrolling engine game months ago. It is written in Lua but should give you an idea of how the block collision works.

You can find it here:
http://atien.free.fr/jeux/mwo/mwo.rar
crowba
Posts: 13
Joined: Sat Oct 15, 2005 1:58 pm

Post by crowba »

doesnt the oldschool library give you the ability for easy scrolling / sprites / tiles etc ?
Post Reply