0 Favourites

How do I make fuction with UID Sprite.

  • 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.

  • Construct 3

    Buy Construct 3

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

    Buy 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)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Sprite Font Generator - v3
368 112,280
RetroDaddy's avatar
RetroDaddy
Unread hot topic
167 14,489
DMT2005's avatar
DMT2005
Unread sticky
1 Favourites
C2 Games made with CocoonIO
136 89,815
minhcuong's avatar
minhcuong