Inspiration, example, question, and request

New releases and general discussions.

Post » Sun Feb 08, 2009 5:37 pm

I got the idea to do this:

From Deadeye's example.

The question is, why is it randomizing the sizes of the sprite while giving it random angles?
Not that I'm complaining mind you, I was planning on doing that anyway.

Which brings up the request, could we have a set way to set a sprites size other than having to do it separately by width, then height? The reason I ask is because if you just go in and say set sprite length to random(x), then do the same for width, you wont have the same aspect ratio.... unless your lucky.
Image Image
B
161
S
48
G
90
Posts: 7,354
Reputation: 66,763

Post » Sun Feb 08, 2009 6:49 pm

It's not changing the size. I'm pretty sure that's just a visual illusion created by slight differences in angles. Kinda like the arrows thing:



And as for the maintaining aspect ratio... why not just add one event?



And yes that example is a little extreme but I did that so you can see the ratio is still as it should be.

Also, any other size differential comes more from the fact that you have a sin behavior changing the size anyways.
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Sun Feb 08, 2009 7:18 pm

Ah ok I see now, I was expecting the behavior to return the sprites to normal on inactivation.

Thanks for the suggestion on the sizing issue, I still think a scale action would be nice tho...
Image Image
B
161
S
48
G
90
Posts: 7,354
Reputation: 66,763


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 5 guests