How to properly store input events and perform combos.
An input combo system can vary greatly from one video game to another. That’s why we have not established a fixed system to follow when we’re developing a system for our video game. In this guide we will investigate about the input combos system that some video games have developed, we will discuss the different techniques that can be applied and, finally, we will make step by step our input system combo.
Download the zip file and unzip it. Open the folder, execute the .exe and enjoy!
IMPORTANT: do not modify, change or add any folder or file as you might not be able to execute the game.
- UP: Up input event.
- DOWN: Down input event.
- RIGHT: Right input event.
- LEFT: Left input event.
- P: Punch input event.
- K: Kick input event.
- CROSS UP: Up input event.
- CROSS DOWN: Down input event.
- CROSS RIGHT: Right input event.
- CROSS LEFT: Left input event.
- X / Y: Punch input event.
- A / B: Kick input event.
- Shoryuken: RIGHT - DOWN - RIGHT - PUNCH
- Tatsumaki: DOWN - LEFT - KICK
- IDE: Microsoft Visual Studio 2017
- Language: C++
- Containers: STL
- Graphics and audio: SDL 2.0
- Data: pugixml 1.8
- Code repository: GitHub
- Others: Adobe Photoshop CS6
- Ripped Sprites: Ryu - Ripped by Grim - http://spritedatabase.net