ElChuchis's Forum Posts

  • Yes, lots. A search for laser will give a lot of examples.

    Here's a recent one I did:

    reflecting-laser-beams-off-surfaces_p1028214?#p1028214

    Can you save this example for old versions like 208... pls

    EDIT: I managed to open it. Thanks youu nicee laserr reflections

  • There are other way to do this without arrays... ?

  • Hello guys! I am making a 2d top down view space simulator game, and i need a laser canon. But i have no idea how to make it.

    Example:

    gyazo.com/f8d6e0bd42cc1cb83d8249ec3f2d7576

    Thanks youu all!

  • Thanks you BlackHornet but I already changed my inventory type to one more simply and easy to do. So Thanks youu Black I ll have present it!!!

  • Hello guys! I made an inventory X and all works well, but nowadays I am working in a XY inventory but these dosnt works well because when i collision with the object for pick up, the frame of the slot don't change to the frame of the item. (srry about my english)

    There some photos:

    Array on sheet:

    gyazo.com/95ead28a0236e8dc9f78c486f5b94a99

    Array propertys:

    gyazo.com/1dd3cb91ae2ca6fa1651bf59513ac66d

    Gift working:

    gyazo.com/0f061bc3f46205eece7325eb580ecfd0

    TY ALL!

  • OK, problem solved. I delete "For each"

    gyazo.com/bad90884ff6b5a35ecb70f842a9727e3

  • Still not working, check what i changed:

    gyazo.com/c37fac9686efb9b501a84d9901894dd3

    Check effects (only one of the ships move):

    gyazo.com/74c7ff5f1dba98a39fd60dbc4c05dac3

    (Can't put pathfinder as subevent)

  • Thanks you! But you know whats happening¿? (Sorry for my english)

  • This lines of code only makes work well one of the 4 ships. How can i do for these lines affect to all ships.

    CODE:

    gyazo.com/79d7796d4a819bb3ad35427e95bf6514

    Thanks you all!

  • You're welcome, I'm really glad to help and happy to see you find a solution! Oh, and where it says "Pick instance with UID pot", "pot" is just the global variable's name.

    I.e, if it were to say "Pick instance with UID tent", "tent" is the name of your global variable you're using.

    Result:

    gyazo.com/622b2073553839a88abc279cd95bd21d

    yeaah! I understood that pot early! THANKSS!!

  • I couldn't wait to try it and.... tatatatatatata ITSS WOOOORKKSS THANKS YOUUU !!!!!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • what do you mean with "pot"

  • I've run into a similar problem and might have a fix just for you.

    If I'm understanding correctly, you're spawning new instances and want to grab only the one spawned?

    Create a global variable (or with an array, store the "int(Object.UID)" to that, a suggestion if you've learned arrays yet), and right after the new object is created, set the global variable to:

    int(<ObjectName>.UID)

    i.e:

    int(Tent.UID)

    If you do this right after a new instance is spawned (such as when you tell C2 to spawn one), it will pick the UID of the newly spawned object.

    In your other events, set an extra condition along the others to pick the UID of the newly spawned object (the one being selected with the mouse? I'm trying to understand your event logic so mind my attempt to help somewhat here), except with that, set the picked UID's value to the global variable name.

    Here's a visual example of what I mean:

    Thanks youu! I didnt tried it yet but i am sure that will works!

    Thanks, tomorrow i am going to do this!!

  • I'm going to guess that the previous instance isn't disappearing, but after you make a new instance, both of them get set to the exact same spot.

    What is the purpose of the second event running every x seconds? This is what is causing all the instances of your tent objects to be set on the same spot.

    Oh no! not that. The every x seconds is showing to the player where is going to place the tent.

  • Because that is the rules of this forum, and I need to moderate the posts, which I cannot do if they are not in English.

    Ashley has stated many times that all posts must be in English or have an English translation.

    If you wish to post in the open forum, then follow the rules. Otherwise, just use email and bypass the forum entirely.

    There may also be a native forum for you if you check the following topic:

    https://www.scirra.com/forum/non-english-communities_t66217

    Vale, entonces voy a traducir mi mensaje para la gente que no importa lo que dije

    OK, then i will translate my message for people who don't matter what i said