YesNoOk
avatar

Black pixel line around char? help please! (Read 354 times)

Started by mastertkof, January 19, 2014, 06:13:20 pm
Share this topic:
Black pixel line around char? help please!
New #1  January 19, 2014, 06:13:20 pm
  • avatar
  • **
    • Brazil
i want do this (only in game effect, no in the sprites)->
with the simple sprites (using only codes in game)->
to the game seems like this
Spoiler, click to toggle visibilty
using some thing like this->
Spoiler, click to toggle visibilty
in this way no will need to edit the sprites, only the code in char...
anyone can help with this code?
the game that have the effect is kof um extra plus by 119way
Thanks everyone!
i used the code of 119way with some mods
if anyone wants the code, just request me
SOLVED!
Last Edit: January 21, 2014, 10:50:04 pm by mastertkof
Re: Black pixel line around char? help please!
#2  January 19, 2014, 07:49:33 pm
  • **
  • NvP!
use a helper with an empty animation and add this
Code:
[State 77, anim]
type=changeanim
trigger1= selfanimexist(root,anim)
value=(root,anim)
elem=(root,animelemno(0))

Code:
[State 0, BindToParent]
type = BindToRoot
trigger1 = 1
pos = -1,0
and a
Code:
[State 0, PalFXWiz]
type = PalFX
trigger1 = 1
time = 1
add = 0,100,50
mul = 20,120,24
sinadd = 85,110,55,1
invertall = 1
color = 0
and there u have it
Last Edit: January 19, 2014, 07:55:53 pm by Blvck.Scvle.299
Re: Black pixel line around char? help please!
#3  January 19, 2014, 07:54:21 pm
  • avatar
  • **
    • Brazil
you no understand the question.. i want a black pixel line around the char... like the first image of vice
Re: Black pixel line around char? help please!
#4  January 19, 2014, 08:00:26 pm
  • **
  • NvP!
lol dude i just gave u the code for the green line thing, i tested it and it looked exactly like in the picture :o
So if u dont want to use codes then just use photoshop, add a drop shadow and done
Re: Black pixel line around char? help please!
#5  January 19, 2014, 08:10:35 pm
  • avatar
  • **
    • Brazil
lol....  >_<
i just say, the green line i used like exemple...
i need black line ;P
understand now?
and the blackline need be in all sides os char...
like in the first picture of vice
Re: Black pixel line around char? help please!
#6  January 19, 2014, 08:11:37 pm
  • *****
  • School.
    • Greenland
    • Skype - wattawright
    • mugencoder.com/authors/view/watta
Yes, you have to use photoshop or some photo editing software. Just separate the sprite form the BG and use the stroke option from the blending menu.
Re: Black pixel line around char? help please!
#7  January 19, 2014, 08:19:17 pm
  • avatar
  • **
    • Brazil
ok... i'm sorry guys
at now, i no know how to explain the point
a just want do this ->
without need to edit the sprites
Spoiler, click to toggle visibilty
Re: Black pixel line around char? help please!
#8  January 19, 2014, 08:31:17 pm
  • *****
  • Sprite Whore
    • USA
    • https://www.facebook.com/lee.tuttle.7
Photoshop
Record new action
Open a sprite with a transparent background, > Stroke > Save > Close
Batch the action to every sprite (make sure they have a transparent background) in your folder of sprites that you want the outline on.
Re: Black pixel line around char? help please!
#9  January 19, 2014, 09:23:07 pm
  • avatar
  • **
    • Brazil
something as wrong :/
Spoiler, click to toggle visibilty
Re: Black pixel line around char? help please!
#10  January 19, 2014, 10:32:31 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
PalFX modifies your ENTIRE character's palette. That's why it was suggested to you that you use a Helper to get the effect. The only way you could get this to work with code is if you had four or more of the same helper, each offset at a different location. This would create a line on each side of the character and achieve your desired effect. The only other way is by modifying sprites. Listen to these guys. They know what they're talking about.

-[Все слова это только слова.]-
Re: Black pixel line around char? help please!
#11  January 19, 2014, 11:47:39 pm
  • avatar
  • **
    • Brazil
thanks everyone who wants help!

improving the code now...
Spoiler, click to toggle visibilty
Re: Black pixel line around char? help please!
#12  January 19, 2014, 11:54:02 pm
  • ****
  • The Legend Will Never Die
    • Mexico
I should probably mention a small issue with this helper method, when the root is moving the helper may sometimes update to the wrong position when they end up running at "different" points in time.

This is noticeable in the corner and during heavy movement with hitpauses. Just keep that in mind. :P
Twitter: @vans1belmont
1.1 AZRAEL #GDLK
amazon, pls
Re: Black pixel line around char? help please!
#13  January 20, 2014, 12:32:18 am
  • avatar
  • **
    • Brazil
r using vars to cancel this effect
runs fine in game...
the code at now ->
if anyone can help me improving this...
thanks at now guys...
need help in the right side of screen
first side
Spoiler, click to toggle visibilty
second side
Spoiler, click to toggle visibilty
and help to no get hited, when char get hited the effect desapear...
so... still trying to improve code here

      Posted: January 20, 2014, 04:22:08 pm
Last Edit: January 20, 2014, 04:26:40 pm by mastertkof
Re: Black pixel line around char? help please!
#14  January 21, 2014, 01:34:14 pm
  • ****
  • The Legend Will Never Die
    • Mexico
I can help you.

Can you let me see what you have?
Twitter: @vans1belmont
1.1 AZRAEL #GDLK
amazon, pls
Re: Black pixel line around char? help please!
#15  January 21, 2014, 01:54:09 pm
  • *****
  • aka G.o.D.
    • Italy
    • god-of-death-alex.deviantart.com/

  • Online
He edited his first post saying he solved it.

I'm interested in that code, do you mind sharing it with us, mastertkof? :)

Re: Black pixel line around char? help please!
New #16  January 21, 2014, 10:37:09 pm
  • avatar
  • **
    • Brazil
OK guys! all things i do in mugen is for free sharing

this is the code at now...
still have little bugs... if anyone fix it please post the new version of the code
Thanks "Vans" !
do yours mods and post or mail-me the new code in-> smevilmaster@gmail.com
i'm trying change the icon to "SOLVED" but no found the option
Spoiler, click to toggle visibilty
Last Edit: January 21, 2014, 10:47:43 pm by mastertkof