GithubHelp home page GithubHelp logo

draym / spritebodyeditor Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 14.42 MB

Editing tool to create collision bodies for your 2D sprites

Java 100.00%
collision-data-generator collision-shape json 2d-sprites

spritebodyeditor's Introduction

Sprite&BodyEditor

This is a light software to edit 2D sprite hit boxes.

  • The tool allow you to create different type of hit boxes : attack / defense / block
  • You are able to copy / paste hit boxes with shortcut
  • You can add and delete hit boxes
  • You can draw rectangles and circles

Usage:

  • Main Screen :

  • Create Sprite : add an image in the folder 'Sprite&Body/' and click esc on the main screen, click 'New' and select the file name and the size x/y of one sprite (not the size of the image).

  • Add hitbox : click on esc and 'Controls' to see the controls, for example click a and with the mouse click, move and release in order to add a square.


Output:

  • You will have to press esc and 'Save' in order to save your work and create a clean json file reprenting your hit boxes
  • The json will be stored in 'Sprite&Body/' folder, it should be imported in your game project and managed as desired

spritebodyeditor's People

Contributors

draym avatar

Stargazers

 avatar

Watchers

 avatar  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.