Comments (2)
Seems like that's the map asset packer, nevermind. Still getting my head around this please bare with me.
from lttp.
- LESS. There's almost no CSS. Why?
Why not? webpack and npm do all of this for you, you shouldn't even notice it is less. imports, and variables is basically why.
- EJS. There's almost no HTML. Why?
Because we inject values into it during webpack build. This is done by compiling the ejs and inserting the bundles who's names are not preknown.
- Gulp and webpack? I don't get it.
Webpack builds the bundle js file, but there is more to the build than that. We need to build asset packs for the maps, lint the code, watch for changes on all things (not just bundle js), etc.
- Inheriting Phaser classes makes it difficult to reason where things happening, in LTTP or in Phaser.
Not sure I understand what you are saying here.
TypeScript - already a big step, and many JS devs will not bother with non-raw JS libraries, and the gains are questionable here - outside of the core game engine.
Typescript is used as ES6 + types here. If no typescript was used, the code would look nearly identical since it would be ES6. I'm not worried about adoption or getting other devs on-board. I'm just building something I find fun to work on.
from lttp.
Related Issues (9)
- Build broken? HOT 8
- Primordials is not defined HOT 1
- Can't find phaser-tiled 2.0.0 HOT 14
- gulp clean && gulp dev fails on my system (OS X version 10.9.5 running npm version 2.11.3) HOT 2
- 2 JavaScript Errors HOT 1
- Controls? HOT 2
- TypeError: Cannot read property 'getFrameByName' of null HOT 1
- How to render TMX How to render TMX in ThreeJs plane? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lttp.