Jump to content

Search the Community

Showing results for tags 'kill sprites'.

  • 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 doing a menu that is this: if(enterButton.isDown && player.x > 172 && player.x < 315){interfacel = game.add.image(50,100,'lojai')texto = game.add.text(360,160, "Loja", estilot);cvidas = game.add.button(100,240,'lojao',this.comprouvida,this,1,0);coracao = game.add.sprite(120,260,'sprites','coracao1');cescudo = game.add.button(100,350,'lojao',this.comprouescudo,this,1,0);escudop = game.add.sprite(120,370,'sprites','escudo')tvidas = game.add.text(180,260, "Comprar uma vida 10", estilot);tescudo = game.add.text(180,370, "Comprar um Escudo 6", estilot);voltar = game.add.button(500,520,'voltar',this.fecharloja); }and if i click in that button ''voltar'' i put that will destroy like this: interfacel.destroyor that interfacel.killbut none of them disappear with the images how can i do that?
×
×
  • Create New...