collapse

Author Topic: making character resistant to attacks?  (Read 506 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

[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[May 26, 2024, 07:39:11 PM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 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