Tag: WebPack

Tutorial – Getting started with TypeScript and Cocos2d-x JS -Part 6 – Webpack-Dev-Server – MVCS Framework – IOC – Dependency Injection

Tutorial – Getting started with TypeScript and Cocos2d-x JS -Part 6 – Webpack-Dev-Server – MVCS Framework – IOC – Dependency Injection

Welcome to Part 6  of this Cocos2d-x Tutorial Series. Revisions 14-06-2017 – MVC code now works on JSB, Restructured so that we do not extend core cocos classes in typescript. Moved Node and Scene LifeCycle Extensions into dalste.mvc javascript IIFE package with corresponding typescript definitions. Updated Factories to return Containers rather than Cocos2d-x derived objects …

+ Read More

Tutorial – Getting started with TypeScript and Cocos2d-x JS – Part 4 – Bootstrapping Cocos2d-x JS – Webpack – Chai – External Modules

Tutorial – Getting started with TypeScript and Cocos2d-x JS – Part 4 – Bootstrapping Cocos2d-x JS – Webpack – Chai – External Modules

Discussion and direction I have decided that for the remainder of this series, we are going to build a simple tap to shoot 2d game. Our main focus will be on building the underlying TypeScript based architecture for Cocos2d-x JS,  but I thought that we might as well make it fun. We are going use TypeScript’s External …

+ Read More