0 Favourites

help

This forum is currently in read-only mode.
  • The starting situation is as attached in the .cap

    After the layout build up,

    i would like to move yellow arrows down,

    when they are out of screen,

    i would like to move the blue arrows up,

    when they are out of screen,

    i would like to move green arrows to the left,

    when they are out of screen,

    i would like to move the purple arrows to the right

    plz teach me how, ty

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Here's how to do it. The key is the comparison:

    CountMatching("Object") = Object.Count

    This means all of 'Object' met the conditions, so:

    + Object NOT on screen

    + CountMatching("Object") = Object.Count

    means 'None of Object are on screen'.

  • I have no idea where you find the time to do als this.

    But that was offtopic.

    So.. About 'the first help post"

    That countmach trick is COOL !

    But i have a question/remark to add.

    You did the "instance picking" based on there names, wich i knew was easy. But if i add a destroy thingie, "based on there names" compared with "if they are out of screen/layout", it will destroy the original objects too ? And i cant recreate instances from the orginal objects ne more ?

    Im not sure if i understand the general use of "the comparisation". Does it keep "the executor", i mean the "virtual japanees that does all the things" closed up in the event till the comparisation is met ? It acts as "do this action till my comparing returns fals" ?

    Its a loop ? Cant you point me to other usefull "if then loops" and "when then loops" that i missed so far? plz ! ?

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
157 12,693
megatronx's avatar
megatronx
Unread hot topic
0 Favourites
Kiira will help! :D
132 16,613
Kiira's avatar
Kiira
Unread hot topic
80 7,181
jobel's avatar
jobel