Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › How to create an entity at another entity


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20130



    I have been trying to create an entity(an explosion) the x and y but it won’t work. I have one entity that collides with another and one of them when starts and functions that are supposed to create an explosion where the enemy entity was. i have:


    function spawnExplosion () {
                getEnemyIdX = Asteroid.asteroidPosX
                entityManager.createEntityFromUrlWithProperties(Qt.resolvedUrl("Explosion.qml"), {"x": Asteroid.asteroidPosX, "y": 100})

    I know i only have the x position but wanted to try it, am i all wrong here? How is the best way to create an entity on the same position as another?




    Felgo Team

    Hi Isak,

    As this is a very use-case and project specific question, we can only help with dedicated coding support, or e.g. develop features for you! One of our devs can take care of it with the purchase of a support package. Just get in touch at


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.