The Princess Warrior project forum
 The Princess Warrior :: Project Area :: Concepts Show-Off Share |

# [System Design - Demo] 3D Isometric Map System ala FF Tactics

AuthorMessage

Posts : 25
Join date : 2011-07-10

 Subject: [System Design - Demo] 3D Isometric Map System ala FF Tactics   Tue Jul 12, 2011 12:59 am 3D Isometric Map System ala FF TacticsCreated using GM 8.OverviewIsometric map is a tile map that uses isometric projection (click here for definition).One of games using isometric map system is Final Fantasy Tactics (FFT). FFT uses isometric map (in 3D) as world in the battle system, as shown in screenshot below.FFT's isometric map system has several advantages: - uses 3D graphics, in isometric projection - the map can be rotated, unlike other isometric games - enables slope terrains, using 4 vertices in different heightsAnd, the system design for the project tries to adopt from FFT's isometric map system. Because of its 3D graphics, it draws the screen using texture primitives.And because 3D features of GM is limited, for instead I try to draw texture primitives with two-dimensional-coordinate vertices. But I have to compute vertices coordinate using parallel 3D-to-2D projection formula:$\begin{pmatrix}x_{p}\\y_{p}\end{pmatrix}=k\begin{pmatrix}x_{r}+(cos \theta)(x-x_{r})-(sin \theta)(y-y_{r})\\y_{r}-(sin \alpha)(z-z_{r})+(cos \theta cos \alpha)(y-y_{r})+(cos \alpha sin \theta)(x-x_{r})\end{pmatrix}+\begin{pmatrix}x_{t}\\y_{t}\end{pmatrix}$(or click here to view the formula: http://latex.codecogs.com/gif.latex?\begin{pmatrix}x_{p}\\y_{p}\end{pmatrix}=k\begin{pmatrix}x_{r}+%28cos%20\theta%29%28x-x_{r}%29-%28sin%20\theta%29%28y-y_{r}%29\\y_{r}-%28sin%20\alpha%29%28z-z_{r}%29+%28cos%20\theta%20cos%20\alpha%29%28y-y_{r}%29+%28cos%20\alpha%20sin%20\theta%29%28x-x_{r}%29\end{pmatrix}+\begin{pmatrix}x_{t}\\y_{t}\end{pmatrix})And.. the result will be as shown at the screenshot.ScreenshotsSee more at my deviantART gallery: http://listra92.deviantart.com/gallery/30479947InstructionsArrow keys: move characterWSAD: rotate mapDownload Demo Gamehttp://ifile.it/w3njtly/aaa.zip

Member

Posts : 4
Join date : 2011-07-12

 Subject: Re: [System Design - Demo] 3D Isometric Map System ala FF Tactics   Tue Jul 12, 2011 7:02 pm hm.... ternyata pake formulaQuote :$\begin{pmatrix}x_{p}\\y_{p}\end{pmatrix}=k\begin{pmatrix}x_{r}+(cos \theta)(x-x_{r})-(sin \theta)(y-y_{r})\\y_{r}-(sin \alpha)(z-z_{r})+(cos \theta cos \alpha)(y-y_{r})+(cos \alpha sin \theta)(x-x_{r})\end{pmatrix}+\begin{pmatrix}x_{t}\\y_{t}\end{pmatrix}$

 [System Design - Demo] 3D Isometric Map System ala FF Tactics
 Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 Jump to: Select a forum||--Forum Central|   |--Announcement|   |--Suggestion|   |--Introduction|   |--Project Area|   |--Concepts Show-Off|   |--Non-Project    |--General Discussion    |--Art Creation    |--Game/Program Creation    |--Forum Game