1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

GameMaker: programming a twin-stick-shooter! Enemies

Discussion in 'Programming' started by DraiterLp, Oct 5, 2017.

  1. DraiterLp

    DraiterLp Guest

    Ive done a twin-stick-shooter vs zombies. my only problem is, that i only get damage if i hit the zombies, not if they hit me... I

    Attached Files:

  2. Jochum

    Jochum Member

    Feb 13, 2017

    Please try to create a collision event for the player in the object of the zombie:
    //Collision code
    "Total health" -= "damage amount";

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice