Adding Sprites

0 favourites
  • 3 posts
From the Asset Store
Build your map with these isometric objects and terrains
  • I am needing to add a sprite a specific number of pixels away from my character Sprite. For some reason I can't quite figure this out. Any advice is appreciated!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Pin the Object to your Character. Then on the X and Y sections set + or - how many pixels you want.


    Hopefully this image will be able to explain what I was trying to say. As you can see below, Every Tick "Sprite 2" will set its position to the position of the "Bush". Now we just want "Sprite 2" to be ahead of the "Bush" so we add +50 to the X value of "Bush". I also want "Sprite 2" to remain on the same level as the "Bush" so I will leave the Y value, as is. Hope this helped.

    More specifically, you can replace EveryTick and use whatever event you want. OnTouch for example, you could SpawnNewObject.

  • Oh, I meant that the sprite is added a specific distance away and then dropped there. It shouldn't follow my character. Sorry for the confusion.

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