Jump to content

Search the Community

Showing results for tags '10'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello, I'm new in Phaser world, and i've got some issues with kill(); and the code didn't work properly. I have 2 objects : player and enemy in the same group, and i use : game.physics.isoArcade.collide(group1); game.physics.isoArcade.overlap(player, enemy ,function(player, enemy) { player.kill(); });to destroy the player when enemy collide with him. The code it work only when the 2 entities are face to face. I'm sure that i missed a lot of things, but i need some help. I'm stuck ! I want to mention if i have a simple sprite instead of isometric sprite, the code works fine: game.physics.isoArcade.overlap(item, player, function(x) { x.destroy(); addItem(); });How can i make to destroy 1 isoemtric entity when both of them are collide, but when they are not just face to face ? Thank you in advance, and sorry for my bad English !
×
×
  • Create New...