flurp Posted November 13, 2018 Share Posted November 13, 2018 I am still getting errors like: Severity Code Description Project File Line Suppression State Error Build:Expected 0-1 arguments, but got 5. Canada C:\MRM\Canada\Canada\app.ts . I am receiving 10 Errors when trying to build this in VS2015. It is behaving like it is missing a project reference as it doesn't recognize game.load,image and game.add.sprite as well as the number of arguments in Phaser.Game. This behavior is normally tied to missing a .dll or a using in C#. In the initial instructions it says if you are still having errors to add the suggested file to the top of the app.ts file: /// <reference path="phaser.d.ts"/> which I did. I can see in doing research using /// <reference path="phaser.d.ts"/> as a way to add reference is supposed to work. I have downloaded the latest version of phaser.d.ts from Git and still have the issue. Any help would be very much appreciated as I am trying to get started with Phaser3 app.ts Link to comment Share on other sites More sharing options...
rich Posted November 14, 2018 Share Posted November 14, 2018 The code in the app.ts file is for Phaser 2 / CE only, so if you're trying this with Phaser 3 (and the Phaser 3 TypeScript defs) then that is absolutely the cause of your problems. Link to comment Share on other sites More sharing options...
Recommended Posts