How do I turn off controls after object has landed?

0 favourites
  • 4 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • I am attempting make a clone of the Sword Fighting Puzzle game from Puzzle Pirates. I am running into a few problems.

    1.

    My biggest question is what is the best way to make a block that has landed/ stopped moving to no longer be controlled by the user? It seems very simple and i tried to use a instance variable and the platform behavior to check if falling/stopped. But it doesnt seem to do anything.

    Capx for example:

    https@@://drive.google.com/file/d/0B0psFoxYWKO0c1pzSy10ZC01dHc/view?usp=sharing

    (added @ so I could post link)

    2.

    Also a smaller question is: I would love to make it to where the block only moved 32 pixels at a time. I know how to do this one way. and I left it in the capx under the group name Movement by Pixel. But as I commented in capx when I do this it allows the block to move through the solid wall. Could somebody point me in a direction on how to do this? (btw just disable the 8 direction behavior and enable the Movemen by pixel group to see what i mean.)

    Thanks a million.

    Aaron

  • Fixed a few bugs in the project for you just uploading and getting you a link to the fixes I made to it

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the help. When I open up your link I cant find the changes that you made. Could you tell me what you changed. Sorry I am slow sometimes. I really appreciate the help.

    Aaron

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)