Search the Community
Showing results for tags 'babel'.
-
Hi all After a few working projects in PIXI on es5, we're now starting to try and build a framework using es6 & babel. We have a boilerplate setup and have got the basics working, though it is slow. Because PIXI.js modules aren't decoupled, it takes a good 5 seconds+ on a simple project to recompile on each save & refresh the browser. I understand there is work possibly planned for V5 on this, but are there any workarounds in the meantime anyone has found to make the workflow a little quicker? Thanks in advance!
-
Hello! It's been a while since my last topic, I've been feeding my brain a little bit and here is the result: I've created a tiny boilerplate available on Github. The aim of the project is to help other developers to get started a little bit faster without having to spend too much time setting up Build tasks (basically setting up the transpiler). The project comes with: A heavily commented gulpfile that uses Browserify and Babel to transpile your ES6 code into ES5.Two build modes: development and production (neither one is too complex or opinionated).Browsersync for live reload and weinre for your mobile debugging needs.UglifyJS for the production build. No sitelock or heavy obfuscation code included.You can access the repo here: https://github.com/belohlavek/phaser-es6-boilerplate You can see the example included on codepen (no modules): http://codepen.io/belohlavek/full/aORJVL Bonus information: You can get code intellisense for ES6 with VSCode + phaser.d.ts (Typescript definition). Works like a charm on Ubuntu. If you feel I missed out on something, or worst, if you think I screwed up please let me know! I'm sure there are at least a couple of dumb typos out there. Are any of you already using Babel with Phaser? Any Typescript users willing to give ES2015 a try? Thanks for reading
-
Hi Everyone! I work for a developer found and run firm here in Massachusetts. We're currently looking to add one/two HTML5 developers to our current team. You would be working on a SaaS based, interactive, educational gaming platform. Engineers always talk to me about “wanting to feel like they are a part of something meaningful or building something meaningful.” How about using cutting edge technologies you're passionate about, and delivering on a product that 50,000 students will use/adopt every day and around 30 million students around the world will use every year. Certainly an amazing opportunity where you would join a small "SWAT Style" team of passionate, results-driven, engineers. In an effort to design and develop code that delivers rich experiences using HTML5, JavaScript, CSS, and related frameworks on desktop browsers, mobile browsers, and mobile app's. Work that will be viewed by millions and millions of students around the world. Ultimately your work will lead to higher learning outcomes and better experiences in the classroom. The impact you’ll have: • Write code, built tests, participate in design and code reviews with fellow developers • Work with a team of editors, animators, and product owners to understand requirements and deliver technology using Agile software development methodologies • Build quality software in an Agile (Scrum) environment • Design and develop applications and games in HTML5 and JavaScript, with a focus on Canvas-based experiences What we’re looking for: • The ability to thrive in a fast, dynamic environment and a demonstrated record of previous achievement • Bachelor’s degree in Computer Science or a related field (or equivalent experience) • Experience with JavaScript toolchain, from build system to automated testing • Experience with CreateJS/ReactJS OR experience with HowlerJS/EaselJS. • Experience producing and shipping at least one or more applications for desktop or mobile • Strong knowledge of JavaScript, HTML, CSS, DOM, AJAX, RestfulAPI • Experience with Agile processes
-
A puzzle platformer where you stop the evil penguin from rebuilding the Tower of Babel, with ice. Created with Phaser in Haxe. Overlap2D used for level designing. Play on Web Screenshots
-
Hey everyone, Just a quick question: Can we build phaser games with es6 ? I'm currently learning the es6 language by making pong, and as I go along I want to make the same pong game but with using phaser or Lazer. Very Kind Regards, Cedric
-
Dear awesome community, I have a question about transpiling es6 to native javascript/es5. I am looking for something like atom's typescript plugin, this makes compiling typescript really easy. There is now a babel plugin which is: language-babel. I have no clue on how to set this up and what I have to do. There is no actual tutorial / guide to be found. How do you set up a transpiling system? like the typescript plugin thank you so much in advance Very kind regards, Cedric
-
So... I've been trying for days now to get modules to play nice with babylon.js, thus far without success. babelify, webpack, browserify, nothing seems to be working. Can anyone give me a hint on how to properly package it so that it actually functions? The current error I'm running into (and there have been dozens of various errors from the various attempts) is that BABYLON is not defined. require ('./babylon.js');var createScene = require ('./Sub_Scene1.js'); console.log('1');window.addEventListener('DOMContentLoaded', function(){ var canvas = document.getElementById('renderCanvas');var engine = new BABYLON.Engine(canvas, true); console.log('2'); var scene = createScene;engine.runRenderLoop(function(){scene.render();}); window.addEventListener('resize', function() {engine.resize();});});console.log('3');
- 2 replies
-
- browserify
- babel
-
(and 3 more)
Tagged with: