Jump to content

Search the Community

Showing results for tags 'VS2013'.

  • 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. Hi! I can create a new/blank Typescript project using the steps in https://phaser.io/tutorials/how-to-use-phaser-with-typescript and it initially works fine ... but only for a while! The next day, or due to some other astrological event, VS2013 gets stuck refusing the compile the phaser.d.ts file, I get about 100+ errors and most are related to using the '|' sign in the declarations, example: key: string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture; VS complains "error TS1005: Build: ';' expected." (after the key:string) The first error reported by VS I get at: constructor(game: Phaser.Game, parent: Phaser.Sprite, name: string, frameData: Phaser.FrameData, frames: number[]|string[], frameRate?: number, loop?: boolean); Where it complains about the '|' character between number[] and string[] (just prior to the frameRate) (error TS1005: Build: ',' expected.) Sometimes it works if I create a new blank project and copy and paste the files into it again.. but that gets old pretty quick. Is there any way to fix this?
×
×
  • Create New...