help
|
|
Draox | Date: Monday, 2012-06-04, 1:26 PM | Message # 1 |
Templar Knight
Group: contributor
Messages: 275
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
| example...how to code hit effect,like attack enemy and then spark came from that attack...how to code it someone please help??
|
|
| |
Leo116 | Date: Monday, 2012-06-04, 2:04 PM | Message # 2 |
Angel
Group: contributor
Messages: 1083
Awards: 1
Reputation: 11
Reproofs: 0%
Status: Offline
| For what move are you asking? For simple punch or special attacks.
|
|
| |
sgn_15 | Date: Monday, 2012-06-04, 2:08 PM | Message # 3 |
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
| find sparkno in your hitdef
you can use the default ones like 10 or 11 for blood or 0,1,2,3 for standard hit effects
for custom hit sparks, add S to the number
sparkno = S99999
you need to add anim 9999 to the animation file of the char
|
|
| |
Draox | Date: Monday, 2012-06-04, 2:19 PM | Message # 4 |
Templar Knight
Group: contributor
Messages: 275
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
| thanks sgn
|
|
| |
KIX | Date: Monday, 2012-06-04, 2:28 PM | Message # 5 |
Archangel
Group: contributor
Messages: 1687
Awards: 1
Reputation: 12
Reproofs: 0%
Status: Offline
| Hey Sgn How Do You Set The Offset For The Default ones
http://neuropod.net/imagehost/uploads/c51c674fa9ef4160d2c1ea14a9859c4f.gif <---- 5%
|
|
| |
Leo116 | Date: Monday, 2012-06-04, 2:38 PM | Message # 6 |
Angel
Group: contributor
Messages: 1083
Awards: 1
Reputation: 11
Reproofs: 0%
Status: Offline
| KIX, find sparkxy = 20, 0 in your hitdef. The first 20 is for x-axis and the other 0 is for y-axis. Change it to your requirement.
|
|
| |
Draox | Date: Monday, 2012-06-04, 3:00 PM | Message # 7 |
Templar Knight
Group: contributor
Messages: 275
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
| i more question...how to coding hit def someone help
|
|
| |
sgn_15 | Date: Monday, 2012-06-04, 3:16 PM | Message # 8 |
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
| Quote (Draox) i more question...how to coding hit def someone help what are you asking? you mean the trigger ? use for example,
trigger1 = animelem = 1
it means 1st sprite in your animation of your attack should do damage
trigger1 = animelem = 1 trigger2 = animelem = 2
it means 1st and 2nd sprites of your attack anim will do damage
@kox leo answered your question already. also, offset is for any kind of hitspark. it works for custom hitsparks as well
|
|
| |
Draox | Date: Monday, 2012-06-04, 3:21 PM | Message # 9 |
Templar Knight
Group: contributor
Messages: 275
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
| how to use my hit spark sprite
|
|
| |
Leo116 | Date: Monday, 2012-06-04, 3:25 PM | Message # 10 |
Angel
Group: contributor
Messages: 1083
Awards: 1
Reputation: 11
Reproofs: 0%
Status: Offline
| Make a animation of your hitspark the find its beginaction no. Suppose it is 200 so find the sparkno in your hitdef and put it like this: sparkno = S200.
|
|
| |
Draox | Date: Monday, 2012-06-04, 3:33 PM | Message # 11 |
Templar Knight
Group: contributor
Messages: 275
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
| ok i will try... if you have any hit spark sprite,post here
Message edited by Draox - Monday, 2012-06-04, 3:39 PM |
|
| |
KIX | Date: Monday, 2012-06-04, 3:46 PM | Message # 12 |
Archangel
Group: contributor
Messages: 1687
Awards: 1
Reputation: 12
Reproofs: 0%
Status: Offline
| Quote (sgn_15) @kox leo answered your question already How......I Mean It doesnt Show Up On Offset :\ So Am I Suppose To Guess Were Its Suppose To Hit
http://neuropod.net/imagehost/uploads/c51c674fa9ef4160d2c1ea14a9859c4f.gif <---- 5%
|
|
| |
sgn_15 | Date: Monday, 2012-06-04, 3:49 PM | Message # 13 |
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
| no. the offset is from the point of view of the enemy, not your point of view
try something like 0,0 then adjust from there
|
|
| |
Leo116 | Date: Monday, 2012-06-04, 4:09 PM | Message # 14 |
Angel
Group: contributor
Messages: 1083
Awards: 1
Reputation: 11
Reproofs: 0%
Status: Offline
| Quote (Draox) ok i will try... if you have any hit spark sprite,post here
If you want hitsparks then open other characters and get it from them.
|
|
| |
Draox | Date: Monday, 2012-06-04, 4:22 PM | Message # 15 |
Templar Knight
Group: contributor
Messages: 275
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
| you smart..thanks ya
|
|
| |