ekeimaja

Members
  • Content Count

    153
  • Joined

  • Last visited

About ekeimaja

  • Rank
    Advanced Member
  • Birthday 08/25/1994

Contact Methods

  • Skype
    ekeimaja

Profile Information

  • Gender
    Male
  • Location
    Finland
  • Interests
    Game development, web development

Recent Profile Visitors

1,824 profile views
  1. ekeimaja

    Snoozing Salesman...Zzzz

    Damn, I had this same game idea at last summer when I was tired at work and slept always when my boss did not see me and then I came up with same idea.
  2. ekeimaja

    ES6 boilerplate for Babylon?

    Does anybody has any kind of blank Babylon boilerplate with ready folder structure?
  3. ekeimaja

    ES6 boilerplate for Babylon?

    @adam can you get that work? When I run it in the browser, the window keeps blank and I see only the fps meter in bottom right.
  4. Is there any comprehensive es6 boilerplate for Babylon? For Phaser is a lot, but for Babylon I haven't found yet. If somebody has done some kind of boilerplate, could I get it also?
  5. ekeimaja

    Empty Phaser ES6 template?

    Then it gives this error 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ] 2 info using npm@3.9.5 3 info using node@v6.2.2 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle phaser-es2015@0.0.1~prebuild: phaser-es2015@0.0.1 6 verbose lifecycle phaser-es2015@0.0.1~prebuild: unsafe-perm in lifecycle true 7 verbose lifecycle phaser-es2015@0.0.1~prebuild: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/ekeimaja/Desktop/phaser-es2015-master/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 8 verbose lifecycle phaser-es2015@0.0.1~prebuild: CWD: /home/ekeimaja/Desktop/phaser-es2015-master 9 silly lifecycle phaser-es2015@0.0.1~prebuild: Args: [ '-c', 'npm run clean' ] 10 silly lifecycle phaser-es2015@0.0.1~prebuild: Returned: code: 1 signal: null 11 info lifecycle phaser-es2015@0.0.1~prebuild: Failed to exec prebuild script 12 verbose stack Error: phaser-es2015@0.0.1 prebuild: `npm run clean` 12 verbose stack Exit status 1 12 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:245:16) 12 verbose stack at emitTwo (events.js:106:13) 12 verbose stack at EventEmitter.emit (events.js:191:7) 12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14) 12 verbose stack at emitTwo (events.js:106:13) 12 verbose stack at ChildProcess.emit (events.js:191:7) 12 verbose stack at maybeClose (internal/child_process.js:852:16) 12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) 13 verbose pkgid phaser-es2015@0.0.1 14 verbose cwd /home/ekeimaja/Desktop/phaser-es2015-master 15 error Linux 4.0.0-040000-generic 16 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" 17 error node v6.2.2 18 error npm v3.9.5 19 error code ELIFECYCLE 20 error phaser-es2015@0.0.1 prebuild: `npm run clean` 20 error Exit status 1 21 error Failed at the phaser-es2015@0.0.1 prebuild script 'npm run clean'. 21 error Make sure you have the latest version of node.js and npm installed. 21 error If you do, this is most likely a problem with the phaser-es2015 package, 21 error not with npm itself. 21 error Tell the author that this fails on your system: 21 error npm run clean 21 error You can get information on how to open an issue for this project with: 21 error npm bugs phaser-es2015 21 error Or if that isn't available, you can get their info via: 21 error npm owner ls phaser-es2015 21 error There is likely additional logging output above. 22 verbose exit [ 1, true ]
  6. ekeimaja

    Empty Phaser ES6 template?

    Now I tried to launch it with npm, and it gives just errors. 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'build', 'run' ] 2 info using npm@3.9.5 3 info using node@v6.2.2 4 info build /home/ekeimaja/Desktop/phaser-es2015-master/run 5 verbose stack Error: ENOENT: no such file or directory, open '/home/ekeimaja/Desktop/phaser-es2015-master/run/package.json' 5 verbose stack at Error (native) 6 verbose cwd /home/ekeimaja/Desktop/phaser-es2015-master 7 error Linux 4.0.0-040000-generic 8 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "build" "run" 9 error node v6.2.2 10 error npm v3.9.5 11 error path /home/ekeimaja/Desktop/phaser-es2015-master/run/package.json 12 error code ENOENT 13 error errno -2 14 error syscall open 15 error enoent ENOENT: no such file or directory, open '/home/ekeimaja/Desktop/phaser-es2015-master/run/package.json' 16 error enoent ENOENT: no such file or directory, open '/home/ekeimaja/Desktop/phaser-es2015-master/run/package.json' 16 error enoent This is most likely not a problem with npm itself 16 error enoent and is related to npm not being able to find a file. 17 verbose exit [ -2, true ]
  7. ekeimaja

    Empty Phaser ES6 template?

    When I ran that with Mozilla, console gives this error: SyntaxError: import declarations may only appear at top level of a module
  8. ekeimaja

    Empty Phaser ES6 template?

    Has anyone done or found blank ES6 Phaser template? All I have found, are just ready multiple state and gulp templates. ES6 is new thing for me, so that's why I'd wish to get just blank project template without multiple states etc.
  9. I have thinked about this now for a long time. So, if you have really great idea and you would like to begin developing it, what would be the time when you tell about it to public. If: Too early: someone steals the original idea and creates game before you. Too late: someone else invents the same idea and begins to create it. So would it be the best time in that point when you have something real to show, early sketches etc.
  10. ekeimaja

    How to make 2D-trampoline

    So I am now making 2d sidescroller, where player can jump with trampoline. But I cannot get it working as I would like to. I made it like this in Physics Editor: But because of using material, which enables bumping, it makes like with arcade physics. (RED IS SHOWING AREA WHERE I WANT IT TO LAND.) So, is there any solution to this? One possible is to cut that jumping area half, and put it together in game with constraints.
  11. ekeimaja

    [SOLVED] Why my game doesn't appear?

    Now I changed it to tileSprite, and now it works. Thank you all!
  12. ekeimaja

    [SOLVED] Why my game doesn't appear?

    No, still black screen. Now I got error Uncaught TypeError: e.create is not a function Earlier I haven't had any problem like this. 980x860 image is ok by its size?
  13. ekeimaja

    [SOLVED] Why my game doesn't appear?

    Now I removed that function, but it is still black.
  14. var RPG_test = RPG_test || {}; RPG_test.game = new Phaser.Game(640,640, Phaser.AUTO, 'game'); RPG_test.game = function () { }; RPG_test.game.prototype = { preload: function () { this.game.load.image('street', 'img/street.png', 980, 860); this.game.load.image('player', 'img/human.png', 50, 50); }, create: function () { this.game.physics.startSystem(Phaser.Physics.P2JS); this.cursors = this.game.input.keyboard.createCursorKeys(); this.game.add.sprite(0, 0, 980, 860, 'street'); this.player = this.game.add.sprite(400, 400, 'player'); this.game.world.setBounds(0, 0, 980, 860); this.game.physics.p2.enable(this.player); this.game.camera.follow(this.player); } When I try to run that, game area appears just black.
  15. ekeimaja

    How to put Phaser game into wordpress site?

    Now I moved main.js to others, error disappeared, but it shows just black.