Post

 Resources 

Console


RE: Isometric fun Brian Clark (1 reply, 0 views) (2000-Oct-1)
-
Are you looking for this: ?? Public Function IsoRotateVertex(Vertex() As D3DTLVERTEX, X As Integer, Y As Integer, Width As Integer, Height As Integer, Angle As Integer, Optional color1 As Long = &HFFFFFF, Optional color2 As Long = &HFFFFFF, Optional color3 As Long = &HFFFFFF, Optional color4 As Long = &HFFFFFF) 'Turns a square tile to into a Iso perspectrive Call dx.CreateD3DTLVertex(X + Width / 2, Y, 0, 1, color1, 1, 0, 0, Vertex(0)) Call dx.CreateD3DTLVertex(X + Width, Y + Height / 2, 0, 1, color2, 1, 1, 0, Vertex(1)) Call dx.CreateD3DTLVertex(X + Width / 2, Y + Height, 0, 1, color4, 1, 0, 1, Vertex(3)) Call dx.CreateD3DTLVertex(X, Y + Height / 2, 0, 1, color3, 1, 1, 1, Vertex(2)) End Function


-
Up One Level | Back to Forum

RE: Isometric fun Jack Hoxley (0 replies) (2000-Oct-2)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 36 visitors within the last 20 minutes
RSS News Feed