Game Maker RPG Tutorial Part 8 Enemies

[ad_1]
In this video we add conflict into our game and add enemies! Every RPG game needs enemies and I made sure to deliver!

► Intermediate AI Tutorial ◄

I’m the founder of codingmadesimple.com that hosts high quality, fun to learn and straight to the point course material for game developers. I’d really appreciate it if you’d check out my content.

• Course Selection •
► ◄

• Individual Game Design Courses •
► ◄
► ◄
► ◄
► ◄



Have fun learning!


Posted

in

by

Tags:

Comments

16 responses to “Game Maker RPG Tutorial Part 8 Enemies”

  1. Flynn Mandrake Avatar

    How can I make that the enemy isn't moving through my player?

  2. felixthecat03 Avatar

    when I die it says:
    _________________________________________
    ############################################################################################
    FATAL ERROR in
    action number 1
    of Step Event0
    for object obj_enemy:

    Unable to find any instance for object index '0' name 'obj_player'
    at gml_Object_obj_enemy_StepNormalEvent_1 (line 1) – mp_potential_step(obj_player.x,obj_player.y,2,false);
    ############################################################################################

  3. PIXEL GOOMBAH Avatar

    ERROR in
    action number 1
    of  Step Event
    for object object20:

    Error in code at line 8:
           global.xp += 5
           ^
    at position 6: Unknown variable xp

    idk what i did wrong may someone help me!!!!

  4. Polio Tuxedo Avatar

    to make the health system better do
    if (global.hp > 100) global.hp = 100

  5. battlefronter2 Avatar

    only if you're good at drawing

  6. Jason Avatar

    Nice tutorial! But when I tried to implement it into a game I'm working on, the collision mechanics seemed rather unpredictable. For example, the enemy would be touching the player, however, the health would not go down. Then all of a sudden, the player loses a HUGE amount of health in less than a second (literally). Also, spinning the sprite angle by spinning the mouse seems to activate the collision better. Any thoughts? I'm not complaining about your tutorial though… 😀

  7. Gm Projectx Avatar

    Could you please put the game gmk for download please!

  8. SirRocketdog Avatar

    FATAL ERROR in
    action number 1
    of Step Event0
    for object obj_leroy:

    VMError!! Occurred – Push :: Execution Error – Variable Get -6.hitpoints(100000, 0)
    at gml_Object_obj_leroy_Step_0 (line 9) – if hitpoints < 1

    Global Variables :
    attack(100005) = 0
    xp(100006) = 0
    ammo(100011) = 10

    Help please 🙁

  9. Paul Blue Avatar

    Somewhere in your object you probably put in a drag and drop that says applies to:obj_enemy

  10. Stevonicle Avatar

    uh sometimes when i hit enemy near a wall they get stuck so i was wondering what to do to make sure they don't get stuck

  11. Go Wild Avatar

    hey for some reason it keeps destroying every instance of the object in the room not just the one its colliding with, any idea what im doing wrong? i made a sword slash animation that is an obj that appears around the player depending on the direction your facing, i set a collision event with in the sword slash object with the enemy so that on collision health-=5, for the enemy in the create event i set health = 20 and in the step event if health < 1 then destroy_instance

  12. RealTutsGML Avatar

    global game settings > check full screen mode. Make the sprites whatever you want

  13. Jordana Divinorum Avatar

    I didn't know you could set the screen dimensions. I'm new to game maker. Does that mean you should make your sprites bigger than 32×32? Thanks for your help.

  14. Jordana Divinorum Avatar

    Would it be possible to make a game like this using the full screen?

  15. RealTutsGML Avatar

    @1iptidef artificial intelligence

Leave a Reply

Your email address will not be published. Required fields are marked *