does GS detect alpha when clicking on things? Can i override that?

part12studiospart12studios Member Posts: 620
edited November -1 in Working with GS (Mac)
I noticed that it seems to ignore alpha spaces around graphic.. which normally is fine, but in my case i think that i need the whole graphic to be clickable when i touch it. however i still want the alpha there so the object looks round rather than the exact shape of the png i import.

Thanks!
Caleb

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Alpha space is not ignored it gamesalad. A transparent area of a actor will still detect collosions, touch, ect

    cheers
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Caleb, that's the way it is unfortunately. Hopefully, when polygon collision is eventually introduced, then maybe "transparency ignored" or something similar will follow.

    Edit: beaten by John! :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • part12studiospart12studios Member Posts: 620
    ah ok, that's good to know... the way my game is behaving it seemed like maybe the opposite was going on.

    I just placed an object on the screen and it is clearly (for some reason) registering as a hit when my mouse is well inside the graphic.. on all sides..

    it absolutely ignores the alpha space no matter how big i make it.. very strange. but the worse issue is that a player has to tap the object moving fast so clearly touching it with the finger can result in a miss..

    any ideas?
  • part12studiospart12studios Member Posts: 620
    nm.. i know what it is.. i had the physics collision as circle.. making it rectangle fixed that issue
Sign In or Register to comment.