movable actors are floating around...

blackmoroiblackmoroi Member Posts: 28
edited September 2014 in Working with GS (PC)

Pls help me...I am making a top down game in which player has to move some blocks..but this movable blocks are just floating around.Pls help me to fix this.I want this movable blocks should remain steady unless it is pushed by actor..Pls help me...

Answers

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    You need to constrain them to their position until the player actor collides with them.

  • blackmoroiblackmoroi Member Posts: 28

    It will be more helpful if it is more specific..how to constrain their position??.Pls help me

  • Andrea_ComisiAndrea_Comisi ItalyMember Posts: 328

    create teo attribute in the actor start x and y in the actor put two change attribute that change start x and y to his position after create two constrain attribute that constrain start x and y to the player position or you can simply change the movable attribute to false and when player collide with him change movable to true

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    You can't change the moveable attribute at runtime.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Got a video cooking just for you.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

  • blackmoroiblackmoroi Member Posts: 28

    thks thks a lot.....let me try this out

  • blackmoroiblackmoroi Member Posts: 28

    sorry to say...still not working in my project..even if the rules are applied,the box will move even when collide with enemies or other boxes,but surprisingly in the above video your boxes are not moving like that.Pls help me..can u make a download link for the above shown gamesalad project??

Sign In or Register to comment.