Comments: 49
Hotohori-Saihitei [2014-04-17 18:50:10 +0000 UTC]
This is so helpful, when i have more time sure i will tried this, thanks for the tutorial!
π: 0 β©: 1
Rhaytronik In reply to Hotohori-Saihitei [2014-04-20 15:30:06 +0000 UTC]
You're welcome, if there any trouble, just ask. =3
π: 0 β©: 1
SushiCake3644 [2012-09-30 22:40:38 +0000 UTC]
Nvm on the first question about the attack frame( not the win or lose one), and have another question.
I made it so that you attack,enemy's hp goes down, and the enemy attacks, your hp goes down, but after the last frame it just goes to the beginning, restoring their hp. Is there a way to make it go back to the menu after the enemy attacks, but with your hp staying the same, ( like if you got attacked, it stays like that)?
π: 0 β©: 0
SushiCake3644 [2012-09-30 19:25:53 +0000 UTC]
Oh, and 1 more question xD.
When the enemy reaches 0, he still attacks but THEN it goes to the you won screen. Same if you lose. You attack after you lose then it takes you to the you lost screen.
I wanna make it so that you cant attack while at 0 hp ( obviously, lol)
π: 0 β©: 0
NightWitch14 [2012-09-04 17:39:19 +0000 UTC]
I think this is helpful.^^
Because I am making a game that is a mixture of Maze,RPG Battle,Search game,Quiz game,Sim Date and so on.XD
π: 0 β©: 1
Rhaytronik In reply to NightWitch14 [2012-09-04 23:07:21 +0000 UTC]
Thanks, glad to hear it helpful.^^
And gosh, that quite a big mix XD
π: 0 β©: 1
omgbobo [2012-06-08 13:53:15 +0000 UTC]
when I make just like you did,
I have a problem..
when I test movie, the HP didn't come out on the screen..
what should I do?
π: 0 β©: 2
Rhaytronik In reply to omgbobo [2012-06-08 15:44:43 +0000 UTC]
I notice that you'Re not the only one with this problem. I will redo my tutorial beter and check for any error, give me at least one day and I will make it and sumbit it on my DA. I will send you the link when it going to be done^^
π: 0 β©: 0
omgbobo In reply to omgbobo [2012-06-08 14:58:50 +0000 UTC]
and where I have to put attack animation?
π: 0 β©: 1
omgbobo In reply to omgbobo [2012-06-08 15:23:13 +0000 UTC]
do you have video tutorial in this tutorial?
π: 0 β©: 0
Redsss429 [2012-05-05 14:06:13 +0000 UTC]
when making this after the enemy and player attacks the health resets
help?
π: 0 β©: 0
sahyr90 [2010-04-17 12:19:05 +0000 UTC]
Rhay i,m goin to make an other game.
any hard feelings how to make items and potions
π: 0 β©: 1
Rhaytronik In reply to sahyr90 [2010-04-17 23:49:56 +0000 UTC]
Surw, i can tell you, this super easy, i just have to check on my game for be sur how I do it and I will tell you!^^
π: 0 β©: 1
sahyr90 In reply to Rhaytronik [2010-04-17 23:55:28 +0000 UTC]
oke thank you very much
π: 0 β©: 1
Rhaytronik In reply to sahyr90 [2010-04-18 14:29:16 +0000 UTC]
Well, let's me explain. First, you have to created a frame with the name of ITM and write this action script in this frame:
stop();
Second, create you're item button in your principale frame where you have to chose in your attack and whatever and put this action script in:
on (release) {
gotoAndPlay("ITM");
}
Third, go back on your item frame. We will create a button for retourn in your principale frame. So, draw something, like a X exemple, make a button with him and put this action script:
(P.S.: "You" is the name of your principale frame, if he have a other name, change it.)
on (release) {
gotoAndPlay("You");
}
Four, let's create a item. Take like exemple, a potion. so, write potion in your item box. At the right side of the name "potion", create a Dynamic text and name the Var: potion . After, create a little button at the name "potion" left side and put this action script in (P.S.: the frame USEHpotion is going to be your frame where you see the animation of your character taking his potion and got hp.):
on (release) {
gotoAndPlay("USEHpotion");
}
Five, Let's go created a new frame and name it USEHpotion . After create it, put this action script in (P.S.: This action script if for make you turn back in your item frame if your potion count is to 0):
if (_root.potion<=0) { gotoAndStop("ITM"); }
Six, create a frame just after USEHpotion, like this, if it still potion in your item frame, it will go to this one. Well, let's name our new frame Hpotion and put this action script in.(P.S.: This action script is for make -1 potion in your item frame because you use one.):
_root.potion = _root.potion -= 1;
Seven,the next frames after you frame Hpotion is going to be your animation of your character using a potion. On the frame where he tak it, put this action script in(P.S.: The number is how many hp your character recover of HP.):
_root.HP = _root.HP+= 150;
Eight, the last frame of your animation should have this action script in (P.S.: enemynormalatt is the name of the frame where the enemy attack, so, you can put the name of your enemie attack frame here.):
gotoAndPlay("enemynormalatt");
Nine, Don't forget than to your frame, before your principale frame, where the actionscript of your HP and SP is write, you have to put this actionscritp in (P.S.: The number is the number of potion.):
potion = 3;
Well, i think it's all, i hope to don't have forget something, if something wrong, tell me.^^
π: 0 β©: 1
sahyr90 In reply to Rhaytronik [2010-04-18 17:37:15 +0000 UTC]
thanks rhay im going to make it thanks for ure help
π: 0 β©: 1
Rhaytronik In reply to sahyr90 [2010-04-19 03:52:04 +0000 UTC]
You're welcome!^^
I'm happy to help!^^
π: 0 β©: 1
sahyr90 In reply to Rhaytronik [2010-04-19 07:01:26 +0000 UTC]
i know that makes you so special
π: 0 β©: 1
darkness-rage [2010-04-06 00:37:47 +0000 UTC]
what program
π: 0 β©: 1
tnyshawk [2009-07-28 19:06:15 +0000 UTC]
Nice it makes things clear and simple!
π: 0 β©: 1
Rhaytronik In reply to sahyr90 [2009-07-28 15:31:45 +0000 UTC]
_root.HP = _root.HP+= 150;
π: 0 β©: 1
Rhaytronik In reply to sahyr90 [2009-07-28 16:11:41 +0000 UTC]
Your welcome!^^
π: 0 β©: 0
sahyr90 [2009-07-27 19:38:46 +0000 UTC]
i almost have it the problem is if i play it the attack button wont response i did gotoandplay code do i need to write that on the frame or the attack button
π: 0 β©: 1
Rhaytronik In reply to sahyr90 [2009-07-28 01:42:33 +0000 UTC]
Do you have convert the the button attack in a button?
π: 0 β©: 1
sahyr90 In reply to Rhaytronik [2009-07-28 01:44:40 +0000 UTC]
yep the button is oke now i got problems if i set the code to get
it in the lose and win frame
π: 0 β©: 0
Vivi-Bluefire [2009-07-27 07:20:14 +0000 UTC]
He, thatΒ΄s really good^^
It looks that you needed some time for this, but itΒ΄s great!
Nice job!^^ *thumbsup:
--
Vivi, the mysterious master of Bluefire.
π: 0 β©: 1
Rhaytronik In reply to Vivi-Bluefire [2009-07-27 13:02:00 +0000 UTC]
Thanks!^^
I think than that's take me 2 hour!
π: 0 β©: 1
Vivi-Bluefire In reply to Rhaytronik [2009-07-27 16:15:04 +0000 UTC]
No pproblem^^
But wow! 2 hours! O.o!
π: 0 β©: 1
Rhaytronik In reply to DekuDave5 [2009-07-27 03:30:19 +0000 UTC]
Thanks!^^
and yeah!
π: 0 β©: 0
AnthonyPresley [2009-07-27 01:27:19 +0000 UTC]
good job on this
π: 0 β©: 1