How do I make fuction with UID Sprite.

0 favourites
  • 3 posts
From the Asset Store
Act on your instances, get/set their properties and variables only thanks to their UID. No more picking trouble! Plugin
  • hello guys,, i need litle help here..

    In my game a make one sprite(Spawn) when i click,, a sprite (balloon) spawn and set position round(Mouse.X/25)*25 round(Mouse.Y/25)*25.. true

    and when i click again the sprite has false...

    "balloon - boolean Drop it is true "

    Mouse on Left button Clicked on Spawn || Call "createballoon"

    Function | on "createballoon" || System Create object Balloon on layer 0 at (Mouse.X , Mouse.Y)

    Ballon is Drop It || Balloon set position round(Mouse.X/25)*25 round(Mouse.Y/25)*25

    Mouse on Left button Clicked on Balloon || Balloon Set Drop it to false

    now...

    i need to make a fuction when i click the sprite(balloon)

    • --> the spirte(Destroy) get the uid from the sprite(balloon)

    ..and when i click the spite(destroy)

    ---> the sprite(balloon) has Destoyed..or change color or start moving .. or drag and drop or change color or what ever

    ... but only the sprite(balloon)when i click not all..

  • This is not very clear to me. Post your Capx file or a print screen of what you have now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I still can not upload a image or file.. do you have teamview or skype? Send me a MESSAGE

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