One thousand ugly free-user watermarks - Game Maker thread

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One thousand ugly free-user watermarks - Game Maker thread
#47
RE: One thousand ugly free-user watermarks - Game Maker thread
The visual side of Gamemaker is not my forte, so I probably couldn't tell you anything that googling and the help buttons can't already.

But for making actual, interactable objects part of the background/foreground, you're gonna want to set that instance's depth. The higher the depth, the farther back it is. When an object of 0 depth is placed upon an object of 1 depth, the object of 0 depth will always be placed on top.

So if you have DA HERO walking along a bush:

Hero Depth 0
Bush Depth 1
WHAT HAPPENS: Hero walks by bush, player sees him

Hero Depth 1
Bush Depth 0
WHAT HAPPENS: Hero walks behind bush, player can't see him

You are free to use negatives and its recommended that, during the development stages, that you leave some room inbetween (Like setting the depths in multiples of threes, so that later on if you find something that you want to fit between the hero and the bush, you can just fit it in at a 2 to the Hero's 0/Bush's 3). Any time the depth isn't set, I believe its the object created last that is placed on top.


Messages In This Thread
RE: One thousand ugly free-user watermarks - Game Maker thread - by Mehgamehn - 07-15-2013, 06:48 AM