Aztez Development Blog
21Mar/100

The Attributes Of An Attack

Every single attack in a beat-em-up game contains a specific combination of attributes that determine the aesthetic and gameplay properties of an attack and subsequently, the combos the different attacks will form. This is a list of all the attributes that an attack could possibly have. It is very much a work in progress and was built entirely by reverse engineering existing beat-em-ups with analytical gameplay. I'm sure that a lot of these things will be repeatedly tweaked and played with, and I'm also quite sure that there are properties out there in the wild that I have yet to include. I'm exposing it so that it can be refined under scrutiny and implemented effectively!

First and foremost, there are two different types of attacks: Base Attacks and Connecting Attacks. Base Attacks are the kind of attacks that start combos. The player simply need to provide specific input while the character is in a specific state, i.e standing or jumping. Most attacks (both Basic and Connecting) possess "outgoing connections", which are windows of time within the animation in which a new attack can start, provided the player provides the right input before a designer-specified frame later in the animation. When the player does this successfully it is called a "successful connection" and a new attack in the combo will begin. If the player does not make a successful connection they are "dumped" back into a default state, i.e. standing or falling.

The most important part about building combos this way is that an attack can connect into many different attacks depending on which button the player pushes and at what time in the animation they push it. This is done to great effect in Bayonetta and Devil May Cry; you can perform a pretty straightforward combo by pushing Attack, Attack, Attack, but you can also push Attack, Attack, then wait half a second before pushing Attack again to see an entirely different combo. Of course this could potentially apply to any attack in a combo, not just the last attack. Obviously, every outgoing connection expands the possibility space the player can explore and this principle is what differentiates rigid, traditional combat from more modern, creative combat.

Universal Attack Properties:

  1. Attack Name - The identifying value.
  2. Attack Time Line Length - The length of the attack in frames. Very powerful value that overrides the length of the animation that the attack utilizes and squishes or stretches it neatly into the length specified here. It is against this length that all attack values are specified within. It is at the end of this time line that state dump occurs if no connections are made.
  3. Prerequisite State - The state the player character must be in in order for this attack to occur. This is an incredibly important property and determines whether or not the attack is a Base Attack or Connecting Attack. If one of the default states are chosen, i.e. Standing, Running, Dashing, Jumping, etc., then the attack is a Base Attack. If "Connecting" is chosen then the attack will only ever occur if another attack connects to it from within a combo. If the attack is a Connecting Attack, then the Base Input Array and Base Charge Capabilities options will no longer be accessible since you perform the input of a connecting attack from within other attacks.
  4. Base Input Array - A button, a button-charge, a combination of buttons pressed simultaneously, or sequence of buttons pushed in quick succession that the player must push in order to successfully perform the attack. If an input sequence is being utilized, the combat designer needs to be able to not only determine the exact sequence but manage the timing of the sequence as well in order to tweak the difficulty of execution on a per-attack basis
  5. Base Charge Capabilities - Determines whether the player can strengthen the attack by holding down the attack button instead of simply pressing it. If an attack can be charged, a variety of sub-values must be determined: which frame of the animation the character gets suspended in until the button is released, whether the attack will "Auto-Fire" after so many seconds of button holding or if it can be held indefinitely, and how much additional damage the attack will do if it successfully hits an enemy character in the various states of the charge.
  6. Character Animation - The animation that plays when the attack occurs.
  7. Weapon Effect - The visual effect object that gets instantiated when the attack occurs. Can manage timing of sub-effects inside the object itself instead of here.
  8. Angle Of Slash Effect - Orientation at which to instantiate the slash effect so it looks correct - see number 6 on the impact effects post.
  9. Target Animation Type - Type of animation the target character will play when successfully hit, i.e. a getting-hit-from-above animation or a knocked-down animation. Alternatively, the target can be forced into a ragdoll state.
  10. Attacker Translation - The manner in which the attacker will move around the screen as this attack occurs. If translation is to occur, the combat designer must specify a variety of sub-values: The direction the player will move, the distance the player will travel, the time after state entry that translation begins, the time after the translation start that translation ends, the translation acceleration type (whether it's linear or curved), and the translation path type (whether it's linear or curved). Ideally, the designer can create an array of translations so that if they want the attacking character to move multiple times in multiple directions they can.
  11. Damage Object - The invisible object inside the character's skeletal hierarchy that functions as a hit box for the attack. In our engine, there will be a whole slew of invisible hit boxes attached to the character's weapon at all times, and it's up to the combat designer to specify which object is used with this property and determine how it behaves with the next two properties.
  12. Damage Object Active Window - The frames of the animation in which the hit box will be active and and the attack can actually affect an enemy character.
  13. Damage Object Translation - The manner in which a damage object moves through space; this is used mainly to create attacks with projectile-like properties, but also just to fine-tune the feeling of certain attacks where a hit box will have to move to feel right. The combat designer will have to specify a variety of sub-values: the direction the attack object will move, the distance the damage object will travel, the time after state entry that the translation begins, the time after the translation start that the translation ends, the translation acceleration type (whether it's linear or curved), and the translation path type (whether it's linear or curved).
  14. Damage Type - The type of damage that a successful hit inflicts upon the character that has been struck: Stun Damage damages the target and forces them into temporary state in which they cannot act, and the combat designer must specify the length of the stun and the amount of damage dealt. This is the most straightforward type of damage that is used to keep an enemy in place temporarily while the player attempts to finish their combo. Deterministic Knock Away Damage damages the target but also pushes them around in a very controlled way. In addition to specifying the amount of damage dealt, the combat designer must specify the usual set of translation sub-values: target direction, target distance, translation start time, translation end time, translation acceleration, and translation path type. Physical Knock Away Damage damages the character but moves them around with physical force calculated by the game engine. The combat designer must specify a couple sub-values: the direction the target will get pushed in, the amount of physical force used to push the character, the gravity used in this specific attack, and the amount of drag on the target character as they are pushed around. Sacrifice Damage kills the target character immediately but still rewards the player with blood. Disintegration Damage kills the target immediately but they the player receives no blood. For all damage types except Disintegration Damage, the combat designer must specify how much blood the player receives for successfully hitting with the attack and how much blood the enemy loses when struck. These values are intentionally independent.
  15. Player Character Hit Box Switch - Provides the option to turn off the player character's hit box during certain attacks to create invulnerability windows. If employed, the combat designer must specify the frames within the animation to turn the hit box on and off. Additionally, the attack may utilize a completely different hit box for the duration of the attack; it simply needs to be specified here.

An attack can have an entire array (or not) of outgoing connections and for every one the combat designer must specify the following values:

  1. Destination Attack - The attack that is performed if the player successfully connects.
  2. Required Input Array - A button, a button-charge, a combination of buttons pressed simultaneously, or sequence of buttons pushed in quick succession that the player must push in order to successfully connect.
  3. Required Charge Capabilities - Determines whether the player can strengthen the attack by holding down the attack button instead of simply pressing it.
  4. Connection Window - The frames in the attack time line in which successful connection will occur if the game receives the Required Input Array.
  5. Transition Frame - A frame near the end of the animation time line that acts as a animation splitter. If there is a successful connection, the character's current attack animation will cancel when they hit this frame and the Destination Attack time line begins immediately. If there is no successful connection, then the animation will continue to play through the Transition Frame all the way to it's end, at which point the character is forced into the Dump State (see below). This is used not only to maintain smooth animation transitions in combos, but shaves off time between successful attacks.
  6. Dump State - The state that the character defers to at the end of the attack time line if a successful connection is not made.

With these properties in place we will be able to implement the following mechanics:

  • Attacks that can be performed from a standing, jumping, falling, or dashing state that can start combos.
  • Attacks that have wide varieties of connecting attacks that can be easily utilized by using different input and timing.
  • Attacks that end combos in sensational ways.
  • Attacks that move both the player and the enemy around during attacks and combos (which feels powerful).
  • Command moves that are executed with a specific input sequence.
  • Movement techniques that move the player character around that can also damage enemies.
  • The ability to integrate both sacrifice and command moves into combos.
  • Invulnerability windows that occur during specific attacks and techniques.

For a little bit of visual elaboration, check out this image. It shows A - what happens upon attack state start, B - the window of time in which the player is being moved, C - the window of time in which the weapon's hit box is active and can actually hit something it's colliding with, E - the time in the animation in which the animation will be cut short upon successful connection, and F - the end of the state in which state dump occurs and the character is returned to their idle state.

That's it so far; please help me refine it!

Outgoing Connections and for every one the combat designer must specify these values:

19Mar/100

Introducing: The Priest

The Aztec Priests had a special place in Aztec society as the individuals who interfaced directly with the gods through the act of sacrifice. Men became priests after demonstrating great piety in addition to their combat prowess. The raddest part of the Aztec priests were that they continued to do battle and accompanied the warriors in ritual combat.

We will be using priests as our opportunity to experiment with fun magical effects. The idea here is that they have special powers granted to them by the gods. The appearance of a priest means it's time to get tricky as you'll no longer be dealing with simple weapon attacks.

18Mar/100

Aztez In A Nutshell

Hello! If you're reading this post it's because I want you to know what the Aztez project is all about without wasting a whole lot of your time.

Aztez is a 3d game with sidescrolling beat-em-up gameplay in the vein of Viewtiful Joe. It is set in the world of the Aztecs and is highly stylized. Unlike Viewtiful Joe, there is going to be a deep combat system not unlike Devil May Cry, God Of War, and Bayonetta. I want to create a combat system that provides many offensive options on a moment to moment basis, instead of one or two rigid attack inputs to mash on. Here is a post elaborating more on the direct influences.

I have been using Unity to interactively demonstrate the concept of the game in small pieces; here is one of our environments that you are able to run around and jump in. Use the arrow keys to run and the up arrow to jump.

The first iteration of the project is going to be released for free and will be playable in web browsers. It is going to be a combat sandbox where you are essentially put into a large room with lots of enemies to engage. We are intentionally minimizing the scope of the game so that we do not get bogged down in the production of a story or a complex game structure and can instead focus on creating a great combat system. He is a post elaborating on the different phases of the project.

The game employs a very stark look with easy to create assets. Using Unity allows me (Ben Ruiz, sole artist and designer) to produce environments and construct character props with minimal programmer intervention. I have also used Unity to communicate the impactful nature of the game's combat effects. Use the z button to watch an attack and check out the blog post to play with the individual effects.

We're very serious about creating a deep combat system, but I am unfortunately a little handicapped due to a distinct lack of public knowledge regarding the engineering of such games. So we are doing everything in our power to identify the many attributes of an attack so that we can create them individually and then link them together in different ways to create lots of fun and interesting combos.

Our goals with the project:

  • Very robust set of mechanics that provide a fun mix-up of melee and distance combat. No mechanic unlockables! It will all be available in its entirety from the start.
  • Incredible sensation of power with concentrated visual charm. Will push the very limits of combat effects.
  • Crowds of fun and simple enemies to control. Easy, free flowing mass destruction will provide a distinct sense of dominance.
  • A high skill ceiling for those who are interested, but with very satisfying combat extant at the lower levels.
  • Lots of fun quirks and weird mechanics to discover. Lots of strange loopholes to exploit and rules to break.
  • Fun and accessible secondary systems in place to enhance the combat and expand the creative landscape.

We're still early on the project and are moving forward on all fronts. Open communication is encouraged and we would love to answer your questions and hear your feedback.

23Feb/100

Introducing: The Eagle Warrior

The other legendary warrior society one could enter upon successfully taking 4 captives was based on the mystical and divine eagle. The eagle had a very important place in Aztec society as both a majestic flying creature and as a herald of a new age; the ancient Mexica were told by their patron deities to build Tenochtitlan where they saw an eagle devouring a serpent atop a cactus. Truthfully, we do not know how the Eagle warriors differed functionally from the Jaguar warriors, but we know they were equally prestigious and most likely represented a tactical identity. The Eagle warrior was as glorified as the Jaguars and were just as frightening to behold to the common warrior.

The Eagle warriors will fulfill the same need as the Jaguar warriors do in terms of distinction, but will be slightly different threats. The carry different weapons and will fight a little differently from each other, but they will present a similar challenge and both will be far more rewarding to destroy then common and noble warriors.

22Feb/100

Introducing: The Jaguar Warrior

When an Aztec noble warrior stepped his game up and took 4 captives, he was then inducted into one of two very special warrior societies. One of these two societies was based on the fierce and powerful jaguar, a highly revered and respected beast (I'll tell you about the other society real soon). Jaguar warriors were some of the most famous warriors in all of Aztec culture; they are celebrated countless times in art and in story and they maintained an inspiring position on and off the battlefield.

When these guys appear things will start to get serious. We will be using these decorated warriors to indicate stiffer competition, which is a classic trick typically done with palette swaps. The idea here is to be able to look at an enemy (in spite of the aesthetic similarity they all bear) and know what you're up against, which is essentially what the Aztecs did with their warriors as a way to trumpet the caliber of their military might.

18Feb/100

Introducing: The Noble

Once a young combatant has taken his first captive and proven himself worthy of the warrior life path, he is inducted into the ranks of the noble class. He now has access to higher education, specialized war training, and will have front line position in the ritualized warfare the Aztecs practiced amongst themselves. It is at this point in the life of a budding career warrior that he will begin to form a battle identity and as his exploits increase, so will his formal decoration.

If this guy looks familiar it's because you've seen him in the concept art and in the technical demos. That's right; this is what you'll look like as you start out in the world of Aztez. Just like the noble warrior creates an identity for himself as he continues to fight, so shall you...I'll tell you how later. :)

17Feb/102

Introducing: The Common Warrior

After demonstrating his resolve on the battlefield by serving as a porter, the young man was given a weapon and a shield and charged with one singular task; taking an enemy captive. At this point he has had a good amount of formal training and fully understands the importance of his role as a warrior, as is now intensely focused on bringing in that first captive and becoming a man. This is where it all began for the career warrior; if he proved himself here he would formally advance into a life of nobility.

Let's be perfectly honest here; this is about as green as it gets for a man who was allowed to carry a weapon. These were young men with something to prove and this was their undoing as often as it was their success. In the context of the game, they're the perfect meat to grind; unremarkable, plentiful, and vivacious. There is some value in playing with your food and I intend to make that point with these characters. ;)

16Feb/100

Introducing: The Porter

When a young man makes his decision to pursue the path of the warrior, he must first prove that he can keep his wits about him in an actual battle by serving as a porter. The porter was responsible for carrying weapons of war around to wherever they were needed and making sure that the warrior ranks stayed supplied. Mobility was his weapon and the importance of his position was undeniable.

It's hard to say at this point how often you'll see this character during gameplay, but know this; his appearance will mean great things for those swift and brutal enough to get to him before he fulfills his responsibilities and disappears...

15Feb/100

Introducing: The Commoner

The common man of Tenochtitlan, while most likely born into the lower class, would still learn to farm, be trained in the ways of good citizenship, and be introduced to warfare at a school built specifically for the lower classes. Around the age of 15, he could either continue his education and learn to be an administrator, civic worker, or even a priest (if they were pious enough), or they could attend military school and begin their life as a warrior.

Most of the time you see this character in the game he will be in the background, making the environments feel alive with their animated presence. But what about the rest of the time? Well sometimes these guys stumble onto a battlefield, and the fact of that matter is that they have as much blood to offer as anyone else...

15Feb/100

Behind The Scenes: Bridge To Tenochtitlan

Like I did in the Behind The Scenes: Marketplace post, I just want to pull the camera out again so you can see the Bridge environment in a different light. I think this environment ended up strangely photogenic, despite the fact that it is long and way less populated than the Marketplace. It had a lot to do with the fact that I managed to find a comfortable space in between function and composition and it didn't end up needing a ton of decorative objects. As always, this is a work in progress and will get a lot more love as the project continues.

The lake itself is quite barren, but the low angle of the game camera does a pretty good job of concealing that, especially with the patches of detail (chinampas, floating vegetation) that are close to the foreground.

I love this shot. This large platform all the way on the left hand side of the level is also quite barren, and I think it needs some more love. But I like the basic concept of wandering merchants on the outskirts of the city setting up shop and trying to hawk their wares as people go in and out.

The idea here is that there is a nexus that goes in and out of the city that farmers use to get to their canoes at the docks so they can maintain the floating gardens. If you go back and look at the Marketplace environment you can see these doorway nexus objects in a couple different spots; maybe this one leads directly into the Marketplace?

I just like this shot because I like these towers. It's as simple as that. But note the function! There are docks and canoes that will take guardsmen to and from the tower entrances.

And there she is from the sky. Note all of the awkward spaces! The lack of sufficient detail in many places! The abrupt endings to long chains of assets! I plan on filling this one out a little bit more but the general layout will remain the same. Good thing you won't see it from up here. ;)

Tagged as: , No Comments