Giter Club home page Giter Club logo

gaming-with-easeljs's People

Contributors

amanda08 avatar jasoniangreen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gaming-with-easeljs's Issues

Lesson 3 - TypeError: Cannot read property '0' of undefined

It seems that Easel.js have changed their api slightly, since I am sure this worked when I was using version 0.7.1. The offending line of code can be found in line 21 of app/lib/main.js. It seems they have moved the delta to the top level of the event.

var delta = event.delta;
this.rotation -= delta/1000*100;

Grunt copy is picking up the wrong version of Easel

I should have locked down the version of easel in the package.json file. At the moment the version is "*" but it should have been a specific number. For now, you can fix the problem by pointing grunt copy to the right version number.
Goto Gruntfile.js and change line 16 to 'bower_components/easeljs/lib/easeljs-0.8.0.combined.js' (or which ever version is being loaded into bower_components.
Then goto app/index.html and change line 11 to <script src="scripts/easeljs-0.8.0.combined.js"></script>

Error initializing Shape Class

Getting an error on
Shape.prototype.initialize.call(this, null);
Error being :
Uncaught TypeError: Cannot read property 'call' of undefined
at Tile$initialize [as initialize] (app.bundle.js:80)
at Tile (eval at createSubclass (app.bundle.js:171), <anonymous>:1:45)
at createSubclass (app.bundle.js:173)
at Object.4../Tile (app.bundle.js:55)
at s (app.bundle.js:1)
at app.bundle.js:1
at Object.7../Block (app.bundle.js:112)
at s (app.bundle.js:1)
at e (app.bundle.js:1)
at app.bundle.js:1

Using EaselJS Version 0.8.0

Grunt command does not run server

I am experiencing some problems while configuring the project.

Whenever I run the grunt command on the command line, Windows asks 'How to open this file?'. When I choose my browser it just opens and show me the Grunt.js file.

I would be really thankful if you would help me resolve this issue. Thanks

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.