djfdat / phaser-typescript-vscode-boilerplate Goto Github PK
View Code? Open in Web Editor NEWProject Boilerplate for using Phaser in VS Code.
License: MIT License
Project Boilerplate for using Phaser in VS Code.
License: MIT License
Setup a task to run the typescript compiler with the watch flag to auto recompile changes.
Hi,
Phaser v2-community has moved and because of this the update scripts no longer work. However, manually updating gives the following errors:
> [email protected] compile:ts e:\git\game
> tsc --outFile ./bin/js/game.js
tsd/phaser.comments.d.ts(8,5): error TS2300: Duplicate identifier 'export='.
tsd/phaser.comments.d.ts(11,15): error TS2300: Duplicate identifier 'Phaser'.
tsd/phaser.comments.d.ts(93,16): error TS2300: Duplicate identifier 'Phaser'.
tsd/phaser.d.ts(8,5): error TS2300: Duplicate identifier 'export='.
tsd/phaser.d.ts(11,15): error TS2300: Duplicate identifier 'Phaser'.
tsd/phaser.d.ts(93,16): error TS2300: Duplicate identifier 'Phaser'.
tsd/phaser_box2d.d.ts(4,16): error TS2300: Duplicate identifier 'Phaser'.
tsd/pixi.comments.d.ts(12,9): error TS2300: Duplicate identifier 'NORMAL'.
tsd/pixi.comments.d.ts(13,9): error TS2300: Duplicate identifier 'ADD'.
tsd/pixi.comments.d.ts(14,9): error TS2300: Duplicate identifier 'MULTIPLY'.
tsd/pixi.comments.d.ts(15,9): error TS2300: Duplicate identifier 'SCREEN'.
tsd/pixi.comments.d.ts(16,9): error TS2300: Duplicate identifier 'OVERLAY'.
tsd/pixi.comments.d.ts(17,9): error TS2300: Duplicate identifier 'DARKEN'.
tsd/pixi.comments.d.ts(18,9): error TS2300: Duplicate identifier 'LIGHTEN'.
tsd/pixi.comments.d.ts(19,9): error TS2300: Duplicate identifier 'COLOR_DODGE'.
tsd/pixi.comments.d.ts(20,9): error TS2300: Duplicate identifier 'COLOR_BURN'.
tsd/pixi.comments.d.ts(21,9): error TS2300: Duplicate identifier 'HARD_LIGHT'.
tsd/pixi.comments.d.ts(22,9): error TS2300: Duplicate identifier 'SOFT_LIGHT'.
tsd/pixi.comments.d.ts(23,9): error TS2300: Duplicate identifier 'DIFFERENCE'.
tsd/pixi.comments.d.ts(24,9): error TS2300: Duplicate identifier 'EXCLUSION'.
tsd/pixi.comments.d.ts(25,9): error TS2300: Duplicate identifier 'HUE'.
tsd/pixi.comments.d.ts(26,9): error TS2300: Duplicate identifier 'SATURATION'.
tsd/pixi.comments.d.ts(27,9): error TS2300: Duplicate identifier 'COLOR'.
tsd/pixi.comments.d.ts(28,9): error TS2300: Duplicate identifier 'LUMINOSITY'.
tsd/pixi.comments.d.ts(34,9): error TS2300: Duplicate identifier 'DEFAULT'.
tsd/pixi.comments.d.ts(35,9): error TS2300: Duplicate identifier 'LINEAR'.
tsd/pixi.comments.d.ts(36,9): error TS2300: Duplicate identifier 'NEAREST'.
tsd/pixi.comments.d.ts(179,18): error TS2300: Duplicate identifier 'AbstractFilter'.
tsd/pixi.comments.d.ts(193,18): error TS2300: Duplicate identifier 'AlphaMaskFilter'.
tsd/pixi.comments.d.ts(203,18): error TS2300: Duplicate identifier 'AsciiFilter'.
tsd/pixi.comments.d.ts(209,18): error TS2300: Duplicate identifier 'AssetLoader'.
tsd/pixi.comments.d.ts(231,18): error TS2300: Duplicate identifier 'AtlasLoader'.
tsd/pixi.comments.d.ts(257,18): error TS2300: Duplicate identifier 'BaseTexture'.
tsd/pixi.comments.d.ts(382,18): error TS2300: Duplicate identifier 'BitmapFontLoader'.
tsd/pixi.comments.d.ts(404,18): error TS2300: Duplicate identifier 'BlurFilter'.
tsd/pixi.comments.d.ts(412,18): error TS2300: Duplicate identifier 'BlurXFilter'.
tsd/pixi.comments.d.ts(418,18): error TS2300: Duplicate identifier 'BlurYFilter'.
tsd/pixi.comments.d.ts(428,18): error TS2300: Duplicate identifier 'CanvasBuffer'.
tsd/pixi.comments.d.ts(481,18): error TS2300: Duplicate identifier 'CanvasPool'.
tsd/pixi.comments.d.ts(496,18): error TS2300: Duplicate identifier 'CanvasMaskManager'.
tsd/pixi.comments.d.ts(521,18): error TS2300: Duplicate identifier 'CanvasRenderer'.
tsd/pixi.comments.d.ts(629,18): error TS2300: Duplicate identifier 'CanvasTinter'.
tsd/pixi.comments.d.ts(657,18): error TS2300: Duplicate identifier 'Circle'.
tsd/pixi.comments.d.ts(671,18): error TS2300: Duplicate identifier 'ColorMatrixFilter'.
tsd/pixi.comments.d.ts(679,18): error TS2300: Duplicate identifier 'ColorStepFilter'.
tsd/pixi.comments.d.ts(685,18): error TS2300: Duplicate identifier 'ConvolutionFilter'.
tsd/pixi.comments.d.ts(695,18): error TS2300: Duplicate identifier 'CrossHatchFilter'.
tsd/pixi.comments.d.ts(701,18): error TS2300: Duplicate identifier 'DisplacementFilter'.
tsd/pixi.comments.d.ts(711,18): error TS2300: Duplicate identifier 'DotScreenFilter'.
tsd/pixi.comments.d.ts(727,18): error TS2300: Duplicate identifier 'DisplayObject'.
tsd/pixi.comments.d.ts(953,18): error TS2300: Duplicate identifier 'DisplayObjectContainer'.
tsd/pixi.comments.d.ts(1085,18): error TS2300: Duplicate identifier 'Ellipse'.
tsd/pixi.comments.d.ts(1100,18): error TS2300: Duplicate identifier 'Event'.
tsd/pixi.comments.d.ts(1115,18): error TS2300: Duplicate identifier 'EventTarget'.
tsd/pixi.comments.d.ts(1121,18): error TS2300: Duplicate identifier 'FilterTexture'.
tsd/pixi.comments.d.ts(1162,18): error TS2300: Duplicate identifier 'GraphicsData'.
tsd/pixi.comments.d.ts(1177,18): error TS2300: Duplicate identifier 'Graphics'.
tsd/pixi.comments.d.ts(1218,18): error TS2300: Duplicate identifier 'GrayFilter'.
tsd/pixi.comments.d.ts(1224,18): error TS2300: Duplicate identifier 'ImageLoader'.
tsd/pixi.comments.d.ts(1244,18): error TS2300: Duplicate identifier 'InteractionData'.
tsd/pixi.comments.d.ts(1254,18): error TS2300: Duplicate identifier 'InteractionManager'.
tsd/pixi.comments.d.ts(1276,18): error TS2300: Duplicate identifier 'InvertFilter'.
tsd/pixi.comments.d.ts(1282,18): error TS2300: Duplicate identifier 'JsonLoader'.
tsd/pixi.comments.d.ts(1304,18): error TS2300: Duplicate identifier 'Matrix'.
tsd/pixi.comments.d.ts(1339,18): error TS2300: Duplicate identifier 'NoiseFilter'.
tsd/pixi.comments.d.ts(1345,18): error TS2300: Duplicate identifier 'NormalMapFilter'.
tsd/pixi.comments.d.ts(1353,18): error TS2300: Duplicate identifier 'PixelateFilter'.
tsd/pixi.comments.d.ts(1371,18): error TS2300: Duplicate identifier 'PixiShader'.
tsd/pixi.comments.d.ts(1451,18): error TS2300: Duplicate identifier 'PixiFastShader'.
tsd/pixi.comments.d.ts(1496,18): error TS2300: Duplicate identifier 'PrimitiveShader'.
tsd/pixi.comments.d.ts(1535,18): error TS2300: Duplicate identifier 'ComplexPrimitiveShader'.
tsd/pixi.comments.d.ts(1574,18): error TS2300: Duplicate identifier 'StripShader'.
tsd/pixi.comments.d.ts(1613,18): error TS2300: Duplicate identifier 'Point'.
tsd/pixi.comments.d.ts(1625,18): error TS2300: Duplicate identifier 'Polygon'.
tsd/pixi.comments.d.ts(1639,18): error TS2300: Duplicate identifier 'Rectangle'.
tsd/pixi.comments.d.ts(1653,18): error TS2300: Duplicate identifier 'RGBSplitFilter'.
tsd/pixi.comments.d.ts(1661,18): error TS2300: Duplicate identifier 'Rope'.
tsd/pixi.comments.d.ts(1673,18): error TS2300: Duplicate identifier 'RoundedRectangle'.
tsd/pixi.comments.d.ts(1688,18): error TS2300: Duplicate identifier 'SepiaFilter'.
tsd/pixi.comments.d.ts(1694,18): error TS2300: Duplicate identifier 'SmartBlurFilter'.
tsd/pixi.comments.d.ts(1700,18): error TS2300: Duplicate identifier 'SpineLoader'.
tsd/pixi.comments.d.ts(1721,18): error TS2300: Duplicate identifier 'SpineTextureLoader'.
tsd/pixi.comments.d.ts(1734,18): error TS2300: Duplicate identifier 'Sprite'.
tsd/pixi.comments.d.ts(1799,18): error TS2300: Duplicate identifier 'SpriteBatch'.
tsd/pixi.comments.d.ts(1810,18): error TS2300: Duplicate identifier 'SpriteSheetLoader'.
tsd/pixi.comments.d.ts(1833,18): error TS2300: Duplicate identifier 'Strip'.
tsd/pixi.comments.d.ts(1862,18): error TS2300: Duplicate identifier 'Texture'.
tsd/pixi.comments.d.ts(1968,18): error TS2300: Duplicate identifier 'TilingSprite'.
tsd/pixi.comments.d.ts(1989,18): error TS2300: Duplicate identifier 'TiltShiftFilter'.
tsd/pixi.comments.d.ts(1998,18): error TS2300: Duplicate identifier 'TiltShiftXFilter'.
tsd/pixi.comments.d.ts(2009,18): error TS2300: Duplicate identifier 'TiltShiftYFilter'.
tsd/pixi.comments.d.ts(2020,18): error TS2300: Duplicate identifier 'TwistFilter'.
tsd/pixi.comments.d.ts(2028,18): error TS2300: Duplicate identifier 'VideoTexture'.
tsd/pixi.comments.d.ts(2050,18): error TS2300: Duplicate identifier 'WebGLBlendModeManager'.
tsd/pixi.comments.d.ts(2076,18): error TS2300: Duplicate identifier 'WebGLFastSpriteBatch'.
tsd/pixi.comments.d.ts(2141,18): error TS2300: Duplicate identifier 'WebGLFilterManager'.
tsd/pixi.comments.d.ts(2202,18): error TS2300: Duplicate identifier 'WebGLGraphics'.
tsd/pixi.comments.d.ts(2297,18): error TS2300: Duplicate identifier 'WebGLGraphicsData'.
tsd/pixi.comments.d.ts(2317,18): error TS2300: Duplicate identifier 'WebGLMaskManager'.
tsd/pixi.comments.d.ts(2357,18): error TS2300: Duplicate identifier 'WebGLRenderer'.
tsd/pixi.comments.d.ts(2523,18): error TS2300: Duplicate identifier 'WebGLShaderManager'.
tsd/pixi.comments.d.ts(2559,18): error TS2300: Duplicate identifier 'WebGLStencilManager'.
tsd/pixi.comments.d.ts(2599,18): error TS2300: Duplicate identifier 'WebGLSpriteBatch'.
tsd/pixi.comments.d.ts(2693,18): error TS2300: Duplicate identifier 'RenderTexture'.
tsd/pixi.comments.d.ts(2714,18): error TS2300: Duplicate identifier 'BoneData'.
tsd/pixi.comments.d.ts(2729,18): error TS2300: Duplicate identifier 'SlotData'.
tsd/pixi.comments.d.ts(2743,18): error TS2300: Duplicate identifier 'Bone'.
tsd/pixi.comments.d.ts(2764,18): error TS2300: Duplicate identifier 'Slot'.
tsd/pixi.comments.d.ts(2783,18): error TS2300: Duplicate identifier 'Skin'.
tsd/pixi.comments.d.ts(2795,18): error TS2300: Duplicate identifier 'Animation'.
tsd/pixi.comments.d.ts(2807,18): error TS2300: Duplicate identifier 'Curves'.
tsd/pixi.comments.d.ts(2830,18): error TS2300: Duplicate identifier 'RotateTimeline'.
tsd/pixi.comments.d.ts(2844,18): error TS2300: Duplicate identifier 'TranslateTimeline'.
tsd/pixi.comments.d.ts(2858,18): error TS2300: Duplicate identifier 'ScaleTimeline'.
tsd/pixi.comments.d.ts(2872,18): error TS2300: Duplicate identifier 'ColorTimeline'.
tsd/pixi.comments.d.ts(2886,18): error TS2300: Duplicate identifier 'AttachmentTimeline'.
tsd/pixi.comments.d.ts(2901,18): error TS2300: Duplicate identifier 'SkeletonData'.
tsd/pixi.comments.d.ts(2918,18): error TS2300: Duplicate identifier 'Skeleton'.
tsd/pixi.comments.d.ts(2955,18): error TS2300: Duplicate identifier 'RegionAttachment'.
tsd/pixi.comments.d.ts(2980,18): error TS2300: Duplicate identifier 'AnimationStateData'.
tsd/pixi.comments.d.ts(2993,18): error TS2300: Duplicate identifier 'AnimationState'.
tsd/pixi.comments.d.ts(3019,18): error TS2300: Duplicate identifier 'SkeletonJson'.
tsd/pixi.comments.d.ts(3034,18): error TS2300: Duplicate identifier 'Atlas'.
tsd/pixi.comments.d.ts(3080,18): error TS2300: Duplicate identifier 'AtlasPage'.
tsd/pixi.comments.d.ts(3094,18): error TS2300: Duplicate identifier 'AtlasRegion'.
tsd/pixi.comments.d.ts(3117,18): error TS2300: Duplicate identifier 'AtlasReader'.
tsd/pixi.comments.d.ts(3131,18): error TS2300: Duplicate identifier 'AtlasAttachmentLoader'.
tsd/pixi.comments.d.ts(3141,18): error TS2300: Duplicate identifier 'Spine'.
tsd/pixi.d.ts(12,9): error TS2300: Duplicate identifier 'NORMAL'.
tsd/pixi.d.ts(12,9): error TS2432: In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.
tsd/pixi.d.ts(13,9): error TS2300: Duplicate identifier 'ADD'.
tsd/pixi.d.ts(14,9): error TS2300: Duplicate identifier 'MULTIPLY'.
tsd/pixi.d.ts(15,9): error TS2300: Duplicate identifier 'SCREEN'.
tsd/pixi.d.ts(16,9): error TS2300: Duplicate identifier 'OVERLAY'.
tsd/pixi.d.ts(17,9): error TS2300: Duplicate identifier 'DARKEN'.
tsd/pixi.d.ts(18,9): error TS2300: Duplicate identifier 'LIGHTEN'.
tsd/pixi.d.ts(19,9): error TS2300: Duplicate identifier 'COLOR_DODGE'.
tsd/pixi.d.ts(20,9): error TS2300: Duplicate identifier 'COLOR_BURN'.
tsd/pixi.d.ts(21,9): error TS2300: Duplicate identifier 'HARD_LIGHT'.
tsd/pixi.d.ts(22,9): error TS2300: Duplicate identifier 'SOFT_LIGHT'.
tsd/pixi.d.ts(23,9): error TS2300: Duplicate identifier 'DIFFERENCE'.
tsd/pixi.d.ts(24,9): error TS2300: Duplicate identifier 'EXCLUSION'.
tsd/pixi.d.ts(25,9): error TS2300: Duplicate identifier 'HUE'.
tsd/pixi.d.ts(26,9): error TS2300: Duplicate identifier 'SATURATION'.
tsd/pixi.d.ts(27,9): error TS2300: Duplicate identifier 'COLOR'.
tsd/pixi.d.ts(28,9): error TS2300: Duplicate identifier 'LUMINOSITY'.
tsd/pixi.d.ts(34,9): error TS2300: Duplicate identifier 'DEFAULT'.
tsd/pixi.d.ts(34,9): error TS2432: In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.
tsd/pixi.d.ts(35,9): error TS2300: Duplicate identifier 'LINEAR'.
tsd/pixi.d.ts(36,9): error TS2300: Duplicate identifier 'NEAREST'.
tsd/pixi.d.ts(179,18): error TS2300: Duplicate identifier 'AbstractFilter'.
tsd/pixi.d.ts(193,18): error TS2300: Duplicate identifier 'AlphaMaskFilter'.
tsd/pixi.d.ts(203,18): error TS2300: Duplicate identifier 'AsciiFilter'.
tsd/pixi.d.ts(209,18): error TS2300: Duplicate identifier 'AssetLoader'.
tsd/pixi.d.ts(231,18): error TS2300: Duplicate identifier 'AtlasLoader'.
tsd/pixi.d.ts(253,18): error TS2300: Duplicate identifier 'BaseTexture'.
tsd/pixi.d.ts(286,18): error TS2300: Duplicate identifier 'BitmapFontLoader'.
tsd/pixi.d.ts(308,18): error TS2300: Duplicate identifier 'BlurFilter'.
tsd/pixi.d.ts(316,18): error TS2300: Duplicate identifier 'BlurXFilter'.
tsd/pixi.d.ts(322,18): error TS2300: Duplicate identifier 'BlurYFilter'.
tsd/pixi.d.ts(328,18): error TS2300: Duplicate identifier 'CanvasBuffer'.
tsd/pixi.d.ts(343,18): error TS2300: Duplicate identifier 'CanvasPool'.
tsd/pixi.d.ts(354,18): error TS2300: Duplicate identifier 'CanvasMaskManager'.
tsd/pixi.d.ts(361,18): error TS2300: Duplicate identifier 'CanvasRenderer'.
tsd/pixi.d.ts(386,18): error TS2300: Duplicate identifier 'CanvasTinter'.
tsd/pixi.d.ts(398,18): error TS2300: Duplicate identifier 'Circle'.
tsd/pixi.d.ts(412,18): error TS2300: Duplicate identifier 'ColorMatrixFilter'.
tsd/pixi.d.ts(420,18): error TS2300: Duplicate identifier 'ColorStepFilter'.
tsd/pixi.d.ts(426,18): error TS2300: Duplicate identifier 'ConvolutionFilter'.
tsd/pixi.d.ts(436,18): error TS2300: Duplicate identifier 'CrossHatchFilter'.
tsd/pixi.d.ts(442,18): error TS2300: Duplicate identifier 'DisplacementFilter'.
tsd/pixi.d.ts(452,18): error TS2300: Duplicate identifier 'DotScreenFilter'.
tsd/pixi.d.ts(459,18): error TS2300: Duplicate identifier 'DisplayObject'.
tsd/pixi.d.ts(512,18): error TS2300: Duplicate identifier 'DisplayObjectContainer'.
tsd/pixi.d.ts(537,18): error TS2300: Duplicate identifier 'Ellipse'.
tsd/pixi.d.ts(552,18): error TS2300: Duplicate identifier 'Event'.
tsd/pixi.d.ts(567,18): error TS2300: Duplicate identifier 'EventTarget'.
tsd/pixi.d.ts(573,18): error TS2300: Duplicate identifier 'FilterTexture'.
tsd/pixi.d.ts(590,18): error TS2300: Duplicate identifier 'GraphicsData'.
tsd/pixi.d.ts(605,18): error TS2300: Duplicate identifier 'Graphics'.
tsd/pixi.d.ts(646,18): error TS2300: Duplicate identifier 'GrayFilter'.
tsd/pixi.d.ts(652,18): error TS2300: Duplicate identifier 'ImageLoader'.
tsd/pixi.d.ts(672,18): error TS2300: Duplicate identifier 'InteractionData'.
tsd/pixi.d.ts(682,18): error TS2300: Duplicate identifier 'InteractionManager'.
tsd/pixi.d.ts(704,18): error TS2300: Duplicate identifier 'InvertFilter'.
tsd/pixi.d.ts(710,18): error TS2300: Duplicate identifier 'JsonLoader'.
tsd/pixi.d.ts(732,18): error TS2300: Duplicate identifier 'Matrix'.
tsd/pixi.d.ts(767,18): error TS2300: Duplicate identifier 'NoiseFilter'.
tsd/pixi.d.ts(773,18): error TS2300: Duplicate identifier 'NormalMapFilter'.
tsd/pixi.d.ts(781,18): error TS2300: Duplicate identifier 'PixelateFilter'.
tsd/pixi.d.ts(799,18): error TS2300: Duplicate identifier 'PixiShader'.
tsd/pixi.d.ts(822,18): error TS2300: Duplicate identifier 'PixiFastShader'.
tsd/pixi.d.ts(837,18): error TS2300: Duplicate identifier 'PrimitiveShader'.
tsd/pixi.d.ts(850,18): error TS2300: Duplicate identifier 'ComplexPrimitiveShader'.
tsd/pixi.d.ts(863,18): error TS2300: Duplicate identifier 'StripShader'.
tsd/pixi.d.ts(876,18): error TS2300: Duplicate identifier 'Point'.
tsd/pixi.d.ts(888,18): error TS2300: Duplicate identifier 'Polygon'.
tsd/pixi.d.ts(902,18): error TS2300: Duplicate identifier 'Rectangle'.
tsd/pixi.d.ts(916,18): error TS2300: Duplicate identifier 'RGBSplitFilter'.
tsd/pixi.d.ts(924,18): error TS2300: Duplicate identifier 'Rope'.
tsd/pixi.d.ts(936,18): error TS2300: Duplicate identifier 'RoundedRectangle'.
tsd/pixi.d.ts(951,18): error TS2300: Duplicate identifier 'SepiaFilter'.
tsd/pixi.d.ts(957,18): error TS2300: Duplicate identifier 'SmartBlurFilter'.
tsd/pixi.d.ts(963,18): error TS2300: Duplicate identifier 'SpineLoader'.
tsd/pixi.d.ts(984,18): error TS2300: Duplicate identifier 'SpineTextureLoader'.
tsd/pixi.d.ts(993,18): error TS2300: Duplicate identifier 'Sprite'.
tsd/pixi.d.ts(1010,18): error TS2300: Duplicate identifier 'SpriteBatch'.
tsd/pixi.d.ts(1021,18): error TS2300: Duplicate identifier 'SpriteSheetLoader'.
tsd/pixi.d.ts(1044,18): error TS2300: Duplicate identifier 'Strip'.
tsd/pixi.d.ts(1068,18): error TS2300: Duplicate identifier 'Texture'.
tsd/pixi.d.ts(1102,18): error TS2300: Duplicate identifier 'TilingSprite'.
tsd/pixi.d.ts(1123,18): error TS2300: Duplicate identifier 'TiltShiftFilter'.
tsd/pixi.d.ts(1132,18): error TS2300: Duplicate identifier 'TiltShiftXFilter'.
tsd/pixi.d.ts(1143,18): error TS2300: Duplicate identifier 'TiltShiftYFilter'.
tsd/pixi.d.ts(1154,18): error TS2300: Duplicate identifier 'TwistFilter'.
tsd/pixi.d.ts(1162,18): error TS2300: Duplicate identifier 'VideoTexture'.
tsd/pixi.d.ts(1184,18): error TS2300: Duplicate identifier 'WebGLBlendModeManager'.
tsd/pixi.d.ts(1194,18): error TS2300: Duplicate identifier 'WebGLFastSpriteBatch'.
tsd/pixi.d.ts(1226,18): error TS2300: Duplicate identifier 'WebGLFilterManager'.
tsd/pixi.d.ts(1243,18): error TS2300: Duplicate identifier 'WebGLGraphics'.
tsd/pixi.d.ts(1263,18): error TS2300: Duplicate identifier 'WebGLGraphicsData'.
tsd/pixi.d.ts(1283,18): error TS2300: Duplicate identifier 'WebGLMaskManager'.
tsd/pixi.d.ts(1292,18): error TS2300: Duplicate identifier 'WebGLRenderer'.
tsd/pixi.d.ts(1330,18): error TS2300: Duplicate identifier 'WebGLShaderManager'.
tsd/pixi.d.ts(1344,18): error TS2300: Duplicate identifier 'WebGLStencilManager'.
tsd/pixi.d.ts(1358,18): error TS2300: Duplicate identifier 'WebGLSpriteBatch'.
tsd/pixi.d.ts(1391,18): error TS2300: Duplicate identifier 'RenderTexture'.
tsd/pixi.d.ts(1412,18): error TS2300: Duplicate identifier 'BoneData'.
tsd/pixi.d.ts(1427,18): error TS2300: Duplicate identifier 'SlotData'.
tsd/pixi.d.ts(1441,18): error TS2300: Duplicate identifier 'Bone'.
tsd/pixi.d.ts(1462,18): error TS2300: Duplicate identifier 'Slot'.
tsd/pixi.d.ts(1481,18): error TS2300: Duplicate identifier 'Skin'.
tsd/pixi.d.ts(1493,18): error TS2300: Duplicate identifier 'Animation'.
tsd/pixi.d.ts(1505,18): error TS2300: Duplicate identifier 'Curves'.
tsd/pixi.d.ts(1528,18): error TS2300: Duplicate identifier 'RotateTimeline'.
tsd/pixi.d.ts(1542,18): error TS2300: Duplicate identifier 'TranslateTimeline'.
tsd/pixi.d.ts(1556,18): error TS2300: Duplicate identifier 'ScaleTimeline'.
tsd/pixi.d.ts(1570,18): error TS2300: Duplicate identifier 'ColorTimeline'.
tsd/pixi.d.ts(1584,18): error TS2300: Duplicate identifier 'AttachmentTimeline'.
tsd/pixi.d.ts(1599,18): error TS2300: Duplicate identifier 'SkeletonData'.
tsd/pixi.d.ts(1616,18): error TS2300: Duplicate identifier 'Skeleton'.
tsd/pixi.d.ts(1653,18): error TS2300: Duplicate identifier 'RegionAttachment'.
tsd/pixi.d.ts(1678,18): error TS2300: Duplicate identifier 'AnimationStateData'.
tsd/pixi.d.ts(1691,18): error TS2300: Duplicate identifier 'AnimationState'.
tsd/pixi.d.ts(1717,18): error TS2300: Duplicate identifier 'SkeletonJson'.
tsd/pixi.d.ts(1732,18): error TS2300: Duplicate identifier 'Atlas'.
tsd/pixi.d.ts(1778,18): error TS2300: Duplicate identifier 'AtlasPage'.
tsd/pixi.d.ts(1792,18): error TS2300: Duplicate identifier 'AtlasRegion'.
tsd/pixi.d.ts(1815,18): error TS2300: Duplicate identifier 'AtlasReader'.
tsd/pixi.d.ts(1829,18): error TS2300: Duplicate identifier 'AtlasAttachmentLoader'.
tsd/pixi.d.ts(1839,18): error TS2300: Duplicate identifier 'Spine'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] compile:ts: `tsc --outFile ./bin/js/game.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] compile:ts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Tomas\AppData\Roaming\npm-cache\_logs\2017-07-04T17_10_44_740Z-debug.log
I'm new to TypeScript, so I don't know if this is a boilerplate or Phaser issue.
After starting the webserver and navigating to http://localhost:5858 in chrome/edge. It is not possible to inspect the .ts source from "developer tool" in the browsers. It seems to be because even though the source-map files are being served, the .ts-files are not.
Edge gives the error: "Could not locate http://localhost:5858/src/main.ts specified in source map http://localhost:5858/js/game.js.map."
I can open http://localhost:5858/js/game.js.map, but not http://localhost:5858/src/main.ts
Thank you for making this.
Create a script that can be run to update phaser using curl.
Bonus points for setting this up as a task that can be run from VSCode.
Node Static has a long-standing vulnerability issue, and there are good vscode extensions for live servers now.
Remove the node static dependency, and update the Getting Started instructions.
The node_modules folder can be deleted now that we have an npm install step added.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.