effect weirdness (hard to explain, simple to see)

For questions about using Classic.

Post » Sat Dec 12, 2009 1:10 am

I didn't notice this until trying Madster's clip disc effect.

Download here

Use the arrow keys to move around, note how the effect matches the objects size and shape correctly ONLY when going up/down/left/right, but when going diaganoly it morphs into a square. Surely that's not right?

I know it's not a huge deal or anything, and unlikely to come up in actual real world usage. But I'm curious if it's a bug or just a limitation of DirectX.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Sat Dec 12, 2009 2:02 am

please don't take the effect out of context.

I posted it for this thread, where I am asking for angles and correct hotspot information within an effect.
[url:1tgjjp3x]http://www.scirra.com/forum/viewtopic.php?f=7&t=5210[/url:1tgjjp3x]
Please continue discussion in that thread.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Sat Dec 12, 2009 2:29 am

[quote="Madster":wh97cl2s]please don't take the effect out of context.

I posted it for this thread, where I am asking for angles and correct hotspot information within an effect.
[url:wh97cl2s]http://www.scirra.com/forum/viewtopic.php?f=7&t=5210[/url:wh97cl2s]
Please continue discussion in that thread.[/quote:wh97cl2s]

yeah this has nothing to do with hotspots tho

but whatever, i just want to know if its intentional or a bug, i dont care about getting credit for its discovery so lock this thread if you want lol.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Sat Dec 12, 2009 2:57 am

Effects in Construct are processed over the entire bounding box of an image which, of course, gets bigger when the object rotates. That's something HLSL developers have to take in to consideration.

I don't know if Madster's effect is finished, or if it's for his own purposes and that artefact does not bother him in the way he uses it. No offence, but this shouldn't concern you, you're being a little overzealous here.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sat Dec 12, 2009 3:09 am

well he was asking about using hot spots in effects and why effects always use the center of an object, i was asking why an effect did this when going in a diagonal direction, seemed different enough questions to me, *shrugs*

but whatever, thanks for the reply.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests