Search the Community

Showing results for tags 'panda animation'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 1 result

  1. Hey people, I'm new to panda and just started playing around. So if I change the picture of the default main.js it shows just fine, but as soon as I try to use an animation (same code as from the official example) I just see the background. Only thing I changed is the pictures (my own and from 3 pics to 2 pics). Has anyone a clue why that might happen? I downloaded the latest version of pandajs and used the local webbrowser of WebStorm IDE, but also tried Apache Web Server. But no difference. Thx for your help. game.module( 'game.main' ) .body(function() { game.createScene('Main', { backgroundColor: 0xb9bec7, init: function() { var anim = new game.Animation('1.png', '2.png'); anim.animationSpeed = 0.2; anim.play(); anim.addTo(game.scene.stage); } }); });