Shrink/Stretch A Side [solved]

New releases and general discussions.

Post » Wed Nov 19, 2008 12:26 am

ty for speedy replies
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Wed Nov 19, 2008 1:32 am

You can use the sprite distortion actions. Example: Sprite distort

Depending on how many rows and columns you split the sprite into, you could make basically any shape you want. Hope this helps. :)
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Nov 21, 2008 1:23 am

thx guys
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Fri Nov 21, 2008 2:08 am

No problem. :) Here's a trapezoid: Trapezoid Distortion

I fixed it to where the texture distorts properly as well. I just made it to where it is a 2 x 2 distort map instead of 1 x 1. It requires more code, but it fixes the problem.

Also, in case you want to make other shapes, just remember that the X and Y values for the distort events are the reletive change between the specified points original location and the new one. So an X value of 60 will move the specified point 60 pixels left, not to 60 on the layout.

I hope all that helps. :)
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Nov 21, 2008 7:53 pm

why dont you just use 3d box?, it would run faster, be less buggy, and require almost no code, anyways,id like to see an exe or cap of what youre doing, i think it would help tell people exactly what youre going for

those pics are rendered 3d stuff right, or are they you're game?
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Fri Nov 21, 2008 9:52 pm

[quote="QuaziGNRLnose":3rg590dt]why dont you just use 3d box?, it would run faster, be less buggy, and require almost no code, anyways,id like to see an exe or cap of what youre doing, i think it would help tell people exactly what youre going for

those pics are rendered 3d stuff right, or are they you're game?[/quote:3rg590dt]

I think 3D box is actually slower. I've made tests using 3D boxes for enviroments and it runs pretty slowly.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Sat Nov 22, 2008 2:37 am

seriously?

maybe its your gfx card? they are just cubes.
i think having all the events for this would cause lotsa lag
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Tue Nov 25, 2008 1:19 am

ty all
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Tue Nov 25, 2008 8:38 pm

viewtopic.php?f=16&t=1829

i think youve seen this page, but have you tried my drawer, it could be usefull, even though no textures are on it (they look wrong)

it draws the block's faces using distortion and some maths to plot out how blocks faces should look in relation to the perspective.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 5 guests