Giter VIP home page Giter VIP logo

panels's Introduction

Panels

Build interactive comics for the Playdate console.

Banner

Provide Panels with a Lua table that describes the sequences in your comic (scroll direction, panel sizes, text, animation and effects) along with your layered graphics. Panels will handle layout, scrolling, animation, and even chapter navigation for you.

Comics built with Panels can support these features:

  • layered, parallax scrolling
  • nested panels
  • sequences with different scroll directions
  • manual (crank) scrolling and auto advancing (panel-by-panel)
  • panel effects like shake and blink
  • animated transitions between sequences
  • animations and transitions within panels based on scroll position
  • animated text layers
  • panels with fully custom render functions
  • branching "choose-your-own-adventure" storylines

Documentation

Check out the full set of documentation here:

Requirements

Setup

From Template Project

  1. Clone the Panels Project Template. This is a Template Repo. Click "Use this template" to create your own fresh repo with all the contents of the project template.
  2. The template project includes the Panels framework as a git submodule. Be sure to properly initialize the submodule when cloning the repo.
  3. Start editing table in myComicData.lua.

Manual Setup

  1. Clone this repo into your project into a libraries folder.
  2. Inside your main.lua file import Panels.
  3. Create or import your comicData table.
  4. Start Panels with your comicData table as the sole argument.

Example main.lua File:

import "libraries/panels/Panels"
local comicData = {
    -- comic data goes here...
}
Panels.start(comicData)

Support

Get Help

Feature Requests

Add feature requests to the Issues page.

Include a description of the general functionality you need, along with your preferred implementation (if you have one). Please search first to see if someone else has already created an issue for your feature. If so, you can add a vote or comment to show your support.

Bug Reports

File bug reports on the Issues page.

Each bug should be listed as a separate issue. Please search first to see if someone else has already filed the bug, and list all steps needed to reproduce the issue in the smallest possible project.

Contribute

If you would like to contribute a feature or bug fix please contact me first and let me know which issue you want work on. If there isn't yet an issue for your proposed change, go ahead and write one.

License

Panels is licensed under a Creative Commons Attribution 4.0 International License.

TLDR: You can use this code (or modified versions) to create anything you want, public or private, free or commercial. For attribution, please retain the Panels credit (with URL and QR code) on the Credits page of your game so that others may find their way here.


๐Ÿ‘จ๐Ÿปโ€๐Ÿฆฒโค๏ธ๐Ÿ› 

panels's People

Contributors

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