Create a Hole in a Collision Shape_Like a Coin Going Into the Mouth on old "Zoltar" game

floatingwoofloatingwoo Los Angeles, Calif.Member Posts: 393
edited February 2015 in Working with GS (Mac)

Whats the best way to set up the graphics to make it look like a coin being shot actually enters an opening on a target. I would like to give the user the feeling that the coin has entered the slot, not just have it destroyed on impact of a dark hole graphic.

I don't think there is a way to create a hole in a collision shape, but that would be ideal.

I was playing around with using two halves of a target, one half on a layer behind the layer the coin is on, and one half on a layer in front. It gives the illusion that the coin is entering the hole, unless the coin is shot above or below the hole, then it just disappears behind the front half of the target.

I was thinking I could use another actor with alpha turned off that the coin would collide with, and some how stack it around the opening. But maybe theres probably a simpler way. Any ideas would be greatly appreciated.

Comments

  • floatingwoofloatingwoo Los Angeles, Calif.Member Posts: 393
    edited February 2015

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291

    hey @floatingwoo,

    attached is a template you can get this idea from. The coin drops into the bucket! Hope this helps!

  • floatingwoofloatingwoo Los Angeles, Calif.Member Posts: 393

    Oh, this is Awesome! Hmmm lets see....pot left....pot right. This ones rather special, I say Gryffindor!

    Thanks man I will dig into it......

  • floatingwoofloatingwoo Los Angeles, Calif.Member Posts: 393

    KillerPenguinStudios
    Your a gentleman and a scholar. :)

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291

    @floatingwoo said:
    This ones rather special, I say Gryffindor!

    Followed by a standing applause!!!

    @floatingwoo,

    HAHAHAHA!!!

    thank you my good sir! Delighted to help any way I can! Dig the graphics BTW!

  • SocksSocks London, UK.Member Posts: 12,822

    @floatingwoo said:

    I know KillerPenguinStudios has already laid out the basics, but here is what you would do with your set up. Switch visibility on for the collision actors to see how it is set up.

    Click on the screen to generate a projectile.

  • floatingwoofloatingwoo Los Angeles, Calif.Member Posts: 393

    Thats awesome! While I was laughing, my kids quickly ported it to their iPad and ran off to play with it. Thats saying something. Thanks!

  • SocksSocks London, UK.Member Posts: 12,822

    @floatingwoo said:
    Thats awesome! While I was laughing, my kids quickly ported it to their iPad and ran off to play with it. Thats saying something. Thanks!

    Tell them I want ¢99 off each of them.

Sign In or Register to comment.