Giter VIP home page Giter VIP logo

adia-dev / spritesheet_editor Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 3.58 MB

Introducing my spritesheet editor app! Built with C++ using OpenCV, SFML, and ImGUI. It was a challenging but rewarding project, and I'm already working on making it even better !

License: MIT License

CMake 0.69% C 32.75% C++ 66.56%
sfml cpp imgui imgui-sfml opencv sprites spritesheet-animation spritesheet-cutter

spritesheet_editor's Introduction

Spritesheet Editor

This is a spritesheet editor application written in C++ using SFML, OpenCV, ImGUI, and OpenGL. It allows you to slice parts of a spritesheet to create animations that can be previewed. Additionally, it can remove the background color of the sprite.

Demo Video

Features

  • Slicing of spritesheets: The application allows you to select a specific portion of the spritesheet to create an animation. Slicing

  • Preview animations: You can preview the animations that you have created to see how they look before exporting. Preview

  • Remove background color: You can remove the background color of a sprite to make it blend seamlessly with the rest of the game elements. Remove Background

  • User-friendly interface: The interface is intuitive and easy to use, making the process of creating animations and editing spritesheets simple.

Future Plans

  • Serialization: The application will be able to serialize data using Protobuffers or Flatbuffers for easier data transfer and storage.
  • Docker containerization: I plan to make it possible to use the application as an API in a docker container. This will allow users to send coordinates to the container and receive animations as output.
  • Additional functionalities: I plan to add more features to the application to make it even more useful for game developers and designers.
  • CRDT and collaborative editing (this is a crazy idea, but it would be cool to have a collaborative spritesheet editor)

Installation

To run the application, you will need to install the following dependencies:

  • SFML
  • OpenCV
  • ImGUI
  • OpenGL

Once you have installed these dependencies, you can clone the repository and compile the code using CMake.

Technologies Used

This application is built using the following technologies:

  • C++ programming language
  • SFML library
  • OpenCV library
  • ImGUI library
  • OpenGL graphics library

Building

You can build the project using CMake. To do so, run the following commands:

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
ninja

You can use any other build system instead of Ninja. it is just a personal preference.

The output should be an executable file called app. You can run this file to start the application.

Usage

To use the application, simply run the executable file. You will be presented with a user-friendly interface that will guide you through the process of editing spritesheets and creating animations.

Contributing

Contributions are welcome! If you would like to contribute to this project, please open an issue or submit a pull request.

License

This application is licensed under the MIT License.

spritesheet_editor's People

Contributors

adia-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.