on object release

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • i am making this game for our gaming programming class, my game is a finger slayer style game and i need help on the mechanics. what the specific mechanic i need is that , when the blade is still dropping you cannot remove your finger on a specific area, if your finger is removed in the said area then the blade should go into the initial position then it will prompt the player to put his finger back to the area to resume the game. i badly need help because as of now i am stumped. any help is appreciated

  • explaining this to the player visually is quite tricky.

    programming-wise, i would create a sprite as collision area where your finger has to stay.

    as long as the finger is on collision with the sprite, the blade keeps swinging.

    when removing the finger from the sprite, you create a text object with the text you want and pause the game by using the command "set time scale = 0"

    once collision with the sprite is true again, set time scale to 1 again and delete the text.

    you probably need to create different groups and/or variables to track the different situations your are in

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i do have a sprite that when collided with the blade, resets the score and the layout. to clarify you though my game is guillotine style, where the area on which the head will go in is the area where the finger will go. another idea i had is that when the player remove his/her finger on the area, it will jump on another layout that will indicate the player to put his finger back on the area. but then again the score will reset when i do that

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