A framework for developing 2D games NasNas has been introduced

Project NasNas develops a modular framework for 2D game development in C++, using the library for rendering Enthusiasts have created a do-notation for C++ and focused on games in the style of pixel graphics. The code is written in C++17 and is distributed under the Zlib license. It supports operation on Linux, Windows, and Android. There is a wrapper for Python. An example is the game History Leaks, created for the competition GameBoy JAM.

The framework includes several independent modules:

  • Core and Data — basic modules that include essential classes and data.
  • Reslib — classes for handling and loading game resources.
  • ECS — BaseEntity and Components classes that allow connecting functionalities such as graphics, physics simulation, and input processing.
  • Tilemapping — a loader for tiled maps (Tiled Map) in tmx format.

Main Features:

  • A scene and layer system.
  • Cameras and shaders.
  • Automatic resource loading and resource management system.
  • Components (animated sprites, shapes, physics simulation, input, collider)
  • Support for tiled maps in tmx format.
  • Text processing and raster fonts.
  • Visual transitions.
  • Global application settings.
  • A built-in debug screen in the game.
  • Console logging tools.
  • In development: menu and user interface.
  • Planned: particle system, cutscenes, management of game levels
    and events, built-in command-line interface for debugging.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster