Madclaws

Members
  • Content Count

    21
  • Joined

  • Last visited

About Madclaws

  • Rank
    Member

Recent Profile Visitors

492 profile views
  1. Madclaws

    How to move the mask of a sprite ,with the sprite

    @samme Yeah it worked.Thanks a lot .
  2. Madclaws

    How to move the mask of a sprite ,with the sprite

    @samme You mean ,I have to do first like this -> sprite.mask=_mask; then sprite.addChild(_mask); where "_mask " is the mask.
  3. Madclaws

    How to move the mask of a sprite ,with the sprite

    @samme In sprite.mask.
  4. Hi guys, I'm facing a problem.I have a leaderboard .The profile pic in those should be rounded masked.So I put mask for all profile pics.But when i scroll leaderboard ,masks are not moving with respect to their sprite.Please help guys.Its urgent
  5. Madclaws

    non chinese community for EGRET game engine??

    hi @PixelPicoSean, Thanks for replying and offering your help.I decided to go forward with egret.
  6. Hi guys, I read about egret engine(chinese engine) a week before and installed it.But i couldn't find any game dev community in english. If there is any community or somebody using it.Please Reply.
  7. Madclaws

    Player Movement with Physics not working! HELP

    why are you extending player class with phaser.Sprite.You Can add a _playersprite variable (of Phaser.Sprite type) in Player class (as a property) and return the Player object.Then access the _playerSprite property in play state.
  8. Madclaws

    Player Movement with Physics not working! HELP

    did u check "player.body.velocity.x"
  9. Madclaws

    Collision mask in Phaser

    @in mono What i was trying to say was if we could implement colliision polygon(or somewhat emulate) it in arcade will be nicer.
  10. Madclaws

    Collision mask in Phaser

    i was saying ,if we could import that collision polygon feature from p2 to arcade,then it will be nice.
  11. Madclaws

    Collision mask in Phaser

    hi @in mono, i know that feature is in p2 .But including p2 just for that collision polygon is inefficient for me
  12. Madclaws

    Collision mask in Phaser

    hi @Papz, Above example is about masking the sprite(making invisible when the sprite goes down).I'm talking about collision polygon/collision mask for better collision, when we use shapes like hexagon,triangle etc..
  13. Madclaws

    Collision mask in Phaser

    hi guys, Why there is no collision mask (like in construct 2d) in phaser.I think that will be a good feature.
  14. Madclaws

    Showing body of a group of sprites in debug?

    game.debug.physicsGroup(Group); inside render function.
  15. Madclaws

    arcade.collide() not working as expected.

    hi, Ok i got the problem.When dragging i am actually changing the x,so there is no physics involved in collision. So i apply velocity to move the object instead of changing x and now physics collision is calculated.