-- content removed --
Thread Rating:
|
[remake] Little Fighter Reloaded
|
|
05-19-2015, 05:26 PM
(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-c...81-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. ![]() A-Engine: A new beat em up game engine inspired by LF2. Coming soon A-Engine Dev Blog - Update #8: Timeout
05-19-2015, 06:03 PM
"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. ![]() ~Spy_The_Man1993~ Steiner v3.00 (outdated), Challenge Stage v1.51 Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer LF2 Rebalance Avatar styled by: prince_freeza Thanks given by: Gad
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. ![]() A-Engine: A new beat em up game engine inspired by LF2. Coming soon A-Engine Dev Blog - Update #8: Timeout Thanks given by: Gad
05-19-2015, 07:05 PM
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.
DBZ LF2 website
![]() DBZ LF2 v0.6.9 - Namekian Update Trailer - May 31, 2025 DBZ LF2 mod v0.5.5 (January 1, 2025): Download Thanks given by: A-Man
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. To live a life of power, you must have faith that what you believe is right, even if others tell you you're wrong.
The first thing you must do to live a life of power is to find courage. You must reach beyond the boundaries of time itself. And to do that, all you need is the will to take that first step... Ask not what others can do for you, but what you can do for others. Thanks given by: A-Man
05-22-2015, 05:06 PM
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).
![]() A-Engine: A new beat em up game engine inspired by LF2. Coming soon A-Engine Dev Blog - Update #8: Timeout Thanks given by: Gad
11-14-2016, 06:22 PM
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.
|
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)

Chat


![[Image: signature.png]](http://s3.postimg.org/wedqxlk3n/signature.png)

![[Image: uMSShyX.png]](http://i.imgur.com/uMSShyX.png)


![[Image: wVUTOv1.png]](http://i.imgur.com/wVUTOv1.png)




i think game maker studio has some kind of online coworking setup too.