Jump to content

Search the Community

Showing results for tags 'black image'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello & Thanks; Thought I would just plug in code from http://vermeire.home.xs4all.nl/panda/# But chrome just gives me black image. Logo1.png is in "panda.js-master\media" and "panda.js-master\". Pls, what am I doing wrong?...Thanks <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Panda.js HTML5 game engine</title> <script type="text/javascript" src="src/game/config.js"></script> <script type="text/javascript" src="src/engine/core.js"></script> <script type="text/javascript" src="src/game/main.js"></script> </head> <body> // game.module( 'game.main' ) .require( 'engine.core' ) .body(function(){ game.addAsset('logo1.png'); game.createScene('Main', { init: function() { var logo = new game.Sprite('logo1.png'); //the offset is relative to the center of the screen. Here x:-20, y:10 logo.center(-40,10); this.stage.addChild(logo); } }); }); </body> </html>
×
×
  • Create New...