TouchiMedia's Forum Posts

  • 10 posts
  • It won't let me, it's greyed out... ???

  • My solution didn't work, I thought so cause collision happened quick. I will try the else.. thanks for that

  • Where do you find this else and if's statements?? I was trying to look for them...Thanks

  • I already figured it out.. damnit knew it, haha

    Basically, when call animation 2 - make a second frame with the original color. Don't have it loop. Call animation from beginning.

  • Sorry if this has been covered, I did a quick check on front page and didn't see much.

    I have two objects. I want it so when ObjectA is colliding with ObjectB , ObjectB plays animation frame 2 or a different animation.

    I know how to do this with Events.

    My issue is that I get it to change color, but stays that color even when ObjectA stops colliding. I want it to revert back to original animation/frame (different color basically).

    Is there a relatively easy way to do this , I can't figure it out.

    I've done:

    'ObjectA' 'is overlapping ObjectB' --> 'set ObjectB animation to "animation2/frame2"'.

    Within ObjectB's animation - I have two animations. Both consist of one frame. First animation is when they aren't collided (say black) then second animation is exact same but color green.

    I have also tried 'ObjectA' 'on collision with ObjectB' 'set ObjectB animation to "animation2/frame2"'.

    It switches but stays on that Animation/color even when objects stop colliding. I have also tried using animation frames but I don't want it to loop - as it makes the object blink from animation. I want it to stay on animation 2 or frame 2 while it's colliding, but revert to animation 1 or frame 1 when it stops colliding..

    Help - I probably made this more complicated then it needs to be..brain fart <img src="smileys/smiley18.gif" border="0" align="middle" />

  • I have the free version of Construct 2 so it only publishes to HTML5.

    But I noticed - everything works great except after the first few seconds when I Preview it in browser (Firefox) - the scene 'freezes' for a few seconds then resumes perfectly. From then on out, it doesn't freeze and everything runs smooth until I close session. Is this an issue that is caused by code or just because I'm in free version previewing in browser?

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Thanks everybody for the input.

    The community here really is helpful unlike some others that I have experienced.

    Cheers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was using another program, where I was encountering the same issues with balls clipping through collisions at seemingly random times.. but also notice when it was going at a faster speed , more specifically - a movable object colliding with a non-movable object, would clip. That's why I tried to use this program - but maybe these drag and drop interfaces are too basic to prevent such intricate detections.

    I will experiment more tonight, thanks all for the input. I didn't know this came up so often - I did a search and couldn't find much on the toss/fling stuff..

  • Thanks but I'm relatively new to Construct..

    What is disc.touchid? Where and how to change? What is var? declaring variable?

    I understand the very basics of Events Behaviors Actions.. I understand that 'isTouching' is a behavior and know where to find that. Same with 'onAnyEndTouch'..

    But everything else is vague to me as to what you are doing. 'var disc.touchid' 'var force' where to set this?

    Sorry for being a noob =} Thanks for the help , I do appreciate it

  • Greetings,

    I'm creating a physics based game and wanted to be able to grab an object, then upon release - have the object go forth with momentum based on my drag motion.

    I know there is a Grab and Drop behavior, but it just drops upon release - with no momentum.

    Any way to do this?

    Thanks for any help or input..

  • 10 posts