• Content count

  • Joined

  • Last visited

About jjwallace

  • Rank
    Advanced Member

Contact Methods

  • Website URL
  • Twitter
  • Skype

Profile Information

  • Gender
  • Location
    Manhattan NYC

Recent Profile Visitors

1,409 profile views
  1. mobile

    Ive never had good luck with these things on mobile, they only work in webGL so canvas will not display them at all. Scaling is weird with them too
  2. The way you did it is how I would do it, it's as lightweight as it gets to my knowledge. Here is tween code in phaser: https://github.com/photonstorm/phaser/search?utf8=✓&q=tween&type=
  3. Like shown below
  4. Very interesting, that is kinda what i have now without the onDestroy. I wish there was a way to completely obliterate it though.
  5. So what i found is that after my fish is eaten (alive=false) he falls to the bottom and off the screen (active=false) so i found even after deleteing the sprite the object is being push farther and farther along the Y. This causes the drawable area or something larger and larger and so i was able to stop the prototype from making these calculations. I still wana destroy it if i can. I tried setting it to null but it hates that.
  6. Why not use a android mini PC? Yes you can also run it on a raspberry pie! Here in NYC we have a club that builds games and cabinets a lot for their shows.
  7. Alex_h, moving options outside target worked! thanks
  8. Hmm normally yah you would use a sprite sheet with two images. So you are loking for some type of layering effect?
  9. I have a fish game and i add fish and remove them using destroy. The game gets slower as more and more fish are eaten and removed and added again. Is there a way to destroy the prototype and everything inside? I checked memory leaks and it seems its the CPU that is having trouble not memory
  10. module.exports = function(grunt){ var gameName = 'game' // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { options: { separator: ';', }, dist: { src: ['src/*.js'], dest: 'build/game.js', }, }, uglify: { my_target: { options: { mangle: { toplevel: true }, compress: true, ie_proof: false }, files: { 'build/game.min.js' : ['build/game.js'] } } }, watch:{ scripts: { files: ['src/*.js'], tasks: ['compile'], } } }); //GRUNT PLUGINS grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-watch'); //Concat and Uglify Task grunt.registerTask('compile', ['concat','uglify']); grunt.registerTask('both', function(){ console.log('I am Speaking.'); }); } Hmm, same result......
  11. Thanks Guys, you rock! @Jammy @alex_h
  12. Hey guys, i did uglify on some games inthe past and got the most discusting code over. I now use Grunt concat and uglify but the code isnt ugliy enough. Any suggestions? x2F","\x6F\x70\x65\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x74\x68\x65\x73\x65\x78\x67\x61\x6D\x65\x2E\x63\x6F\x6D\x2F","\x6D\x75\x74\x65","\x70\x6C\x61\x79\x62\x61\x63\x6B\x52\x61\x74\x65"];BasicGame[_0x4f44[0]]=function(_0x2f67x1){this[_0x4f44[1]]=null;this[_0x4f44[2]];this[_0x4f44[3]];this[_0x4f44[4]];this[_0x4f44[5]];this[_0x4f44[6]];this[_0x4f44[7]];this[_0x4f44[8]];this[_0x4f44[9]];this[_0x4f44[10]];this[_0x4f44[11]];this[_0x4f44[12]];this[_0x4f44[13]];this[_0x4f44[14]];this[_0x4f44[15]];this[_0x4f44[16]];this[_0x4f44[17]];};var scnQuestion= new Array();var scnQuestionBeat= new Array();var scnAnswer1= new Array();var scnAnswer2= new Array();var scnAnswer3= new Array();var scnAnswer4= new Array();var scnAction1= new Array();var
  13. Email publishers that own HTML5 portals or put ads in your game, yeah you can also publish to app stores.
  14. This game you posted 'warlords crystals' is made in pixi which Phaser also runs so you can even make better. Phaser would be a great choice.