| View previous topic :: View next topic |
| Author |
Message |
SephZero
Joined: 29 Apr 2006 Posts: 5
|
Posted: Sat Apr 29, 2006 10:25 pm Post subject: Platform 2d for PSP |
|
|
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... |
|
| Back to top |
|
 |
PeterM
Joined: 31 Dec 2005 Posts: 125 Location: Edinburgh, UK
|
Posted: Sat Apr 29, 2006 11:44 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
SephZero
Joined: 29 Apr 2006 Posts: 5
|
|
| Back to top |
|
 |
PeterM
Joined: 31 Dec 2005 Posts: 125 Location: Edinburgh, UK
|
Posted: Sun Apr 30, 2006 1:17 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
SephZero
Joined: 29 Apr 2006 Posts: 5
|
Posted: Sun Apr 30, 2006 1:58 am Post subject: |
|
|
i think my problems will be only world scrolling and collisions betweeb character and world..
anyway..tnx! :) |
|
| Back to top |
|
 |
PeterM
Joined: 31 Dec 2005 Posts: 125 Location: Edinburgh, UK
|
Posted: Sun Apr 30, 2006 5:05 am Post subject: |
|
|
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/ |
|
| Back to top |
|
 |
Ats
Joined: 05 Dec 2005 Posts: 37 Location: Biarritz - France
|
Posted: Sun Apr 30, 2006 5:40 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
crowba
Joined: 15 Oct 2005 Posts: 13
|
Posted: Sun Apr 30, 2006 7:39 am Post subject: |
|
|
| doesnt the oldschool library give you the ability for easy scrolling / sprites / tiles etc ? |
|
| Back to top |
|
 |
|