How do i set the speed of VelSet?

Started by NEMESI5, December 10, 2009, 08:00:41 PM

Previous topic - Next topic

NEMESI5

Whenever I use VelSet it moves my character too fast. How do i make it go slower.

Cyanide

Please tell me you're kidding about that one? You've told your character to go fast. YOU set that value. Change it.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

NEMESI5

#2
Whats the Code? What is it called? i don't know how to do it. I want the speed of the Velset to be slower. I done Velset = 20, 0. My character goes right but he goes too fast. If I decrease it he moves less right.

PotS

You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

Luis Alejandro


Cyanide

velset

CLICK IT.

You shouldn't have even had to POST this. Look it up. See what it does. I mean, 20 it goes too fast? Don't you think that maybe, just maybe, altering the numbers would give a different result?


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Cobra Caddie

When I was starting out, the best way for me to learn was to take stuff like that and mess around with it myself. Ya, change the number to something smaller. Learn what it means, and read up on the docs when you can.

Velocity is the number of pixels that your character moves per frame(frames are also called "ticks" in Mugen). There are 60 "ticks" per second. With a velset of 20, your character is moving 1200 pixels every second. Ya, that's fast.

NEMESI5

Its not working, look at my code

;HurricaneKickHard----------------------------------------------------------

[StateDef 8200]
type = S
movetype= A
physics = S
juggle  = 1
velset = 20, 0
ctrl = 0
anim = 8200
poweradd = 20
sprpriority = 2

[State 8200, 1]
type = HitDef
trigger1 = animelem = 2 || animelem = 6 || animelem = 10 || animelem = 14 || animelem = 18 || animelem = 20 || animelem = 22 || animelem = 24 || animelem = 26 || animelem = 28
attr = S, NA
damage = 20, 10
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = S1, 2
guardsound = S1, 3
ground.type = High
ground.slidetime = 0
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 8200, PlaySnd]
type = PlaySnd
trigger1 = animelem = 2 || animelem = 6 || animelem = 10 || animelem = 14 || animelem = 18 || animelem = 22 || animelem = 26
value = S0,1
volume = 10

[State 8200, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


I done velset 20 and its moving about 20 pixels to the right but its going too fast. So i changed it to 200 and he moves all the way to the right 200 pixels and hes still going toooo fast. How do i change the speed of him traveling from point A to B.

Anjel

Quote from: NEMESI5 on December 11, 2009, 06:01:40 PM
[StateDef 8200]
type = S
movetype= A
physics = S
juggle  = 1
velset = 20, 0
ctrl = 0
anim = 8200
poweradd = 20
sprpriority = 2

Well change it then.
My shitty mugen stuff:

Byakko

?? Why do you speed it up when you already think he goes too fast ? Don't you realize that 200 is higher than 20, so it will make him go faster ??
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

NEMESI5

If i change it to 200 he goes all the way across the screen. I only want him to move a little bit

Dr.Chapatín


jailuis

-.- OMG..you r the most stupid guyu i've ever seen....didnt you read??

"Velocity is the number of pixels that your character moves per frame(frames are also called "ticks" in Mugen). There are 60 "ticks" per second. With a velset of 20, your character is moving 1200 pixels every second. Ya, that's fast."

just put 2 or 3 on the VELSET!

Hero

Realize that a second = 60 tics. With a Velset of 4, for example, your character will move 4 x 60 = 240 Pixels.

Dr.Chapatín

Quote from: jailuis on December 11, 2009, 06:17:24 PM
-.- OMG..you r the most stupid guyu i've ever seen....didnt you read??
Yes iam

jailuis

it wasnt to you...I was talking With nemesis...but u wrote first so ur mesage appears before mine....SRRY I didnt meant to offend u  :'(

NEMESI5

then how do i move my character 20 pixels to the right and make him go slowly?

jailuis


Dr.Chapatín

Quote from: jailuis on December 11, 2009, 06:41:55 PM
it wasnt to you...I was talking With nemesis...but u wrote first so ur mesage appears before mine....SRRY I didnt meant to offend u  :'(
no problem

Byakko

Quote from: NEMESI5 on December 11, 2009, 06:42:40 PM
then how do i move my character 20 pixels to the right and make him go slowly?
-Twenty pixels is very small. This is not what you want.
-See how many ticks the animation lasts, and divide by the total distance you want to travel, this will give you the number of pixels you have to travel per tick - that is, the velocity.
-Don't give physics = S to a move where you are in the air.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.