I always wanted to create a good game, but i have no idea for that, so i trying to create a tool which make creating 3D games (very simple, because AFAIK it will be SLOW AS HELL, maybe even slower) in construct possible for people who have ideas.
And now i have this tool working, its called PFX (PolygonFX :D),but for some reason it's not working properly.
I have problem with giving sprite a position, it will be better when i give you an example file.
Download
i have no ideas, you can see what is wrong when you type a command "3,-128,-32,128,128,-32,128,128,-32,-128,-128,-32,-128" which creates one polygon, sprite were created, but i dont know why it's not getting a calculated position for it.
In engine are done simple management which allow u to create a polygon with this scheme:
3,x1,y1,z1,...,x4,y4,z4,
Where "3" is a command and rest:
Xn, Yn, Zn ( n - in distort map it will be
0, 0 (column, row) for 1
0, 1 for 2
1, 1 for 3
1, 0 for 4.
It will be very helpful if you tell me how to fix it, maths are good (copied from wikipedia :D), propably there are some bugs in camera rotation but i can fix it, but i dont know construct that good to fix this sprite (or something else) problem :( .