The Mugen Multiverse
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Anarky (Gotham antiHero)
TicksPerSecond -- shall I call it a rare MUGEN Trigger? Emptyby pseudoingles Today at 7:23 pm

» SUB ZERO REVENANT MKP RELEASED V1.0
TicksPerSecond -- shall I call it a rare MUGEN Trigger? Emptyby Shining Today at 2:55 pm

» My Spriteworks
TicksPerSecond -- shall I call it a rare MUGEN Trigger? Emptyby crosspotts1.0 Yesterday at 9:18 pm

» MUGEN 2018 Character Edits & Fixes!!!
TicksPerSecond -- shall I call it a rare MUGEN Trigger? Emptyby demunlawin October 14th 2024, 12:16 pm

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 TicksPerSecond -- shall I call it a rare MUGEN Trigger?

Go down 
AuthorMessage
Werewood

Werewood


Posts : 5691
Join date : 2014-08-11

TicksPerSecond -- shall I call it a rare MUGEN Trigger? Empty
PostSubject: TicksPerSecond -- shall I call it a rare MUGEN Trigger?   TicksPerSecond -- shall I call it a rare MUGEN Trigger? EmptyDecember 2nd 2015, 12:11 pm

TicksPerSecond -- shall I call it a rare MUGEN Trigger? Question

I tried to do experiment with this TicksPerSecond MUGEN Trigger.  study

From my understanding, in MUGEN's data\mugen.cfg there is a GameSpeed = 60 (default value) under [Config].
When GameSpeed = 60 then in MUGEN 60 game ticks (i.e. the state Time/StateTime MUGEN Trigger shows the number of game ticks) equal to one (1) second.
When GameSpeed = 10 then MUGEN runs in like a slow motion.  For example, KFM under GameSpeed = 10 runs that slow, both in terms of his forward-running velocity and his forward-running animation frame times.  So, if I used a TicksPerSecond to try to make KFM keep running forward in the 60-frames/second even MUGEN is running like 10-frames/second, for example, in the forward-running StateDef 100 in MUGEN's data\common1.cns (KFM makes use of the default common1.cns):


Code:
[State 100, 1]
type = VelSet
trigger1 = 1
x = Const(velocity.run.fwd.x) * (60.0/TicksPerSecond)

For the ChangeAnim MUGEN State Controller, there can be something like AnimElemNo(0) + Floor(1.0/(TicksPerSecond/60.0)) for the "elem =" part....(well, probably should put TicksPerSecond in the Trigger part not in the elem part instead not sure though......)

Since a MUGEN Variable can have any kind of formats/expressions allowed by MUGEN, some usual timer making use of something like VarAdd Var(20) := Var(20) + Ceil(Var(20) * (600/TicksPerSecond) * 0.1)....

So, besides the usual MUGEN Trigger like Time/StateTime * TicksPerSecond usage and the above MUGEN State Controllers like VelSet & ChangeAnim, is it really necessary to use TicksPerSecond on everything relating to numbers?  I mean something like MUGEN State Controllers like SuperPause and Pause, the parts time = ### * TicksPerSecond and movetime = ### * TicksPerSecond? Question

This rare TicksPerSecond MUGEN Trigger is just like a stranger to me........ eyes rolling
Back to top Go down
https://onedrive.live.com/?cid=7DB65F02B0BBD12E
 
TicksPerSecond -- shall I call it a rare MUGEN Trigger?
Back to top 
Page 1 of 1
 Similar topics
-
» Call of Duty Nazi Zombies mugen full game released.
» how to use palete in a trigger:
» trigger get hit or get damage
» Problem for coding call-outs
» just call me angel

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Help-
Jump to: