I made a small game on js and svg using ractive.js in order to make it easier to interact with the elements on the page. But as it turned out later, ractive does not work with dynamically added elements and consequently the created enemy simply stands as a column, and the generation of these same enemies was not at all possible (or I just curved). Google did not give anything suitable. According to this, if anyone knows how to correctly generate elements and interact with them (change properties for movement, etc.) or there are links to useful articles, please skip it, I will be grateful, and then reluctant to step on the rake again.

  • If this is a dynamic game, then it is better to use canvas (and ready engines like phaser.js). - Vladimir Gamalyan
  • @VladimirGamalian as far as I understand, phaser.js has a lot of ready features, I would like to start peeing bicycles, and simpler. - user211866

0