collapse

Author Topic: Hi res hitsparks(hard to explain)  (Read 809 times)

0 Members and 1 Guest are viewing this topic.

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Hi res hitsparks(hard to explain)
« on: December 16, 2011, 09:56:59 AM »
Ok...this is very hard for me to explain.  I'm coding hitsparks the "hi res" way with variables but having trouble adding hitsparks to this attack.  

This is the code btw.
(click to show/hide)

Whats highlighted in bold is what i added to give it a hitspark, it worked but it gave me a full list of errors every time i do the attack now.  If you want to see any other code or the list of errors, leave a message.


A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: Hi res hitsparks(hard to explain)
« Reply #1 on: December 16, 2011, 10:28:06 AM »
What is in statedef 8020?

What are the error codes?

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: Hi res hitsparks(hard to explain)
« Reply #2 on: December 16, 2011, 10:33:50 AM »
Thanks for replying.  I know its a bit of a hassle but its been bothering me for 2 days now

Statedef 8020(Its the Hitspark)
(click to show/hide)

I don't understand what it means

Happens every time i do the attack
« Last Edit: December 16, 2011, 10:55:34 AM by =A= »
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Infinite Power

  • The End All Be All
  • Contributor
  • ****
  • Posts: 747
  • Last Login:January 27, 2020, 09:36:52 AM
  • Energy Doesn't Die
    • Infinite Fighting Forum
Re: Hi res hitsparks(hard to explain)
« Reply #3 on: December 16, 2011, 12:23:13 PM »
Try replacing your particle explod trigger with this or something similar

[State 8020, Particles]
type = Explod
trigger1 = time<=4
trigger1 =Numhelper(8021)=0
anim = 8021
ID = 8021
postype = p1
vel = -10+(random/50.0), -10+(random/50.0)
scale = .4 + (random/5000.0), .4 + (random/5000.0)
sprpriority = 5
pausemovetime = -1
supermovetime = -1

Now Die, Mortal.

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: Hi res hitsparks(hard to explain)
« Reply #4 on: December 16, 2011, 12:30:03 PM »
Try replacing your particle explod trigger with this or something similar

[State 8020, Particles]
type = Explod
trigger1 = time<=4
trigger1 =Numhelper(8021)=0
anim = 8021
ID = 8021
postype = p1
vel = -10+(random/50.0), -10+(random/50.0)
scale = .4 + (random/5000.0), .4 + (random/5000.0)
sprpriority = 5
pausemovetime = -1
supermovetime = -1

Brilliant, it worked thanks a lot infinite
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Infinite Power

  • The End All Be All
  • Contributor
  • ****
  • Posts: 747
  • Last Login:January 27, 2020, 09:36:52 AM
  • Energy Doesn't Die
    • Infinite Fighting Forum
Re: Hi res hitsparks(hard to explain)
« Reply #5 on: December 16, 2011, 01:03:20 PM »
No problem.

Now Die, Mortal.

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

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]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[May 21, 2024, 11:50:20 PM]


The Spider release + Spider-Man game by kobun
[May 21, 2024, 02:05:24 AM]


Let's all try it together! Yazawanainn gose breakdancing in MUGEN! by GTFoxN6Y
[May 18, 2024, 05:00:14 PM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[May 18, 2024, 11:17:34 AM]


Classic VS : Athena by ELECTRO
[May 15, 2024, 01:25:51 PM]


D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal