YesNoOk
avatar

SNK VS CAPCOM 2 Screenpack (or something like that) (Read 738 times)

Started by NiO KuSaNaGi, November 14, 2014, 08:33:47 am
Share this topic:
SNK VS CAPCOM 2 Screenpack (or something like that)
#1  November 14, 2014, 08:33:47 am
  • *****
  • kill them all
    • www.triggerall.com
Hi, I'm doing a sprite edit from Devon's World Warrior Screenpack, I wanted something like a SvC2 kind of thing, not like a real sequel, but something that makes you think "hey SvC should exist some day"

I did this edit, I have the problem with the cut images, don't know if it's possible to end the animation before the images get cut (or stop them, but I doubt tthat can be done)... I recorded the Screenpack with that error and another extra inside the video... and no, I will not make that character, because is nearly already done, but it has a new coder.

http://www.youtube.com/watch?v=PwbI9xY-BZk&feature=youtu.be

Hope you like it, the background is a place holder, so if you have better ideas let me know, you can contribute here, I wanted a world at first, but the world image I got was not really cool, Devon would sent another World image soon... Remember I'm not a coder, so I'm doing it aand kinda learning at the same time.

EDIT: btw, the only thing I'm thinking to solve the Cut problem in Ryu and Kyo would be to start in reverse, the characters already close and going away from each other, I want to use 4 layers, Kyo, Ryu and both hands-punches moving a bit faster than the bodies.

Any idea or contribution is welcome...

Enjoy
            www.triggerall.com
Last Edit: November 14, 2014, 08:37:30 am by NiO KuSaNaGi
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#2  November 14, 2014, 11:49:42 am
  • *****
  • kill them all
    • www.triggerall.com
I shouldn't be double posting, but considering this is an update made today (what I uploaded in the video was from yesterday) I want to share it and get opinions on how to solve my problem with the cropped images...

this is a little preview of how it looks now, I got a template by Devon but the Map image has the same problem, it's cropped on the right side and I can't repeat that image with that problem...



I have 2 options...

1- Not sure if this can be done, but I saw a Mugen Screenpack that did something like this... the Images (in this case Ryu, Kyo and both punches) will move, but at certain time they will stop, this would be the best option IMO if possible (but I have no idea on how that works)

2- Not the best but maybe could work if done well... add another image in front of those animations, something like Kyo & Ryu in black and white, static image, to hide the moving ones... like I said, this would be my last resort if I can't get it to work, but AFAIK the 1st option is possible

            www.triggerall.com
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#3  November 14, 2014, 12:36:59 pm
  • ***
  • #Verified
    • New Zealand
    • Skype - king.of.ahipara

  • Online
1- Not sure if this can be done, but I saw a Mugen Screenpack that did something like this... the Images (in this case Ryu, Kyo and both punches) will move, but at certain time they will stop, this would be the best option IMO if possible (but I have no idea on how that works)
That's easy, one frame animation loop on the last frame, the animation will cycle through then loop itself at the end. Something like this:
Code:
[Begin Action 40]
-1,0, 0,0, 120
40,0, 0,0, 5
40,1, 0,0, 5
40,2, 0,0, 5
40,3, 0,0, 5
40,4, 0,0, 30
loopstart
40,5, 0,0, 1
Unless you're using velocity values, then you're SOL, i think.
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#4  November 14, 2014, 12:44:16 pm
  • *****
  • kill them all
    • www.triggerall.com
haha remember when I toold you I don't know how to code? x)

yeah, I'm using velocity = x,y

this is the code I;m using for one of the punches (iirc)

Code:
[TitleBG BackgroundEDIT]
type = normal
spriteno = 100,10
layerno = 0
start = 0,0
velocity = .07, 0
window = 0,0, 1280,720
mask = 1

one friend over facebook told me to do something like this...

Code:
[TitleBG BackgroundEDIT]
Type = anim
Actionno = 100
Start = 0,0
Mask = 1

[Begin action 100]
0,8,0,0,5
0,8,5,0,5
0,8,10,0,5
0,8,15,0,5
0,8,20,0,5
0,8,25,0,5
0,8,30,0,5
0,8,35,0,-1

I will try both versions to get it working, and of course if I can make it work, I think I'm going to make those images move faster, to make it look cooler and less static
            www.triggerall.com
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#5  November 14, 2014, 12:48:13 pm
  • ***
  • #Verified
    • New Zealand
    • Skype - king.of.ahipara

  • Online
Ahh, of course. -1 on the last frame will freeze that frame.

Your friend is smart, listen to him not me. Also don't use velocity for those animations. If you want a more smoother movement, add more frames.
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#6  November 14, 2014, 08:32:53 pm
  • *****
  • kill them all
    • www.triggerall.com
right now all I see are numbers, can't understand really well what they do
I will try to add some values tomorrow to see how it works and finish that animation

what I really don't understand is about adding more frames... that would mean something more like this?

Code:
    [TitleBG BackgroundEDIT]
    Type = anim
    Actionno = 100
    Start = 0,0
    Mask = 1
     
    [Begin action 100]
    0,8,0,0,5
    0,8,3,0,5
    0,8,5,0,5
    0,8,7,0,5
    0,8,10,0,5
    0,8,12,0,5
    0,8,15,0,5
    0,8,17,0,5
    0,8,20,0,5
    0,8,22,0,5
    0,8,25,0,5
   (etc etc)
    0,8,35,0,-1
            www.triggerall.com
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#7  November 14, 2014, 10:24:48 pm
  • ***
  • #Verified
    • New Zealand
    • Skype - king.of.ahipara

  • Online
I'll give you a quick crash course. I haven't really touched code in 6 weeks but it's coming back to me.

Code:
[Begin action 100]
0,8,30,0,5
;group,index,x,y,ticks

;putting a -1 will do the following
-1,0,0,0,5
;will show nothing for 5 ticks

0,8,35,0,-1
;will show 0,8 at x:35 for -1 ticks (meaning forever).
So generally if you're adding more frames to make things smoother, you would also decrease tick count. You almost had it in your example.
Code:
[TitleBG BackgroundEDIT]
Type = anim
Actionno = 100
Start = 0,0
Mask = 1
 
[Begin action 100]
0,8,0,0,5
0,8,5,0,5
0,8,10,0,5
0,8,15,0,5
0,8,20,0,5
0,8,25,0,5
0,8,30,0,5
0,8,35,0,-1
will become:
Code:
[TitleBG BackgroundEDIT]
Type = anim
Actionno = 100
Start = 0,0
Mask = 1

[Begin action 100]
0,8,0,0,5
0,8,3,0,3
0,8,5,0,3
0,8,7,0,3
0,8,10,0,3
0,8,12,0,3
0,8,15,0,3
0,8,17,0,3
0,8,20,0,3
0,8,22,0,3
0,8,25,0,3
(etc etc)
0,8,35,0,-1

Although that's just how I do things, feel free to experiment.
Re: SNK VS CAPCOM 2 Screenpack (or something like that)
#8  November 15, 2014, 12:44:29 am
  • *****
  • kill them all
    • www.triggerall.com
thank you very much dude, the help is really appreciated, hope it turns out pretty well! :D
            www.triggerall.com