Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Game maker tower defense tutorial part 2(b) paths/health/etc

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,045
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 25, 2009

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (BlueLemonKnight)

  • wat does not defined mean(sorry if you think im a n00b)

  • @RealMrBeepBeepBoop Not defined means basically: Not specified like what it will do

  • my enemies dont come down the path everything else works fine what do you think i did wrong????

  • @RealMrBeepBeepBoop I dont know whats wrong but if they dont follow the path either its not defined or the path isnt made correctly

  • ______________________________­_____________

    FATAL ERROR in

    action number 1

    of Step Event

    for object MainEnemy:

    COMPILATION ERROR in code action

    Error in code at line 1: If HealthPoints < 1 {instance_destroy()} ^

    at position 4: Assignment operator expected. how do i get rid of this?? plz help

  • ok, you probably made a typo on healthpoints

    one of the variables might be mispelled

see all

All Comments (53)

Sign In or Sign Up now to post a comment!
  • @BlueLemonKnight dude

    instead of using like 5 sprites for the walls use one "tile" sprite as all of the walls

  • @SHIPLEYC make the bullets get destroyed if the hit an enemy otherwise they can hit more than once

  • @D3athGiv3r "()"'sfor the if statement

  • @lausvane in bullet inside the collision event only place the destroy instance for the bullet itself change to the enemy object and make a bullet collision event and add an execute code and inside that write "healthpoints -= 2" then on the next line write "if healthpoints < 1" then next line "{" then the next line should be "instance_destroy()" then the next line is "}" that will allow the enemies to die seperately

  • when one enemy dies all other enemys die

  • the enemys dont show up

  • can you help me? when a bullet touches a enemy every enemy on the screen dies!

  • @BlueLemonKnight Im still having problems with when my tower kills one of the enemies, all of them disappear and they die from just one hit. But if the bullet damage is 2 and the enemies have 5 HP then they should take a few hits to die right?

  • If youre having problems with HealthPoints and you are using the latest version of Game Maker, change the variable name to just "health" (minus the " ") and that should work.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more