![]() |
|
[remake] Little Fighter Reloaded - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Projects (https://lf-empire.de/forum/forumdisplay.php?fid=10) +--- Thread: [remake] Little Fighter Reloaded (/showthread.php?tid=9900) Pages:
1
2
|
[remake] Little Fighter Reloaded - Gad - 05-19-2015 -- content removed -- RE: [remake] Little Fighter Reloaded - A-Man - 05-19-2015 (05-19-2015, 05:02 PM)Gad Wrote: IntroductionThat's a big letdown. (05-19-2015, 05:02 PM)Gad Wrote: [size=medium]YOUR HELP1-Generally: -bdefend are points that accumulate when you're hit defending and regenerates with time. It decides if your defend has been broken or penetrated. -fall same as above, but has to do with going to the dance of pain or to the falling frames. -vrest: some "cool-down" timer to control the "frequency" or how often an itr will hit. -effect: certain flags that switches on and off certain properties. Here is a list of all: http://lf-empire.de/en/lf2-empire/data-changing/reference-pages/181-effects 2-http://lf-empire.de/lf2-empire/data-changing/frame-elements/174-itr-interaction?showall=&limitstart= 3-Relates to Vrest and a counter variable. And LF2 object stores the on-screen id of the object that last hit it, and a cool-down timer variable that stores the vrest/arest of the itr that last hit it. When another itr tries to hit that object, it won't hit if the attacker is stored in its last_hit_by variable and if the vrest timer is still not zero. Otherwise, it will hit, and the timer will reset and all. RE: [remake] Little Fighter Reloaded - STM1993 - 05-19-2015 "arest" means attacker rest. You can only hit 1 person because you need to rest. "vrest" means victim rest. You can hit more than 1 person, but you don't hit the same person twice because the person needs to rest. RE: [remake] Little Fighter Reloaded - A-Man - 05-19-2015 Right. But here is how it works: arest has a cool-down timer too, but instead of saying "if last_hit_by != attacker_id || v_cooldown_timer == 0" within the the victim's code, you say, in the attacker's object code "if last_hit != victim_id || a_cooldown_timer == 0". So the difference mainly is in whether you want the attack to cool down from the attacker's scope or the victim's. Edit: One very important thing you need to be concerned with to mimic LF2's gameplay is the hit-lag. I do not know the values used in LF2, but Dragon5 would be your man with that. Also, if you're planning to work with something other than 30 FPS, then lots would change if you're not careful. The conversion of certain values and constants aren't all linear. For instance, gravity (or any value that has to do with acceleration) changes with a factor of (x^2)/2 instead. RE: [remake] Little Fighter Reloaded - bashscrazy - 05-19-2015 If you're training your programming skills why not change up some things and design it yourself. You don't have to mimic LF2 exactly. You can make some changes here and there and that way it also helps with your design skills for video games ![]() Unless you're secondary goal after working on your programming skills is to make a near perfect clone of lf2. Then that is a different story. RE: [remake] Little Fighter Reloaded - MH-LABEEB - 05-20-2015 Impressive ✔ RE: [remake] Little Fighter Reloaded - Dragon5 - 05-22-2015 vrest and arest are simply timer-operated functions. On a successful hit, the specified rest value is referenced. After so many frames (or TUs in LF2), another hit is possible. Vrest applies the timer to the victim while Arest applies the timer to the attacker. If a rest value is extremely short, the attack can hit multiple times (Locking someone is even possible). If it's too long the player will not be able to hit anybody. Rest values do apply to hitlag. When contact is made, three frames of pause is created: one when contact is made, and two more that "freeze" the action. This is common in many kinds of games including Streets of Rage 2 and Street Fighter II. When blocking, the defender faces five frames of lag (four frames of pause after contact.) Edit: Anybody knows the default property for a rest if it's unassigned? I know LF2 applies one. RE: [remake] Little Fighter Reloaded - YinYin - 05-22-2015 (05-22-2015, 12:06 AM)Dragon5 Wrote: Edit: Anybody knows the default property for a rest if it's unassigned? I know LF2 applies one.You can use AI to print out unassigned default values. RE: [remake] Little Fighter Reloaded - A-Man - 05-22-2015 I am certain the y-position of the spark is determined by taking half of the itr's h: value. I know that because we use high h: values for itrs to make the hit-spark disappear (go down way beyond the ground, in fact). As for the x-position, I think it uses the x: or the x: + w: value of the bdy (depending on the facings or the direction the attack comes from). RE: [remake] Little Fighter Reloaded - Bamboori - 11-14-2016 lf2 physics are actually pretty easy afaik. in my clone tech demo i did some trial and error and pretty much got the lf2 physics done. now that youre using gamemaker id happily help out with the project i think game maker studio has some kind of online coworking setup too.
|