Wait a minute, you can make the actor smaller than the image?

And all this time, I've been using a second invisible actor to act like a hit box.

Anybody may be able to shed some light on the Veritcal/Horizontal wrap, anchors, and so on? I just discovered them under graphics but I can't find any info on the forums other than some mentions in some threads.

If I do this, will I have to remake any "overlap" behaviors since the actual box is smaller?

I have an actor that uses their large actor size to overlap things to do damage while their actual hit box is small. I know the actual actor would affect collissions, but for overlap, will damage still be counted and such?

I'd test it out myself, but I'm trying to solve a flip image problem that I almost have solved.

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited August 2014

    @Franto said:
    If I do this . . .

    If you do what ?

    @Franto said:
    will I have to remake any "overlap" behaviors since the actual box is smaller?

    GameSalad hasn't got a behaviour called 'overlap'.

    @Franto said:
    I have an actor that uses their large actor size to overlap things to do damage while their actual hit box is small. I know the actual actor would affect collissions, but for overlap, will damage still be counted and such?

    That literallty makes no sense ! :smile:

    @Franto said:
    I'd test it out myself, but I'm trying to solve a flip image problem that I almost have solved.

    That makes perfect sense . . . . you can't test your idea out because you are trying to solve a 'flip image problem' :p

  • FrantoFranto Member Posts: 779
    edited August 2014

    Sorry! In windows creator, I could have sworn I've seen the word "if actor overlaps then", I remember the mac uses different terms for some things, I was accidentally using the windows creator terms.

    I mean if I make the tile size of the character bigger than the actual actor size. Would the bigger character image still count in collision, or only the actor? Many apologies for my minced words before! And I solved the horizontal flip problem that had to do with directional input of the actor.

  • SocksSocks London, UK.Member Posts: 12,822
    edited August 2014

    @Franto said:
    Sorry! In windows creator, I could have sworn I've seen the word "if actor overlaps then"

    Ah, yes, I see what you mean now, you mean the collide behaviour !?

    @Franto said:I remember the mac uses different terms for some things, I was accidentally using the windows creator terms.

    To be honest I don't know my way around the PC version at all, so if the collide behaviour is called 'overlap' on the PC then that makes sense.

    @Franto said:
    I mean if I make the tile size of the character bigger than the actual actor size. Would the bigger character image still count in collision, or only the actor?

    Only the actor.

    @Franto said:
    Many apologies for my minced words before! And I solved the horizontal flip problem that had to do with directional input of the actor.

    Good ! :smile:

  • allc1865allc1865 Member, PRO Posts: 777

    If you change the actors size in gamesalad?
    You can change the the size of an image that you've imported into GameSalad and it will still have the same effect if you collide with another object.

  • Tiny_IdeasTiny_Ideas Member Posts: 326

    @Socks No non-game advertising, thanks :P

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

    @Jeromy said:
    Socks No non-game advertising, thanks :P

    :smile:

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934

    It actually is overlap or collide. ;)

    The behavior fires in overlaps when there are no physics turned on and collides when physics are on.

  • FrantoFranto Member Posts: 779

    @Socks Ok, that is understandable!

    @allc1865 I see.

    @tenrdrmer Ah! That makes sense then about collision with physics and overlap when theres no physics.

Sign In or Register to comment.