Create particles on Image Point

0 favourites
  • 2 posts
From the Asset Store
Connect the dots in the correct order and draw happy animals!
  • I have a particle effect called Steam that I want to play when a user clicks on an event.

    I want the particle effect to appear and be centered on two image points on a sprite. The image points are called Image Point 1 and Image Point 2.

    I currently have:

    Touch > On any touch start > steam > ???

    Any ideas how to implement this?

    Thanks all :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • In my opinion, why don't you add imagepoint3 ?

    If you really want to do that, there is a solution :

    var dist = distance(Sprite.ImagepointX(1),Sprite.ImagepointY(1),Sprite.ImagepointX(2),Sprite.ImagepointY(2))/2

    var angl = angle(Sprite.ImagepointX(1),Sprite.ImagepointY(1),Sprite.ImagepointX(2),Sprite.ImagepointY(2))

    Create Steam at

    X : Sprite.ImagepointX(1) + dist * cos(angl)

    Y : Sprite.ImagepointY(1) + dist * sin(angl)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)