Mask Effect problems - doesn't work in runtime?

For questions about using Classic.

Post » Wed Aug 24, 2011 5:48 pm

I've been trying to get this mask/erase working for ages,
going through a lot of topics, but none seem to ever answer
the necessary questions.
Worked out though eventually that both images need to be on
the same layer, and you need 'force own texture' enabled.

This works fine, in the program area, however when you try
to run the application, it completely ignores it.
as seen here - (note: screenshot from someone elses downloaded test file)
http://i.imgur.com/BIgZ3.png

Is there some setting somewhere else that's missing?


I'd really appreciate an answer for this.
B
3
G
2
Posts: 58
Reputation: 1,166

Post » Thu Aug 25, 2011 1:05 am

Can you link to the .cap file?
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Thu Aug 25, 2011 1:36 am

Of course ^^;
Sorry I thought I may have been missing something normal so didn't consider needing to share the .cap in first post.
Here you are - http://ifile.it/9v1sb6e/treemask.cap
B
3
G
2
Posts: 58
Reputation: 1,166

Post » Thu Aug 25, 2011 3:46 am

I don't know why it doesn't work. I think I did the same thing and it worked for me.

http://dl.dropbox.com/u/1024727/caps/erase.cap
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Thu Aug 25, 2011 4:24 am

Thanks a lot for that example, I wouldn't have suspected it at all but
for some reason the actual sprite in that scene wouldn't work with erase,
however copying it and pasting a clone allowed it to work....might be
something to do how it was created in an earlier version, somehow?
I created a new scene and made a test like your own and it worked perfectly,
before going back to that tree file and discovering that issue.

Anyway, thanks to your help I've got what I wanted working in my project,
so thank you very much for your time and help :)!
B
3
G
2
Posts: 58
Reputation: 1,166


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests