Toddler's Forum Posts

  • I used the Drag and Drop behavior on an item, I see that there is an "on Drop" action.

    How do I retrieve the target/sprite the drag and drop item drop on ?

  • Include Event Sheet is the best invention since Static function in the coding world !

    THANK YOU !

  • Ok, I have done that, now, how do I attach more than one event sheet with a layout ?

    One specific to the layout and one containing all the global functions for the layout to use ?

  • I create a function in an event Sheet and on the next layout, I want to call that function again.

    The Function Intellisense dropdown list list the function, so I select it, but I soon realize it is not being called at all.

    Why list the function there if it is not available in the event sheet and only available in the event sheet it was declared in ?

    Can I make a function global ?

  • isNaN () is the answer !

    Thanks Naji !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a IsNumeric() Function ?

    E.g IsNumeric(Ajax.LastData)

  • I just want to thank Ashley !

    Ashley you are really amazing !

    You created Construct 2 so that we can make games, but you ended up making it so powerful, I used it to create a full blown corporate Client Server SQL Read Write System with Construct 2.

    I wish I can show it here but I can't because it is for internal use.

    The next time someone says Construct 2 is only good for games....I would be raising an eyebrow.

    Again Ashley....Thank you...THANK YOU SO MUCH for making Construct 2 so generic and powerful, its full potential I have yet to experience.

  • All of you have been very helpful, pick nth instance is the way to go for me here

    Thank you everyone, the solution for my particular case is pick nth instance.

  • Hello LittleStain, I realize that IID is the way to go now, now the question now is:

    Is there a way to retrieve an object based on its IID ?

  • Can I have access to a textbox control by specifying its name and then set its text that way ?

    Example:

    getChildByName("txtName").text = "Banson";

  • This is easily accomplished with invisible sprites and I am doing it now all the time, it works.

    But I am just wondering...since this is SO common in Platform games you know...why doesn't maybe there is a trigger/behavior WHATEVER that would trigger a call [assuming it is a trigger] to tell the programmer to switch the enemy's direction when end of the floor is reached ?

    Or if this is behavior, it might have an auto mirror [horizontal mirror ofcourse] when end of ground is reached.

    Again not necessary, but if incorporated, I can see people using it IMMEDIATELY.

    Please make sticky if agree or else, sorry for my stupid idea

  • YES AnimationSpeed !

    Thank you Awesome Colludium!

  • I understand there is a way to find out whether a sprite is playing animation "xxx" but one can later issue a "stop" command to stop it at its frame whatever it is in the animation that it is currently playing it.

    Now...

    Is there a way to later fine out if it is currently not playing ?

    Yes again I understand there is a way to find out whether it is playing a certain animation, but is there a way to find out if it is not playing when it is in that animation ?

  • The browsers I test with on PC is Internet Explorer and Firefox, they ALL WORKED FINE

    I am very happy with what I see.

    The problem comes when I preview on iPhone 5's safari under wifi preview.

  • There is no resize code of any kind in my code.

    And why would "resizing" a sprite cause it to change to another ?

    Anyway, thanks for trying to help man

    It should be noted that it works PERFECTLY in PC.