GithubHelp home page GithubHelp logo

adammarcwilliams / learnpixijs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kittykatattack/learnpixijs

0.0 2.0 0.0 6.14 MB

Source code repository for the book "Learn PixiJS"

HTML 7.97% JavaScript 92.03%

learnpixijs's Introduction

Learn PixiJS

This is the code repository for the book Learn PixiJS.

There are two ways to access the source code: by downloading the ZIP file or by cloning this repository.

The ZIP file

The easiest way is just to download the ZIP file. It contains a frozen snapshot of all the source code for Learn PixiJS as it was on the day the book was published. That means it's guaranteed to work with code in the book.

Clone this repository

Alternatively, you can use git to clone this repository. (If you don't know how to use git you can find out here.) Cloning the repository will give you the latest version of the submodules, including the latest version of Pixi. (Be aware that the source code in the book was tested with Pixi 3.0.7. If you are using a later version of Pixi you may encounter incompatibilities.)

To clone this repository, run the following in the command line:

git clone [email protected]:kittykatattack/learningGit.git

When it's finished, run the following two commands:

git submodule init
git submodule update

To optionally update the submodules to the very latest versions, run this command:

git submodule foreach git pull origin master

This will pull the latest versions of the submodules from their repositories.

Launching a web server

You'll need to launch a web server in the root repository directory. A modern text editor like Light Table, Brackets or Atom will launch one for you automatically, directly from the editor, when you use it to open an HTML file in the browser.

Or you could launch a web server directly from the command line using http-server. After the server starts, navigate to http://localhost:8080/ in your browser and you'll be able to interact with working versions of all the example files in the book.

Keeping up with Pixi

Pixi is an actively developed library, so make sure you keep an eye on Pixi's code repository for any changes to the API.

learnpixijs's People

Contributors

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