Giter Site home page Giter Site logo

cel7-sprite-editor's Introduction

cel7-sprite-editor

A bare minimum sprite editor for cel7 framework

How to use

White cells on the editing canvas are the filled ones, click them to un-fill, theres a preview thingy on the top right where you can see how it looks without grid lines. The sprite can be of only one color so select it from the color pallet, and it will show up on the preview pane as well. After you are done with making the sprite, click on save which will open a window showing the Byte-like art and the color index, press copy to clipboard to copy the Byte-like art and paste it in your code, use the color displayed on the screen when putting on screen to get the same color. press clear button to reset the canvas. To load the sprites, use the loadSprites.c7 file along with your code. With that, you can load sprites like this:

(loadSprites '(
    ;a
    0 1 1 1 1 1 0 
    1 1 1 1 1 1 1 
    1 0 1 1 1 0 1 
    1 1 1 1 1 1 1 
    1 0 1 1 1 0 1 
    1 1 0 0 0 1 1 
    0 1 1 1 1 1 0 
))
(= step (fn ()
    (fill 0 0 width height " ")
    (color 4)
    (put 0 0 "a")
))

just look at test.c7

Similar tool: PossiblyAxolotl's Cel7 Art Tool

screenshot

preview

cel7-sprite-editor's People

Contributors

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