Git Product home page Git Product logo

readpam's Introduction

ReadPam for Plants vs. Zombies 2

PAM is the format of animation files found in some PopCap's games such as Plants vs. Zombies 2.

This program can convert PAM files to JSON files, based on this wiki page.

Because of some reasons, currently I can't make it perfect and it seems to have some bugs now.

So I decide to publish its source code and everyone can try to make it better.

Disclaimer

The program is unstable and may not work as expected when it reads some PAM files.

For educational purposes only. You must not use the program for commercial purposes, otherwise the legal issues should be resolved by yourself.

Build

This program is developed by Node.js and does not need to be built. So you just need to install Node.js on your computer.

Usage

Make sure you have installed the latest version of Node.js on your computer.

ReadPam inputFile.pam

Then it will output three JSON files in a folder called "output".

  • SpritesList.JSON-It contains the data of the split images that appear in the animations.
  • SubAnimsList.JSON-It contains the data of sub animations. In Adobe Flash the sub animation is usually called "graphic symbol" or "movie clip symbol".
  • MainAnims.JSON-It contains the data of the main animation.

Contribute

Everyone is welcome to make the program better.

readpam's People

Contributors

wu-sunflower 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.