shepherdgames's Forum Posts

  • fr0z3n Yes, I did. Only one circle with finger 1 is working.

    Here is the code I used for one finger,

    I created a transparent barricade 1 to make the Circle1 to stop at that position

    if -> Circle 1 is overlapping Barricade1

    -> is in touch -> Circle 1 set position to (Touch.X (0), Circle.Y)

    I created barricade 2 to set the Circle1 to position to the finger1. When the finger1 touches the barricade 2, Circle1 will be moving along with finger1.

    if -> is in touch

    -> touch is touching Barricade2 -> Circle 1 set position to (Touch.X (0), Touch.Y (0))

    I used the same technique for Circle2 with finger2 but it is not working, I don't know why.

    if -> Circle 2 is overlapping Baricade1

    -> is in touch -> Circle 2 set position to (Touch.X (1), Circle.Y)

    if -> is in touch

    -> touch is touching Baricade2 -> Circle 2 set position to (Touch.X (1), Touch.Y (1))

  • Hi,

    I could solve this problem using one finger. Now, I want the same to happen using two fingers which brings two circles. I defined the same code of one finger for two fingers as well as but I'm not sure where it went wrong, only the circle with one finger is working while the finger with second circle isn't working.

    Could you please help me with this? 99Instances2Go

  • Kraudi

    Removing and re-adding the sound has solved the issue. Thanks for your help.

  • oosyrag It is working fine, now. Thanks again for your help.

  • oosyrag Oh, is it? I Didn't know that. Thank you so much.

  • oosyrag I used Letterbox Scale. Do I have to do anything to fix it?

  • arturosanz Thank you. I will look into it.

  • Hi,

    I'm developing a game for iOS. In that, I inserted two textboxes for user entry of credentials. After I run the game on my phone and when I touch the textbox, the screen window is becoming small the way it does when the keyboard comes up?

    Please help.

  • Kraudi

    Yes, I have .m4a and also .ogg files for all sounds. I don't understand why it isn't working properly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Kraudi Thanks a lot man. Now, I don't any issues with the sounds. They are being played on the start of layout without any user interaction. But for some reason only one sound is not being played. It is playing fine on the desktop and android versions. Below is how I defined the evens

    On start of layout ->

    IF -> has bonusLife -> Play Sound 1

    If -> Game over -> Play Sound 2

    The sound 2 is not being played even though the game is over. I find this issue only on iOS.

    Please help.

    Thanks.

  • horoblast Sure, my friend. Thank you so much for your help.

  • Kraudi Wow, thanks. Your suggestion has directly answered my query. I will try it right away. And yes, I imported all the sounds into the music folder. Now, I will import them in the sound folder and run the game.

    I will let you know what has happened.

    Thanks again.

  • horoblast Thanks for links. Yes, I added the music on start of the layout and it is in loop. When I run the game on my computer, It is working fine. Every sound is being playing according to the requirement but when it was run on my phone, the sounds aren't being played until and unless I tap on the screen. I'm not sure where it when wrong.

  • Hi,

    I'm developing a game for iOS and android. In that, I added sounds for every screen but the problem is these sounds are not being playing unless and until I tap on the screen. Also after closing and reopening the game, I hear distortion in sound quality.

    I use Intel XDK to build the app. Please help, I'm not sure why this is happening.

    Thanks in advance.

  • 99Instances2Go Not exactly but it is close to what I asked. Thank you so much for the example. Learned new things.

    The problem was solved.