Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / How to get circle shape to crop through a black square ( like flashlight in the dark)

Author
Message
dandrews
4
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 6th Feb 2025 18:42
Im messing with setspritescissor but cant seem to get it to work how I want. I want to be able to move the circle around and allow wherever the circle is to see through to whats under the black square.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 6th Feb 2025 22:52
You can't do that. If you want an image mask you'll have to use a shader.
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda
Pixel-Perfect Collision

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds

Login to post a reply

Server time is: 2025-05-12 09:53:16
Your offset time is: 2025-05-12 09:53:16