mc15's Recent Forum Activity

  • Hi,

    I have written a program in which, while condition is true I am calling a function named play() with using (is in touch).

    I am calling different audio .ogg files added in music folder and calling from XML. XML is used to tell where and which audio to play.

    Now in play() function I have an if condition where, while (sprite1 is touching) play some set of events. There are many events and also wait calls with many other functions (Note all in play() function with using (is in touch)). Everything is working fine but when I am calling audio from the other functions they are not played as planned. Reason I found is (is in touch) is not true now as I have removed my touch from the sprite and still many other events are pending to be called.

    I guess this is the issue as when I touch the screen anywhere it calls the audio. But also still there are other functions and events which are after the audio are played. Is this a bug or I am doing wrong or is any other way to do this.

    Regards,

    Manu

  • Hi,

    I am using lerp to move my sprite1 between different image points. like zoom in on one image point and move between different image points. But I am not able to find how to change image point in event sheet. Even if I get to know how to change values of image point in event sheet that will do. Please advice.

    Thanks,

    M

  • Thanks Korbaach that is a great help. I am making a mistake of not using // and not getting this result. That's a great help.

    Cheers

  • Yes exactly. I am not able to do this in Construct 2 but after exporting the HTML5 output I can change code but I want it natively. Please advice.

  • Hi,

    I am able to call image by adding an image in files folder and by calling in a sprite from 'load image from URI' but I want to do this through XML as I am able to call text and audio from XML but not image.

    In simple terms I want to put images in file folder and call from XML when required like this.

    <question>

    <sound>face.mp3</sound>

    <text>A face.</text>

    <good_image>face.png</good_image>

    <bad_image>leg.png</bad_image>

    </question>

    Also in files folder creating subfolder and calling image from URI is also not working. This also my main concern to call from XML.

    Regards

    M

  • Hello,

    Please help me in this. I need to save recordings from microphone.

  • Hello,

    I want to record and save user microphone input as mp3 or wav file on server to access it in realtime for play in the same layout. I don't find any tutorial for this. Please help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just remember the starting cords of the object and on object release check if new position is wrong or right. If it is wrong then use lerp function or simply Move at angle. Depends what do you mean by "smooth"

    Hi BackendFreak,

    Can you write lerp function for me. My sprite actual position is 577, 480 and need to drag it back to it's actual position from 833, 192. I am creating a drag and drop game and when user drag the sprite to wrong choice then sprite get back to its actual position with a smooth transition effect.

  • Hi BackendFreak,

    Can you write lerp function for me. My sprite actual position is 577, 480 and need to drag it back to it's actual position from 833, 192. I am creating a drag and drop game and when user drag the sprite to wrong choice then sprite get back to its actual position with a smooth transition effect.

  • Thanks for the advice. I have figured it out myself this time. Once user registered his choice system will disable all the option sprites for 2 seconds and enabled again through a function.

  • Hello,

    I am working on a drag and drop game and need a smooth transition to get sprite back to it's actual place if user drag the sprite to wrong choice.

  • Hello,

    I am making a choice game and when user click on one choice user get a message (right or wrong) and that message take 1 second. That can be done with the help of wait. But how to disable user input for that time. As user input is enabled and user can click on choices immediately and this will spoil the logic. Please advice.

mc15's avatar

mc15

Member since 24 Dec, 2015

None one is following mc15 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies