collapse

Author Topic: making character resistant to attacks?  (Read 536 times)

0 Members and 1 Guest are viewing this topic.

Offline YoungSamurai5

  • Young Coder
  • Forum Member
  • ***
  • Posts: 221
  • Last Login:October 11, 2018, 09:37:13 PM
  • Live by the gun, Die by the sword
    • Email
making character resistant to attacks?
« on: September 16, 2012, 04:25:04 PM »
is it possible make it so that fire and electric shocks do not cause damage to p1 with some sort of trigger?


Mugen or Nothin


Offline The Bass

  • Learning how to code................
  • Initiate
  • **
  • Posts: 46
  • Last Login:September 18, 2012, 12:34:14 PM
  • Learning how to code................
Re: making character resistant to attacks?
« Reply #1 on: September 16, 2012, 04:31:34 PM »
is it possible make it so that fire and electric shocks

what does this even mean

Offline YoungSamurai5

  • Young Coder
  • Forum Member
  • ***
  • Posts: 221
  • Last Login:October 11, 2018, 09:37:13 PM
  • Live by the gun, Die by the sword
    • Email
Re: making character resistant to attacks?
« Reply #2 on: September 16, 2012, 04:34:14 PM »
what does this even mean

i dont know how to explain it any more simple than that...
Mugen or Nothin


Offline Femrril

  • Initiate
  • **
  • Posts: 31
  • Last Login:June 23, 2016, 03:56:02 PM
Re: making character resistant to attacks?
« Reply #3 on: September 16, 2012, 05:09:16 PM »
You need to be more specific than that, first you need an armor code so you char won t be hit by specific attacks.

Second, when you code an armor you only can choose between blocking normal attacks, projectile or throws.

You can t choose to block electric, water, fire or any other kind of attack cuz in the code all that is the same just a projectile or a helper.

So if you choose to block projectiles, the char will not be affected by any projectile (fire, water, electric, etc).

Hope this helps.

Offline YoungSamurai5

  • Young Coder
  • Forum Member
  • ***
  • Posts: 221
  • Last Login:October 11, 2018, 09:37:13 PM
  • Live by the gun, Die by the sword
    • Email
Re: making character resistant to attacks?
« Reply #4 on: September 16, 2012, 05:36:24 PM »
yes thank you femrril that helps. so i cant even do it for a full game?
Mugen or Nothin


Offline Femrril

  • Initiate
  • **
  • Posts: 31
  • Last Login:June 23, 2016, 03:56:02 PM
Re: making character resistant to attacks?
« Reply #5 on: September 16, 2012, 05:56:11 PM »
If you try to use that in a game, then you can use as trigger for the armor, the name of the opponent plus the stateno where he is at that moment.

With that you can activate the armor when a character that you know is using a fire, electric or water attack.

That will make it work as you which but i have to code a case for all the chars and all the attacks that you want to block.

Offline YoungSamurai5

  • Young Coder
  • Forum Member
  • ***
  • Posts: 221
  • Last Login:October 11, 2018, 09:37:13 PM
  • Live by the gun, Die by the sword
    • Email
Re: making character resistant to attacks?
« Reply #6 on: September 16, 2012, 09:25:11 PM »
it would just be for one character
Mugen or Nothin


Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Diek Stiekem
[June 25, 2024, 10:25:34 AM]


Golden Axe Returns by striderhiryu201
[June 23, 2024, 04:15:50 PM]


Virtual Bart Science Fair by Rage
[June 21, 2024, 01:25:51 PM]


Turn Battle - Mega Man Robot Master Mayhem by O Ilusionista
[June 18, 2024, 10:11:08 AM]


Classic VS : Cheng / Athena by O Ilusionista
[June 18, 2024, 10:10:26 AM]


Downtown Nekketsu Monogatari Stage Pack by Vegaz by LightFlare
[June 17, 2024, 02:30:12 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]

* IMT Calendar

June 2024
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 [26] 27 28 29
30

SimplePortal 2.3.5 © 2008-2012, SimplePortal