JP91

Members
  • Content count

    112
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    JP91 got a reaction from Cawrtz in createFromObjects - unable to apply CollisionGroup   
    if I'm not mistaken you must create a collisionGroup and then setColissiongroup
  2. Like
    JP91 got a reaction from diegoalmesp in game.debug.renderPhysicsBody(sprite2.body); giving error object has no method renderPhysicsBody()   
    phaser 2? is game.debug.body(sprite.body)
  3. Like
    JP91 reacted to remvst in How easy is it to start gaining revenue?   
    Some people have claimed to make lots of money with pretty bad games, so even the quality doesn't matter that much sometimes.
     
    If your main goal is money, I would recommend getting somebody to do really nice graphics for you so you would only have to care about a simple game mechanic.
     
    If your main goal isn't money, then just have fun and try to make stuff that people enjoy playing.
  4. Like
    JP91 got a reaction from hugo in collision problem   
    try remove o modify the "tween".
  5. Like
    JP91 got a reaction from hugo in collision problem   
    ??game.add.tween(cloud.body)
  6. Like
    JP91 got a reaction from anhma282 in Audio is not working on Phaser game wrapped by PhoneGap   
    so is or maybe modifying the loader, I'm thinking about using phonegap with the phaser so trying, what I can say is that this api is working well in android.
  7. Like
    JP91 got a reaction from anhma282 in Audio is not working on Phaser game wrapped by PhoneGap   
    after you have enabled the plugin,you just have to do: var audio = new Media('/android_asset/www/m1.wav');---> audio.play();or this---->http://chrisgriffith.wordpress.com/2014/04/01/edge-animate-phonegap-build
  8. Like
    JP91 got a reaction from anhma282 in Audio is not working on Phaser game wrapped by PhoneGap   
    I do not think the error is in phaser. mmmm... you aren't using the Media APIs? ,used a little bit console, do not throw any error?
  9. Like
    JP91 got a reaction from anhma282 in Audio is not working on Phaser game wrapped by PhoneGap   
    that error is another file type? ehh I guess you changed the file,this path change much /android_asset/www/sounds/ or /android_asset/www/audio/. mmmm.. the problem is very frequent attempts to load the audio directly without the api.
  10. Like
    JP91 got a reaction from anhma282 in Audio is not working on Phaser game wrapped by PhoneGap   
    is a problem using these wrappers. mmmm... perhaps where the source of sound are located within android-asset.
  11. Like
    JP91 got a reaction from anhma282 in Audio is not working on Phaser game wrapped by PhoneGap   
    what kind of format you are using?
  12. Like
    JP91 got a reaction from valueerror in i made a jump-through-from-below moving-platform with P2 - your thoughts please   
    here is the platform with materials.I think I could other methods such as distance and area but good used yet.
    https://googledrive.com/host/0B2Br6oKX-RFNRWI3NjFGcjJjQms/plataforma.html
  13. Like
    JP91 got a reaction from sthorin2014 in Generate infinite falling objects   
    try testsprite.body.x = game.world.width-128;
  14. Like
    JP91 got a reaction from blackgames in Arcade overlap / collision bug   
    collision bug? this work for me...
    game.physics.startSystem(Phaser.Physics.ARCADE);
    this.player = game.add.sprite(x,y,"nameImage")
    game.physics.arcade.enable(this.player);
    this.object = game.add.group();
    this.object.createMultiple(5,"nameImage");
    game.physics.arcade.enable(this.object,true);
    //new object
    function new (){
    var any = this.object.getFirstExists(false)
    if(any){
    //some
    any.x
    any.y
    any.reset()
    }
    }
    //UPDATE
    game.physics.arcade.overlap(this.player,this.object,this.callback,null,this);
    callback(a,{
    //some b.kill(), b.y+=100...etc
    }