Holes: Any idea to apply partial invisibility to actors or backgrounds?

carlos.varela.comcarlos.varela.com Member Posts: 99
edited November -1 in Working with GS (Mac)
Puff! An example would be a kind of worm with serpent movements and eating a big Apple. Until here well, but what happen with the background parallax or the irregularity of the form of the apple?
In many situations it is not possible to be adapted to squares. Other game engines have different ways to deal with holes, like image mask, or a kind of actor that can apply invisibility to the objects in back.

I have been seeing the sample "Player - Hole Test", but in my case it does not solve my problem.

My actual problem is the parallax behind the hole. Any ideas??

Comments

  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Hmm!
  • EastboundEastbound Member, BASIC Posts: 1,074
    Maybe I'm intoxicated, but I had trouble following that question.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Unfortunately, GS does not have a way to create masks yet.
  • RattleheadRattlehead Member Posts: 485
    I'm not 100% sure if I understand what you are looking for but could you fake it using layers?

    http://gamesalad.com/game/play/53174
  • ORBZORBZ Member Posts: 1,304
    i made an example of this it's on my wall. it's cheating though, it doesn't use alpha masks you have to have solid backgrounds, instead it creates a solid "chunk" of the same color as the background and allows things to pass through it.
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    @Carlos
    Are you saying you want the little worm guy to be visible on top of just the black part? And then disappear when he goes thru the hole?

    Make the far side of the hole obscure the worm guy, and make the worm guy in front of the black? Then it'll look as though he went into the hole and is inside somewhere...
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    @Carlos
    Are you saying you want the little worm guy to be visible on top of just the black part? And then disappear when he goes thru the hole?

    Make the far side of the hole obscure the worm guy, and make the worm guy in front of the black? Then it'll look as though he went into the hole and is inside somewhere...
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    Thnx guys, bot I think I did not explain well.

    My problem is more near than "ORBZ" hole sample, but the problem is the background, on where I have a parallax, not a solid black.
Sign In or Register to comment.