Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / 2d Sprites in 3d Enviroment

Author
Message
At the Gates
20
Years of Service
User Offline
Joined: 16th Dec 2003
Location: Sweden
Posted: 19th Jan 2004 20:22
Hello! I was thinking of making a game with 2d-
characters in 3d enviroments (Xenogears, Grandia,
Breath of Fire), but since I'm, stupid I've
got some stupid questions... hehe...

1)
What is the best way to detect when the 2d pic
should "change angle"? You know if you change the
camera, you should see the character from another
angle...

2)
How do you make a collision-detection-thingy for
specific part of a 2d pic? For example; Stand
behind another character or sitting on a roof etc.

3)
Does DBclassic support some kind of pixel-smoothing
functions?

God is Dead
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 19th Jan 2004 21:37
1. Base it on character movement. Most iso games have a fixed camera angle such as always facing North. You determine the characters sprite angle by looking to see if the character is moving N,S,E,W,NE,NW,SE, or SW. If you are going to allow the player to change camera angles, you'll have to offset the player directions internally as well.

2) Since it is a 2D plane in the 3D world (not sprites which are always in front of the 3D world), characters and terrain will automatically sort themselves out. Think of a game of Strageto. The characters/pieces are essentially 2D, but their 3D position on the board sorts them out for your eyes (the camera) to see them properly overlapped.

3) No clue, I'm a DBP kind of guy.
--
TAZ

Login to post a reply

Server time is: 2024-09-21 15:45:20
Your offset time is: 2024-09-21 15:45:20