Added: 2 years ago
From: BlueLemonKnight
Views: 10,071
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (43)

Sign In or Sign Up now to post a comment!
  • guys instead of the value "healthpoints" put "health'; without the quotes it works

  • @BeforeItComesOut It will work no matter which one of those you use aslong as you spell everything right and do the same in all codes that require it

  • ERROR in

    action number 1

    of Step Event

    for object Mainenemy:

    Error in code at line 1:

     if healthpoints < 1 {instance_destroy()} ^

    at position 4: Unknown variable healthpoints

    It doesn't work I need help!!!!!!!!!!!

  • can i do this in lite?

  • ______________________________­_____________

    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.

    help!?!?!

  • @Mr70016 I figured it out by copying and pasting ur code just make the i in if lowercase.

  • This Tutorial really helped me thank you ^.^

  • I cant do parent =(

  • wtf i looked though all my codes and my hp is 6 and when it gos < 1 it should die but i get a error before i can lunch it

  • Comment removed

  • My bullets shoot from the corner of the screen! Please Help!

  • hey dude, you know that in spanish coolo also known as culo means butt. dumbass........

  • @Coolo1pokemon check the box in "create instance of object bullet" to relative

  • My bullets shoot from the corner of the screen! Please Help!

  • how do you make a path on game maker 8.0 lite?

  • @kickme10101 change to advance mode

  • @BlueLemonKnight I put if healthpoints < 1 {instance_destroy()}

    it says error in code one unknow varialble healthpoints

  • @lorddemios2 Well have you made health different on two different codes :P

  • @BlueLemonKnight that didnt work for me how do i make it work it still says error in line 1

  • WTF!!!! I ENTERED THE CODE EXACTLY LIKE YOU AND IT SAID

    ______________________________­_____________

    ERROR in

    action number 1

    of Step Event

    for object MainEnemy:

    Error in code at line 1: if healthpoints < 1 {instance_destroy()}  ^

    at position 4: Unknown variable healthpoints

    WANT AM I DOING WRONG THIS IS THE CODE I PUT IT!

    if healthpoints < 1 {instance_destroy()}

  • @wowbob22123

    Try change healthpoints to global.healthpoints

  • @HuumeKauppias didnt work -_-

  • @wowbob22123 Watch tutorial again ;)

  • Awesome tutorial. Haha.

    And I love your username. Idk why. Don't question me. ;)

  • @xmikywayx :D

  • thx

  • I dont understand how you did the negative in this video when doing the code to subtract 2 healthpoints from the enemy when colliding with the enemy. The 2 symbols look different, one is a - and the other one is like a negative symbol...

  • Oh figured it out

  • this is great and you guys are idiots, if you think he's going to fast..... press pause or go back....

  • thanks

  • U give me a headek, hearthattack and make me throw up in the same time. Slow down next time! :P

  • I got an error in  if healthpoints < 1 (instance_destroy())

  • You forgot the = and added to many paranthesis to the instance_destroy()

    if healthpoints <= 1 instance_destroy()

  • thats too (or to?) much in short time

  • When I put in the tower and I click anywhere. A tower appears wherever I click.

  • I did that on purpose for a temporary thing. in 4 tutorial i will show you how to make placing and not being able to place on track etc

  • Oh ,thks !

  • I heard you can use paths and timelines to make cutscenes. That's the awesome part of advanced mode.

  • cool. know whats funny u posted this comment 30 seconds ago.

  • What gamemaker you use ?

    Mine doesn't have such like path and etc !

    Where did u download it ?

  • Do you have it on advance mode? you probably are using simple. I'm using game maker 7 but 6 is fine too

  • Comment removed

  • @BlueLemonKnight Hey do the codes for 6 work with 8.0 if not i screwed up

    FATAL ERROR in

    action number 1

    of  Step Event

    for object main enemy:

    COMPILATION ERROR in code action

    Error in code at line 2: ^

    at position 1: Variable name expected.

  • @SaberBlade12 make the main enemy like this main_enemy

    spaces screw stuff up for some reason

  • how do you do the part where you copy the road piece at 6:10 and put it up in the top left corner?

  • I copied it from the down sprite one

Loading...
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