Jump to content

Aicha

Members
  • Content Count

    1
  • Joined

  • Last visited

About Aicha

  • Rank
    Newbie

Contact Methods

  • Twitter
    @LouraghiAicha
  1. Hello everyone , im sorry for my english so im pretty new to phaser3 and i want to create educational coding game for kids using typescript ,the kid should drag the arrows and drag them into places and then hit the button run so i declared an array to stock every arrow (image) that he dropped and then when run is clicked, i itterate the array and in function of the image's name the sprite get animated my code looks like this : //paly is the run button // this.play.on('pointerdown', () => { for (var i = 0; i < array.length ; i++) { console.log(array);
×
×
  • Create New...