Transpancy = Empty Space. Possible?

mrmoggymrmoggy Member Posts: 5
Hi there, I'm wondering if it's possible to have the the transparent space in a .png image equate to empty space (meaning a object with gravity can fall through it). It seems when an object collides it'll do so with the total size of the image (transparency and all) and not just what is visible.

Thanks in advance :)

Comments

  • hrsmediahrsmedia Member Posts: 522
    I think you need pixel collision or something to do that. GS doesn't have that.
  • quantumsheepquantumsheep Member Posts: 8,188
    You could try making the collision a circle rather than a square. You'll find the option in the actor's attributes (double click an actor to see what behaviours it has - then look on the left at its attributes and it should be listed there).

    Hope that helps,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: http://www.quantum-sheep.com

  • FranzKellerFranzKeller Member Posts: 517
    That would be handy, but I bet it's a processor hog to use

    Still i'd like some way to offset the coordinate center of an object from it's collision area / visual shape

    it'd be great for doing grabbing arms, rotating objects etc.

    Just look at DS Scribblenauts for ideas! ;-)
  • mrmoggymrmoggy Member Posts: 5
    I was thinking it would be nice to be able to design a scene straight from photoshop, pixen etc and just drag and drop, would certainly save having to fiddle around with individual tiles/elements
  • FranzKellerFranzKeller Member Posts: 517
    Png 24 import is already pretty good, I've been using that, because the alpha (transparency) channel comes In perfectly

    Psd import could be cool, YET there are still a lot of decisons that the user must make manually - IE.what is a character, wall, floor, power up etc? Not to mention the actual game logic. Also this could take a lot of time to implement
  • reddotincreddotinc Member Posts: 653
    Have a look at this for a current more accurate way to make a collision overlay for an actor

    http://gamesalad.com/wiki/how_tos:gsc_how_to_have_more_then_one_hit_points

    // Red Dot Inc
Sign In or Register to comment.