GamerGon's Forum Posts

  • Is there a way to have global functions and global groups!? When working with more than one layout/event sheet it would be very helpful.

    I'm working on a mid-size project (1142 until this very moment) and I was forced to separate gameplay and screens on different layouts because the "code" was getting very "messy" having all in 2 or 3 layouts. Now the code is very clear but I have to repeat some minor groups of "code" (like switching the audio mute/not mute or changing frames for buttons to represent the hovering over effect) on every event sheet for every layout.

    Thank you for your time guys :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Until today, XML is not supported on CocoonJS. So...

  • Waiting for the update too!

    Still 1.3 version on Google Play.

  • It is not really a bug, but it would be useful to add it to point out that POST request can retrieve result just like GET request.

    Steps to reproduce:

    1. Add action

    2. AJAX

    3. Click on Post to URL

    Observed result:

    It says: "Make a POST request to a URL".

    Expected result:

    It should say: "Make a POST request to a URL and retrieve its content", just like Request URL (by GET).

    Construct 2 version: stable 126

  • Ohhh... good point.

    I'll try it.

    Thank you!

  • Is there a way to cancel the events after a wait action when some other event triggers?

    In my case, I have some fx sounds after a wait 2 seconds action that can trigger at any moment, but if the player losses between those 2 seconds I don't want to play those sounds (in queue to play), and want to play another sound only instead.

    My workaround was to mute those sounds by tag (like "muting a channel"), but I realize that they can't be muted if they are not playing at the moment (maybe that is a wanted feature for future).

    Thank you guys!

    Debugger, PLEASE.

    ... and better functionality and support for mobile devices export. I know this doesn't depends only of Scirra, but maybe you can be in touch more often with guys from AppMobi and Ludei.

    Thank you!

  • oosyrag wow! thank you... I will try it as soon as I get home and tell the results. Thank you very much.

  • Right now I'm doing it with a common instance variable/value for sprite B and C, so I can match father & child but I think it is not the best way...

  • Yiey!

    It works.

    Another question related:

    Is there a way to pick the father if the child triggers some event? for example, sprite B who is the child of sprite C is overlapping sprite X. I need to do something with the sprite C but I don't know how to get to it from its child.

    Thank you guys.

  • Cool!!!

    I will try it as soon as my OUYA arrives :D

  • But how can I use Pin Behavior if I can't pick the child (turret) when the tank is created?

    I need to access to the child element with events, actions, etc. but after the tank was created...

  • I've read scirra.com/manual/150/containers and it gives an example about tanks and turrets, but in fact it doesn't have the expected behavior because if I create a tank I want the turrent to move along with the tank and that does not happens. Am I wrong? I'm using containers for something similar and, when I create the father object (the tank), the child (the turret) is created too but it stays in its place when the father moves.

    If containers works that way, it would be great if the child would move with the father. I think it can be solved with the option "Automatically pin to father when created". I guess this isn't possible right now due to de imposibility to access to the father's son with triggers, events, actions, etc.

    Thank you all! :)

  • Just what I was looking for! Thank you TELLES0808 :) your capx was very clearly.

  • +1 :)