CPR Game Question

Not sure if this belonged in this category but I hope I can get some help with this.

I am working on a game, and everything is going rather well but there is this one scene that has proven troublesome for me. The idea behind the scene is that, a person has gone into cardiac arrest, and you perform CPR on them. Ive created an actor that is the hand/hands (player can switch the position of the hands with keys 1-3), the hands follow the mouse cursor around and u see the person on the floor from the perspective of the person doing the resuscitation.

I have created 3 transparent actors that act as zones where u can press down on (head, chest, stomach). The idea is that if u press down on each different area u get a feedback, where the chest area is the only correct one. After 5 pushes on the chest, the idea is that it should take you to the win screen, where as if u press too much in the wrong areas it takes u to the death screen.

I am having trouble with this last part, the hands move down when i click etc, but im not sure if its identifying the areas well or if its counting the times i press down on the attribute i created. Any ideas? (sorry I know its a long one)

Answers

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    It's difficult to know what to suggest without knowing how you have your rules set up.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • WebnurvWebnurv Member Posts: 2
    edited April 2015

    @tatiang said:
    It's difficult to know what to suggest without knowing how you have your rules set up.

    you are right. I was basically looking for ideas how this could be accomplished more than fixing my own rules but i can post a picture of what I have for the chest area (i have the rules separated in several actors it could be a hassle)

    http://imgur.com/J7ipLGN

Sign In or Register to comment.