Added: 2 years ago
From: 177Ronaldo717
Views: 18,202
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (83)

Sign In or Sign Up now to post a comment!
  • gr8 tut! needed help with the turns anyway what does the action event do any ways? why not switch turns

  • uuuh can u give us the character doawnloads?

  • lol my mom uses this song in her kick boxing class at the gym lol and great tutorial

  • @noshi49 are you from sweden?

  • i lol'd because when you picked keyboard shift i read it as shit.......

    

  • Hourglass as cursor this is creative!

  • I can't stop nodding my head to the beat!

  • no needs PRO

  • @OwenEaster hey im trying to make an realtime battle system, now what i tried at first is using the place_free() command that argues that when yur close enough plressing space will attack, but i cant seem to get that to work, well mostly because i really knew deeply what that command does, im using an ATKcheck coomand that when youve attacked the enemy it returns as true and tells the enemy t attack back, that works, it should all work well if u can help figue out why it dosent attack or calcute

  • Cool PC theme. What is it?

  • with some modifications it worked

  • finally, an RPG tut that ISNT just using backgrounds/tilesets

  • what about speed variables where the the person with the higher speed attacks first?

  • THANK YOU!!!! u helped me a lot

  • Awesome! Thanks For this :)

  • enemy no atack...

  • how can u make it so there r a chance that attacks miss or a chance that they do a certain amount of damage?

  • @Mariorox10 if you're doing an rpg, you'll probably have variables in your character as stats, right? say it's objPlayer1 and you have Dexterity as 25 and Strength at 12, but you want to calculate damage and hit chance based off of that, it's just mathematics to figure it out: not much really to do with programming...

    for instance, say if it's 1:1 dex to chance, then it'd be something like such:

    if (objPlayer.Dexterity >= random(objPlayer.Dexterity))

    { // attack code here

    }

  • @krononomikon for the attack, calculate it in the same way:

    if you want 1:1, then make the other thing's hp decrease by the strength number, or in conjuction with a weapon and/or enemy armor. Here's an example of what I mean, but do it however you want:

    if (objPlayer.Dexterity >= random(objPlayer.Dexterity))

    { var atk; atk = objPlayer.Strength + objSword.Power atk -= objEnemy.Armor objEnemy.HP -= atk

    }

    That's if you have an object for the weapon, but you'd probably have a ds_map or such

  • @krononomikon whoops, I meant for the if statement this:

    if (objPlayer.Dexterity >= random(100))

  • @krononomikon thanks ill try it!

  • thx for this! I'm gonna make a mega-game RPG with many characters from different universes :3

  • @ultimatetrunks1 it means like your player attacks then waits for the enimie to attack

    then is reapeated

  • can you make a video like this but it is turn based

  • What OS is this on?

  • WHY THE CRAP DOES EVERYTHING NEED VERSION 8?!??! I HAVE & PRO

  • ok i figured it out :D

  • Comment removed

  • maybe some instructions?

  • i have pro so i dont care :)

  • what are you writing on the draw option?

  • this helped me very much :)

  • how do i make it so i can use different things like items?

  • AWSOME TUTORIAL!!!!

  • idk why but in my create in obj_player to get his health 15 it wont work and its typed perfectly

  • what is da sowng

  • this is a great tutorial and i appreciate it but how do you make it so diferent enemies can have diferent attacks? Every enemy has the same attack because alarm 0 on object_player

  • TUNE!!

  • fank alot mate

  • oh yeah I can't figure out what to change to make the enemy use a different attack!

  • how do you make it when you go to battle with the enemy, when you win you go back to the room you 'found' him in?

  • Set the room you were in to persistent, create a destroy event on the obj_enemy and in the main1 tab, drag Different Room to the Actions area, where it says New Room either type in the room name or select the room from the list next to the text box.

  • it worked, but I made it so when you colide with a standing enemy, you go to battle, and when he gets back in the room, I still 'colliding' with him, so it starts all over

  • When you collide with the enemy, have the enemy destroy itself, create a destroy even for that enemy and put in it the thing you had in the collision event. When you appar back in the room then the enemy will still be gone...Unless you have some sort of respawn active.

  • sweet that'll work thanks man

  • how do you make it so the enemy can have more than one attack?

  • If you still want to know how to make the enemy have more than one attack I have the answer, reply if you want me to explain it

  • thanks but i stopped working on the game

  • All right

  • @ShoenenJumpLuffy plz explane

  • Okay I'll send you the instructions in a PM, I'm working on it right now in Game Maker to get it to work, and when I do I'll send you it.

    All of it will be in GML so it's easy to copy and past all you need to do is make events.

    I'll PM you when I finish and test it.

  • @ShoenenJumpLuffy how can u make it kick like u do :P ?

  • Comment removed

  • what about using the test chance option? so you can miss..

  • @daniel304kingkong i did that... it made the game better XD

  • And you can also test a chance in GML:

    chance = floor(random(2))

    if chance == 1{

    //do stuff

    }

    else{ exit; }

  • Comment removed

  • @kirbybros130

    Depends one what you want to do,

    Could possibly go into the step event.

  • @daniel304kingkong the step event to what? there are two

    

  • @kirbybros130

    Just the "Step" event, not Begin or End Step.

  • @daniel304kingkong "Depends one" do you mean global.enemyhealth smaller than 1?

  • @kirbybros130

    Typo. I meant Depends on.

    Also, I wasn't really expecting that you asked me in what event..

    I mean, I watched the tutorial, ages ago.. Just checking if it was a proper tut..

    And I only noticed that.. However, this code will happen before damage calculation..

  • @daniel304kingkong sorry sorry i forgot that there was only one step in enemy but i figured it out it had to do with the create attack or something :)

  • @daniel304kingkong

    its a good idea except that its a "1 out of" chance so its 50% hit or lower.

  • @Frelakorn

    You can also change this amount by using stuff like:

    chance = floor(random(20)) instead of chance = floor(random(2))

    then you will still need

    if chance = range(1,5) || if chance = range(12,20)

    or if chance = 1 || if chance = 2

    etc.

  • @daniel304kingkong You said "what about using the test chance option? so you can miss.." without "".

    I will tell you how floor(random(14-1)) whatever;

    Up above code gives a one in fourteen chance of whatever.

  • @Fira777

    I know.. I was just saying that he could be using that.

    Also, floor(random(14-1)) won't work.

    It'd be something like:

    lol = floor(random_range(14,1))

    and then

    if lol == 1{ other.health-=10

    }

    That'd give you a 1/14 chance.

  • Comment removed

  • What does exit this event means? Cause you've got it three times... :o

  • idk never used it before but i think it has something to do with stopping the events before it (obviously) becasue there are the same amount of stops as there are events after the "else" i confused myself... lol

  • lol, i get ur point :p ty

  • u rock!

  • nice

  • needs PRO ?

  • I don't think so.

  • @177Ronaldo717 whats the song name???

  • @Diabolist10 i has pro XD

  • @Diabolist10 No it doesnt needs pro it needs advanced mode :D that means no PRO

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