/wiresmash

2D Game development with the whole iscsc dev team

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Wiresmash

Wiresmash is a Smash-like game currently under development by the iScsc dev team.

Table of content

Useful links

Current Features

The game is currently a very simple demo containing:

  • simple physics system: gravity, collisions
  • simple graphic system: shapes using SFML
  • simple box system: only rectangles, used only for collisions so far
  • simple input system, with keybindings read from a file

It consists of two red squares and a blue platform. The squares are controllable using (by default) the keys WASD/IJKL for up/left/down/right and Space/M for "jump".

Launching

Make sure to launch the executable from the ./bin folder, or it will not find the keybinds and scream an error.

Building from source

Requirements

  • C++ compiler supporting C++17 or newer, may work with an earlier standard
  • CMake 3.16+
  • SFML 2.5.1+

Building with CMake

Clone the project using git, then run the following commands:

cmake -S ./ -B ./build/

to generate a build system, then run:

cmake --build ./build/

to build the executable. You will find the build executable in the ./bin folder.

Note you can directly use the build, run and clean rules for make instead

make build run

to run the application and

make clean

to clean all compilation files

Future Plans

  • A simple combat prototype with attacks and HP bars
  • Better jump system
  • Real kinematics system with management of velocity, more forces, ...
  • Actual graphics subsystem
  • Proper input configuration