Perspective tech demo

Post your own tutorials, guides and demos.

Post » Mon Aug 18, 2008 10:29 pm

Yes, but at the moment main advantage of skewed sprites is that they can be animated (useful for destruction of land), and 3dBoxes have fixed images.
B
6
S
3
G
6
Posts: 219
Reputation: 3,013

Post » Tue Aug 19, 2008 10:28 am

There used to be a bug in 0.94.2 that allowed 3D Boxes to steal the texture of a sprite and appear "animated" if it is possible to implement that again but as an action or behaviour (Eg: "Get face texture from sprite") from the old 3D Box rendering code, then the 3D Box could also achieve animation.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Tue Aug 19, 2008 12:19 pm

We plan to have a 'set texture' and 'get texture' function in many of the objects. For example, you could use an animated sprite and then have
always
----- set front texture of cube to sprite.texture

Likewise you could use this with other objects...such as setting the texture of a sprite to the texture of the canvas...allowing you to use the canvas object to allow the user to customise their own car and spray paint it etc.

As for this example, its good but has some obvious disadvantages...such as the lack of a zbuffer and vanishing point perspective.

I like how you've used only 3 faces...we will try implimenting that into 3d box so less vertex are sent to the graphics card.
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Previous

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests