Skip to content

A starter template for your Panels comic (with examples).

Notifications You must be signed in to change notification settings

cadin/panels-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Panels Project Template

A starter template for your Panels comic (with examples).

Setup

This is a Template Repo. Click "Use this template" to create your own fresh repo with all the contents of this template.

This template includes the Panels framework as a git submodule. Be sure to properly initialize the submodule when cloning the repo.

If you're not using git, you can download this code as a ZIP file. In that case you'll also need to download the code from the Panels repo and place it in the source/libraries/panels/ folder of this template.

Get Started

Edit the table in source/myComicData.lua to start building your comic.

Edit source/main.lua to add game credits or alter Panels settings.

Documentation

Check out the full set of documentation here:

Examples

This template includes some example sequences to help you get started:

  1. Simple Comic
    Create a series of panels with image layers with parallax scrolling.
  2. Animation
    Set a layer to animate across the screen as the panel scrolls, or when the user presses a specific button.
  3. Image Transitions
    Transition between two images on the same layer based on panel scroll position, or button press.
  4. Custom Functions
    Create custom render, advance, and reset functions to take over drawing and behavior of a single panel.
  5. Audio
    Play background audio for an entire sequence or a single panel. Trigger a sound effect synced with an animation.

Look in the source/examples/ folder to find data tables for each sequence.

If you do not need the examples you can delete the entire examples folder from your project. Also remove the example assets in source/images and source/audio.

About

A starter template for your Panels comic (with examples).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages