[Request] I want to know how to program a bird's eye view RPG game
Author |
Message |
Johnny19931993
|
Posted: Sat Jan 17, 2009 5:40 pm Post subject: [Request] I want to know how to program a bird's eye view RPG game |
|
|
There are RPG games that the player move the character in the game. For example, Pokemon
but the background moves when the player press the keys rather than the character itself move
I want to know how to make these kinds of games |
|
|
|
|
|
Sponsor Sponsor
|
|
|
The_Bean
|
Posted: Sat Jan 17, 2009 6:21 pm Post subject: Re: [Request] I want to know how to program a bird's eye view RPG game |
|
|
Good for you!
How about you try and do it, and we'll help you when you get stuck. |
|
|
|
|
|
saltpro15
|
Posted: Sat Jan 17, 2009 8:28 pm Post subject: RE:[Request] I want to know how to program a bird\'s eye view RPG game |
|
|
search the term "raycasting", it will give you an idea as to how to get started. Good luck, that's a hell of a topic you're pursuing |
|
|
|
|
|
Amit
|
Posted: Sat Jan 17, 2009 10:27 pm Post subject: Re: [Request] I want to know how to program a bird's eye view RPG game |
|
|
Johnny19931993 @ Sat Jan 17, 2009 5:40 pm wrote: the background moves when the player press the keys rather than the character itself move
It sounds like you already know how to make it. Instead of moving the character when you press an arrow key, just move the background to make it look like the character is walking.
Also, ignore saltpro15. Raycasting has nothing to do with what you are trying to do. |
|
|
|
|
|
DanielG
|
Posted: Sat Jan 17, 2009 11:19 pm Post subject: RE:[Request] I want to know how to program a bird\'s eye view RPG game |
|
|
I think it might be easier to have a huge map (bigger than the screen size you draw).
the only thing you have to do to make that kind of bird's eye view game possible is to only draw a certain area around your character.
basically, your draw function starts out from YC (your character)x-some value, and YCy-some value and draws as if the grid was only from that point to YCx+some value, YCy+ some value.
For example, assuming your chacter is at 34, 56 and you want to draw it such that the grid shown is 9 by 9, you only draw from 34-4, 56-4 to 45+4, 56+4.
Also, Raycasting refers to 3d graphics, not what you are trying to do (Amit said part of it, but I thought you should know what it actually is) |
|
|
|
|
|
Zeroth
|
Posted: Sat Jan 17, 2009 11:21 pm Post subject: Re: RE:[Request] I want to know how to program a bird\'s eye view RPG game |
|
|
saltpro15 @ Sat Jan 17, 2009 5:28 pm wrote: search the term "raycasting", it will give you an idea as to how to get started. Good luck, that's a hell of a topic you're pursuing Sorry Saltpro15... I think you're mistaken. He's basically talking about a top-down perspective... doesn't need 3d graphics, just 2d. OP, don't listen to saltpro15. |
|
|
|
|
|
|
|