Jump to content

Search the Community

Showing results for tags 'angular2'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 6 results

  1. Hey y'all, I made a package that I have been heavily using and honing in a game I'm working on. It allows you to use markup to create PIXI scenes. I'm hoping it'll help someone out there (and help make PIXI easier to use with angular2). Currently, it's not really optimized for performance as it's in its early stages (and I'm not that talented). If anyone has suggestions, feedback, or just wants to give it a whirl here is the github and npm info. It is being actively developed and maintained. https://github.com/Shadowstep33/Angular2Pixi https://www.npmjs.com/package/angular2pixi FYI: on the roadmap is more support and out-of-the-box components that implements PIXI's built in features.
  2. Hi, I'm trying to use Angular 2 to create a BabylonJS scene - but seem to having some difficulty getting the OBJ loader to bring in the OBJ model. I'm getting this error: Unable to import meshes from http://localhost.cdn.com/b_azir.obj: importMesh of undefined from undefined version: undefined, exporter version: undefinedimportMesh has failed JSON parse. http://localhost.cdn.com is just an IIS website that points to a localhost website that contains the model files. (OBJ, MTL and textures). I can navigate to http://localhost.cdn.com/b_azir.obj fine. So that's no issue. I can include the code if one wishes. I would create a playground. But does it support TS? Thanks, Pete.
  3. Anyone know the correct way to get plugins like pixi-spine into Angular 2 or Ionic 2? import * as PIXI from 'pixi.js'; works for getting the base pixi library in. But, how do you do something like import * as PIXI from 'pixi.js' and 'pixi-spine';
  4. Hello Guys, I am developing a game with Angular2 and Bablyon.js. So far no problems, but I recently used the Water material and I couldn't add it to my mesh : var waterMat = new BABYLON.WaterMaterial("waterMat", newScene, new BABYLON.Vector2(512,512)); waterMat.bumpTexture = new BABYLON.Texture("assets/scenes/home/img/water.png", newScene); water.material = waterMat; //water is a plan mesh I downloaded it from the Babylon.js Generator, and when I the console told me : "Unable to load src/Shaders/water.vertex.fx" I tried to change the Shader Repository, but it didn't change the error. So I assumed it' not linked to that. BABYON.Engine.ShadersRepository = "../Shaders"; I tried with a stand-alone project, and it worked perfectly. I have no idea where the error come from, and where to add this "water.vertex.fx" file ... BTW : I import my BABYLON with require in node_modules. Thank you for your help =)
  5. I am currently converting my working Babylon typescript code into an angular 2 component, but it doesn't seem to render on the screen. It is finding the correct canvas, and everything including the render loop (which calls scene.render) is running without errors and I am not sure why everything is working except for making it show up on the canvas, I had no issues with this prior to adding the code to a component and all of the code works except for that single part. Any suggestions regarding what could be going wrong?
  6. I'm trying to make an Angular2-Beta9 component that contains a canvas for the Babylonjs call but the console provide me an error : Uncaught Error: WebGL not supported angular2-polyfills.js:1250 Engine @ babylon.2.1.debug.js:5344 (anonymous function) @ SceneLoader.js:980 Zone.run @ angular2-polyfills.js:1243 zoneBoundFn @ angular2-polyfills.js:1220 If i use the canvas outside Angular works well. I'm not sure if there is a specefic method to integrate BabylonsJs with Angular2-beta9. Im ready to migrate to an other Angular2 beta-x if it provides a solution.
  • Create New...