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 / Invisible (to player) zones

Author
Message
Tarkus1971
8
Years of Service
User Offline
Joined: 14th Feb 2016
Location:
Posted: 5th Jul 2019 09:07
I know AGK-S has clickable buttons, but how about just clickable zones, that are invisible to the player. This would be useful in Visual Novel type games, for example, where you might have a note on a table in a 3D rendered image, and if you could define a polygon zone in the scene editor, around that note, and click the mouse, or key, you could jump to a function to show a sprite and read it, play a sound or print a message on screen for example.

I don't know if zones are in AGK-S, I can only seem to find collision zones between sprites.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 5th Jul 2019 09:34 Edited at: 5th Jul 2019 09:36
you could easily achieve with transparent sprites or buttons and by setting active etc
and with masking should be able to use any shaped area
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 10th Jul 2019 01:34

SetVirtualButtonAlpha( index, alpha)
A child's dream never dies.





Login to post a reply

Server time is: 2024-03-29 15:33:33
Your offset time is: 2024-03-29 15:33:33