Search the Community

Showing results for tags 'node'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 20 results

  1. I just released Phaser NPM Webpack TypeScript Starter Project (catchy name, isn't it?) GitHub link or my github.io link as a base starting point for creating games with Phaser using TypeScript taking advantage of the Phaser npm module and Webpack for building (which I couldn't find a template for, so I made one). It includes the typical 3 states (boot, preloader, title) to show the flow of a Phaser game. It also includes a watch task that watches the project for any changes and recompiles, and another task to run a live server that refreshes automatically after a build. It only takes a few seconds and a couple commands to get going (after having node.js installed)! It's platform agnostic (I've tested on OSX, Ubuntu running on a Chromebook, and Windows 10 in a VM running on OSX and had zero difference in behaviour). Hopefully someone here will find it useful, or at least take a look and let me know how to improve it (I plan on using this template and it's evolutions for all my future Phaser projects)!
  2. Hi guys, I have a socket.io server running with node.js and i am trying to add players/sprites to my game. I am trying to figure out the best way to do this. As of now i have been working towards using object arrays but i know this is a better way. socket.on('addPlayer',function(data){ var thisID = data;//myArrayID; if(data.id == myID){ }else{ console.log(thisID); pFish[thisID] = this.add.sprite(); pFish[thisID].x = this.world.centerX; pFish[thisID].y = this.world.centerY; pFish[thisID].anchor.setTo(0.5, 0.5); pMouth[thisID] = this.add.sprite(0, 0, 'spMouth'); pMouth[thisID].anchor.setTo(0.5, 1); pMouth[thisID].animations.add('eat'); pMouth[thisID].animations.play('eat', 30, true); pTail[thisID] = this.add.sprite(0, 0, 'spTail'); pTail[thisID].anchor.setTo(0.5, 0); pTail[thisID].animations.add('swim'); pTail[thisID].animations.play('swim', 30, true); pTail[thisID].y = spMouth.y - 12; pFish[thisID].addChild(spMouth[thisID]); pFish[thisID].addChild(spTail[thisID]); pFish[thisID].scale.setTo(0.2, 0.2); pFish[thisID].angle = 110; } }) So what i really want to do is add a player object. This way i can have all 3 sprites inside the object and i can just change the object. Of course i will need to update each player with the corisponding input comming in from the server. Any good examples of how to do this in a OOP method for Phaser.? Example: BasicGame.Game.prototype = { preload: function () { //this.load.script('io', 'node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.js'); //console.log('NODE LOADED'); }, create: function () {
  3. My first HTML5 Game, Snaked.io (So exciting! ) Every since playing the famous revolutionary agar.io game, I was inspired to create my own "io" game, so here it is! I took the classic version of Snake, and made it multiplayer Snaked.io (Server may take a while to connect, and a bit laggy due to it being free from Heroku) Basically, what I want to know is (preferably 1-10 scale): Do you like the concept? How easy was it to understand how to play? What would you add/change? Any bugs? (For now, may experience lag) What do you think of the name of the game? Anything else that comes into mind, please add! Gameplay Objective of the game is to eat the gray squares causing you to extend your length, while avoiding crashing into yourself, or others. Become the longest of them all! Controls W or ^ - Up S or v - Down A or < - Left D or > - Right Enter - Chat Hope you enjoy this as much as I did making it! SCREENSHOTS Screenshot (1) Screenshot (2)
  4. This request is more for the BabylonJS maintainers like David. I talked you guys into letting me add node.metadata which is WORKING GREAT... SO GREAT that i really need (and hope you can see the same value as well) of having the same serializable metadata at the scene level. So i am asking SOMEONE to please: @serialize() public metadata:any = null; to babylon.scene.ts so it can be used exactly like node.metedata. Right now if i want to store SCENE level metadata i gotta put a DUMMY mesh (or node) into the scene and search the all the scene.meshes to find some node.metadata that has been aliased to be used as scene level data. That kinda sucks (Note: I DONT MEAN BABYLONJS sucks in any way... remember... I luv you guys and the very concept of babylonjs ). Just not a clean way to store and retrieve any scene level metadata. Adding scene.metadata would give that same 'automatic de-serialization' of the built in babylon parsing framework. We will end up with a real javascript object scene.metadata JUST LIKE node.metadata Please REALLY think about it... I would luv to clean up some of my BabylonJS loader code and having to look thru the scene nodes to grab a dummy node with my scene level metadata, really bugs my OCD Thanks again for even thinking about it
  5. Hello, I'd like to ask you guys about your experience and for some advice. I'm looking for some hosting which would allow me to run node.js app on the server side and allowed me to use websockets. I'm doing some screening know and I'd love to have some info from you guys to see what works for you the best? It would be nice if the hosting also supported php + mysql, I'm not necessarily looking for a free hosting, I'll be moving a company website there as well because I'm not too happy with my current provider considering what I pay for it and what i get back from them. Thank you for your advices.
  6. Hi there, http://www.circlebattle.com The code is at https://github.com/chiefsmurph/circle-game This is my game called Circle Battle. I currently have it set up where there are different "rooms" which have different kinds of gameplays. But because there are not a lot of players currently, I am thinking of going to a system where players are paired up as they arrive and then I would set up a way where they could set the circle radius, speed and whether or not intensity mode. It's still very much a work in progress, but there has been many hours put into developing the game. John
  7. Hi, just started working on my first Bablyon project. I'm planning a client/server model that will share some code between Node and the browser. I've encountered a couple of pain points, and noticed there is no issues section on GitHub, so I'm guessing this is the proper place to discuss with devs? The first is pretty major, the npm module uses a minified version of the source as its entry point, which is excruciating to debug! It's impossible to set breakpoints or sometimes to even work out which function is failing. Ideally the project would be distributed as unminified JavaScript that includes source maps. There is no reason to minify code for npm since it will ultimately be handled by the user's build tool (in production only!). The other problem is that I'd like to use the `Vector3` class (and perhaps others) in my server code. To do so I must "pretend" that `window` and `navigator` exist in the global scope. global.window = {}; global.navigator = {}; import { Vector3 } from 'babylonjs'; Ideally I'd like to do something like this: import { Vector3 } from 'babylonjs/Math'; That is not possible since the unminified source is not supplied in the package, and if I understand correctly, does not use the node module system anyway. Since the file `babylon/src/Math` actually doesn't require access to `window` etc. this should be fine. It could potentially make sense to split `Vector3` into its own repo and have it as a dependency of babylon? Is there any interest or discussion in this area? How do other people debug the minified code?
  8. Inclusive Technology Ltd, an award winning special educational needs software company is seeking a skilled HTML5/JavaScript online game and app developer with the experience to undertake a variety of new innovative projects to work alongside an existing team of designers, animators and developers on a full time permanent basis at our offices near Manchester. Experience and Skills; Essential skills: Proficient in: JavaScript Node.js. HTML5 Experience with: CreateJS or other libraries based on Canvas 2D API. Bundling tools, such as Webpack. REST style web service interaction using JavaScript. Git version control. Adobe Creative Suite. CSS3. Creating optimized HTML5/CSS3 mark-up based on a prepared visual design. Strong communication skills and drive for excellence. A keen eye for detail and ability to meet deadlines. At least one game online, preferably more. Preferred Skills: Experience with Spine animation tool. Experience with WebGL. Mobile development experience. You have hands-on experience with Agile methodology. The Opportunity: The role involves some challenging work developing award winning, innovative, accessible HTML5 games for early years and special needs. Predominantly the skill-set required is JavaScript and HTML5, whilst a good knowledge of server-side programming would be of benefit. Candidates must show a higher than normal interest in web technology and development and must be willing to go the extra mile to achieve their assigned goals and deadlines. The successful candidate must also be a confident and accomplished communicator able to fit in with a highly active and integrated team, work processes and Agile environment. Benefits: Free lunch Pension contribution Salary: Negotiable dependant on experience Successful candidates may be required to complete a small test. If you are interested in this opportunity and would like to apply, please send your CV and live examples of your work to: Chris Thornton Creative Director Email: chris@inclusive.co.uk Website: www.inclusive.co.uk
  9. 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');
  10. Hey all, have another game for you to check out It's just a quick little timing game to see what kind of simple yet fun real time interactions can be achieved using pixi, spine, node, cocoon, and socket.io. Hit start then press Go to make your shinobi run and Hit to make him slash. You have to slash your opponent. If you slash and miss, you lose. Good luck, it's actually decently hard. If you queue up within two seconds of someone else, you fight each other live! It's pretty fun if you play with people in your immediate vicinity. Google Play https://play.google.com/store/apps/details?id=com.chimera.chimerashinobishowdown Facebook https://apps.facebook.com/nobulljustshinobi/ The art is simple and there's almost 0 polish added. The point was to pump out a game as fast as possible that utilized these technologies. We will probably update the art and possibly add a persistent score and leaderboard. It's not super innovative or pretty, but that's the point. It is decently cute and fun *Screen shots are from phone*
  11. The newest Express doesn't really seem to be handling the Babylon files correctly, even after setting the mime types. I'm using express.static with a folder, and every time BabylonJS downloads the file but doesn't create a mesh afterwards. Going to the link directly in your browser downloads the mesh instead of showing the data (not sure if this is intended) The appropriate mime types are set, looking them up by file extension also returns these types. Basically the code to have the mime types is this: express.static.mime.define({ 'application/babylon': ['babylon'], 'application/fx': ['fx'], 'application/babylonmeshdata': ['babylonmeshdata']});app.use(express.static('YOUR FOLDER'));Client: BABYLON.SceneLoader.ImportMesh("test", "objs/", "skull.babylon", scene, function (newMeshes) { console.log("mesh loaded"); console.log(arguments); // This logs: [Array[0], Array[0], Array[0]]});skull.babylon is the skull which you see often on the Babylon playground. The Chrome Networking tool returns this for skull.babylon: It seems that the networking tool actually does get the correct information:http://puu.sh/loUkK/f5a4213053.png But that "newMeshes" in the client code returns an array of size 0
  12. Hi all, I've been a bit more of a lurker when it comes to this forum. I've made a couple posts, all related to pixi and have been more active on their github forum than on html5gamedevs. The fruits of about half of a year's work has finally come together in a beta game on Facebook. I'd love for anyone who has a chance to check it out. Any and all feedback is welcomed (you can either reply here on in our in game support ticket center). We use a good bit of DOM elements for our menu UIs and Pixi to render the game. Socket.io and Nodejs are used in the javascript backend and CI for the html framework. As I have been the lead programmer on the game, I am more than willing to answer questions anyone might have related to the technical side of developing a game like this. I'm also open to any suggestions or tips Please keep in mind that this is a beta and there are some bugs, but we are actively developing the game and released it into beta to help generate some revenue while we continue to improve the game. We also just pushed out a patch that needs some bug fixes, so there are at least two pretty visible known problems. The url is https://apps.facebook.com/monsterislandonline/ **The screenshots are not full game screenshots, as I simply "Save as Image"d the game canvas.
  13. Hi there, I work at Gamevy, a company that is bringing Television Gameshows to market. We're the recent winners of best startup at the ICE Conference (See here for announcement: https://www.gamcrowd.com/press/gamevy-claims-pitch-ice-crown-with-32-of-vote). Since winning the competition, we've seen significant interest in our products and we're looking to expand. We've got some ideas that we've worked up internally which we really want to progress, but with all the demand we're seeing elsewhere we don't have the capacity. I'd really like to speak with companies that have experience in delivering games, preferably in the real money space, who offer development services. I'm on LinkedIn here: https://www.linkedin.com/in/danrough please connect and message me there. Thanks, Dan.
  14. I develop my game using phaser and node js, how to make it a native application (android and ios) ?
  15. I need to build babylon.js files. Am using Eclipse 4.4 (Luna) on Ubuntu 14.04 LTS. I built close to the directions on thread: http://www.html5gamedevs.com/topic/7747-contribute-to-bjs-in-javascript/ That thread assumes you are using Windows. The changes I made are that I just installed command-line git from the Ubuntu package repository. I built and installed Node from source (0.10.31). This is because there is a name conflict with the name 'node' in the Ubuntu repository & things are not in the directory tree Gulp expects on linux of '/usr/local'. I changed to the Gulp directory and typed 'sudo npm install -g gulp', and it worked see output below: /babylon/Babylon.js/Tools/gulp$ sudo npm install -g gulp[sudo] password for jeff: /usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp/bin/gulp.jsgulp@3.8.7 /usr/local/lib/node_modules/gulp├── tildify@0.2.0├── interpret@0.3.6├── pretty-hrtime@0.2.1├── deprecated@0.0.1├── archy@0.0.2├── minimist@0.2.0├── semver@3.0.1├── chalk@0.5.1 (escape-string-regexp@1.0.1, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)├── gulp-util@3.0.0 (lodash._reinterpolate@2.4.1, dateformat@1.0.8-1.2.3, lodash@2.4.1, vinyl@0.2.3, through2@0.5.1, multipipe@0.1.1, lodash.template@2.4.1)├── liftoff@0.12.1 (extend@1.3.0, resolve@0.7.4, findup-sync@0.1.3)└── vinyl-fs@0.3.6 (graceful-fs@3.0.2, mkdirp@0.5.0, strip-bom@0.3.1, vinyl@0.3.2, through2@0.5.1, glob-stream@3.1.15, lodash@2.4.1, glob-watcher@0.0.6)The problem starts with getting the dependencies: 'sudo npm install' /babylon/Babylon.js/Tools/gulp$ sudo npm installnpm WARN package.json BabylonJS@1.9.0 No repository field.npm WARN deprecated gulp-clean@0.3.1: use gulp-rimraf insteadnpm ERR! Error: EPERM, symlink '../rimraf/bin.js'npm ERR! { [Error: EPERM, symlink '../rimraf/bin.js'] errno: 50, code: 'EPERM', path: '../rimraf/bin.js' }npm ERR! npm ERR! Please try running this command again as root/Administrator.npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path ../rimraf/bin.jsnpm ERR! code EPERMnpm ERR! errno 50npm ERR! stack Error: EPERM, symlink '../rimraf/bin.js'npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/semver/test/index.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/semver/test/index.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/semver/test/index.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/through2'npm ERR! error rolling back gulp@3.8.7 { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/through2']npm ERR! error rolling back errno: 53,npm ERR! error rolling back code: 'ENOTEMPTY',npm ERR! error rolling back path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/through2' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/History.md'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/History.mdnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/History.mdnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/lodash.template/index.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/lodash.template/index.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/lodash.template/index.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/lib/dateformat.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/lib/dateformat.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/lib/dateformat.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/vinyl/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/vinyl/package.jsonnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/vinyl/package.jsonnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash._escapestringchar'npm ERR! error rolling back gulp-util@2.2.20 { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash._escapestringchar']npm ERR! error rolling back errno: 53,npm ERR! error rolling back code: 'ENOTEMPTY',npm ERR! error rolling back path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash._escapestringchar' }npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash.defaults/LICENSE.txt'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash.defaults/LICENSE.txtnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/minimist/test/parse.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/minimist/test/parse.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/minimist/test/parse.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, chmod '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/vinyl-fs/.jshintrc'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/vinyl-fs/.jshintrcnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/vinyl-fs/.jshintrcnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! fstream_finish_call chmodnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/resolve'npm ERR! error rolling back gulp-tsc@0.9.2 { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/resolve']npm ERR! error rolling back errno: 53,npm ERR! error rolling back code: 'ENOTEMPTY',npm ERR! error rolling back path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/resolve' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/async/README.md'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/async/README.mdnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/async/README.mdnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/minimatch/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/minimatch/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob2base/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob2base/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/ordered-read-streams/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/ordered-read-streams/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp/node_modules/minimist'npm ERR! error rolling back vinyl-fs@0.3.6 { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp/node_modules/minimist']npm ERR! error rolling back errno: 53,npm ERR! error rolling back code: 'ENOTEMPTY',npm ERR! error rolling back path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp/node_modules/minimist' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/through2/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/through2/package.jsonnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/through2/package.jsonnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.jsonnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.jsonnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream'npm ERR! error rolling back gulp-util@3.0.0 { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream']npm ERR! error rolling back errno: 53,npm ERR! error rolling back code: 'ENOTEMPTY',npm ERR! error rolling back path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/liftoff/artwork/liftoff-icon.eps'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/liftoff/artwork/liftoff-icon.epsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/liftoff/artwork/liftoff-icon.epsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/byline/test/rfc.txt'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/byline/test/rfc.txtnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/byline/test/rfc.txtnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/typescript/bin/tsc.js'npm ERR! If you need help, you may report this *entire* log,npm ERR! including the npm and node versions, at:npm ERR! <http://github.com/npm/npm/issues>npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/typescript/bin/tsc.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/typescript/bin/tsc.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! npm ERR! Additional logging details can be found in:npm ERR! /babylon/Babylon.js/Tools/Gulp/npm-debug.lognpm ERR! not ok code 0I now also see a log file in the current directory which was not there before. It is not quite the same as the output. Can anyone see the problem? I had been turning on .js generation in the Palantir Typescript plug-in, but that has 2 problems: I does not create those 3 unprintable chars at the beginning of each .js. This flags all .js as modified.This does not generate the combined babylon.js Thanks, Jeff npm-debug.log.txt
  16. Hi there, A while ago I created a realtime(ish) multiplayer game for a university assignment using Phaser, Node and Web-sockets. I haven't been able to put it anywhere before it was marked, but now that it has been people can take a look This was the first proper game I have made and for some crazy reason I decided to attempt a multiplayer game. I didn't really have a clue how to implement multiplayer so there is probably (definitely) a lot of insane stuff going on in my networking code but it seems to work not too badly. Eventually I will upgrade the networking code to follow more along the lines of this valve article https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking I have previously detailed how my networking works in this post: http://www.html5gamedevs.com/topic/5798-updating-players-positions-using-nodejs-and-socketio-multiplayer/#entry34974 Anyway, the game is essentially a racing game with flappy bird mechanics. Get the the hive first while avoiding the obstacles. The backend is powered by node.js which handles starting the games etc. I also randomly generate a level each game so that the obstacles are in different positions/ move at different speeds/ etc etc each round. There are a few elements of the game that are in there just to fulfil the spec set by my uni, like the little video at the end of the course, and I may remove these if I get time. The game is a little buggy in places I know, but worked well enough to get me very good marks hehe Currently it is running on a single digital ocean server, and to be honest I have no clue how many clients it can handle before things start to go boom, so it might be interesting to find out! I have tested it with around 5 with no problems. How laggy the other players appear seems to depend a lot on your distances from the server which is located in Amsterdam. Here in Brighton UK the lag doesn't seem too bad. I created all the graphics myself, but they were greatly inspired by Chasing Aura. I am pleased with how the game looks, and think that it could benefit from a few more obstacle types along the course. One pretty big issue with this game is that the server is not authoritative, meaning that it relies on the clients to inform it about their positions accurately and truthfully. This in theory means anyone with a little bit of js know how can cheat by modifying the code client side. I'm not really sure of a good way to get around this with this sort of game so if anyone has ideas let me know! Anyway, you can take a look at the game here: http://188.226.161.72 I would love to know what you think, if you have any suggestions on how it could be improved etc. Likewise if you have any questions about how the game works please ask and I will do my best to explain! Bye for now Zef
  17. I am working on a MP game. I am going to use Node.js to handle the networking. My question is should I use node.js to also handle the database work or should I send it off to PHP and have PHP handle the database and return the results to node.js. I would like to use PHP as I am much more skilled in it. I would learn more node.js if the pay off is better in performance or some other logical gain. Thoughts? Thanks,
  18. First of all, this is my first post (in fact, a topic) and I didn't know where to ask for this, so please don't be to hard on me. Having said this, I explain my problem. I googled around and I see "node.js" everywhere. I though panda.js was a framework for including it into a web page as any other game engine around (like Phaser and such, that you use a script tag to include it). I've got Apache as web server, can I make panda work? Am I missing something? Thanks in advance. Leo.
  19. Hey guys! Just thought I'd post my pet project that I've been working on up here. Don't know whether anyone remembers those 'Falling Sand' games (see here) but I can tell you know they were great Been working on a WebGL clone, this is the result so far. I know it's a bit buggy + perhaps a bit slow (have found getting good performance really tough). Anyway, if you want to check it out, give feedback, here's a link. http://dust.awevation.com I know the styling's a little weird too, I think CSS hates me. It seems to work mostly now though. If you want to check out the code for whatever reason here's the github repo.
  20. This is a clone of Scrabble but in real-time with multiplayer. This is for learning purpose and the game is not playable 24/7. But when it is it's very fun. I thing all the massive multiplayer games are fun if they easy to begin. And that's what :LETTRS :LITEROJ is all about. You start as a one block (letter) and You move across the board. You can put letter on board by pressing space bar. If You need new letter just type it on the keyboard to switch. This is work in progress as I learn more and more about node.js developing. Play the "game" here: 37.139.3.4:1337 . For now it just a big sandbox. More info at my site's blog post: http://p1x.in/blg/lettrs and dedicated page at http://p1x.in/literoj