Transparency & solid ground

williamsonajmwilliamsonajm Member Posts: 12
edited November -1 in Working with GS (Mac)
Hi all

Bit of a noob question I'm sure, but at the moment I'm just trying to make a basic, proof of concept, platform game. I have my player, who can move l&r, jump, hit the ground, etc. However, my ground is perfectly flat. I would like to be able to have an 'un-level' ground by making image in the png file 'wavy', and thus a more realistic ground/slop/etc. However, GS ignores any transparency in the png file, and simply has my player stand 'on top' of the entire image, instead of falling trough the transparency and landing on the 'solid' ground.

Any suggestions? Is this even possible? (did this post even make sense? hehe) :-P

Comments

  • UtopianGamesLtdUtopianGamesLtd Member Posts: 120
    It is possible, we did it with Bumps.

    What we did was make the art for platforms them make a mask (invisible rectangles that we rotated into place).



    A pain but it is possible.

    Darren.
  • williamsonajmwilliamsonajm Member Posts: 12
    Ahh, cool. I get what you mean. So have the basic art of an uneven level, and then just make lots of invisible platforms rotated in place... How does that affect the frame rate performance? Is it noticeable?
  • UtopianGamesLtdUtopianGamesLtd Member Posts: 120
    Make sure you have the Mask actors movable unchecked and it should be fine.

    You could have 1 single background with all you platforms drawn on and the you have just one 480x320 BG image.

    Whatever works best for you but it should be ok.

    Darren.
  • williamsonajmwilliamsonajm Member Posts: 12
    Got'cha. Thanks for the advice! :-)
  • UtopianGamesUtopianGames Member Posts: 5,692
    Your welcome m8 and gl, can't w8 to see it!

    Darren.
Sign In or Register to comment.