mjjam1990's Recent Forum Activity

  • I have a simple game which involve drawing, and I would like to know how to add

    level ink bar that decrease when line is drawing.

    any help will be appreciated.

  • You do not have permission to view this post

  • Hi

    I am looking for a simple way to create a bar that will decrease whenever the user is drawing a line.

  • thanks man this capx was the answer for my question

  • hi, I am looking for a way to create a line by touching the screen and moving finger,

    I did this by using the event (is touching)---> (create object line)

    , but the problem it will create line just by touching, and I want to create the line when I am touching the screen and moving my finger in any direction.

  • Add two variables - previousX and previousY.

    On every tick check if Touch.X=previousX and Touch.Y=previousY. If not, this means that the finger has moved. After that save new touch position into these variables.

    do you mean two global variables, and what their initial value should be ?

  • I am working on game where you need to draw a line and there is a bar its width will decrease anytime you draw the line,

    I used (on create) event to this:

    on create line ----> subtract 1 from line_width

    (line_width) is the variable added to the bar width,

    the problem is the bar width will decrease if you just keep touching the screen without moving your finger and I want the bar with to decrease just if you touch the screen and moved your finger,

    and my question is can I check if I am touching the screen and moving my finger, not just touching?

  • thanks for the reply, but what the value of the gravity should be ?

  • I am trying to make a ball go up and then fall down, which behavior should I use to achieve this?

    any help will be appreciated.

  • Hi, I am trying to throw a ball up in specific position and then make the fall down, I tried doing this by using:

    apply impulse toward position(up)and

    wait 2 seconds

    apply impulse toward position(down)

    it works good but the problem is the ball keeps going down and I want to end the ball to go down if it hit another object, how I can do this ?

    any help will be appreciated.

  • I created a simple game with sound, I export the game to cordova and then compiled it to apk using cocoon.io website:

    cocoon version: 2.1.0 with engine Webview+ and canvas+

    the sound works fine at the beginning but then after two or three minutes the sound disappear in every layout and to make the sound work again I need to close the game and open it again.

    is there another way to compile cordova files instead of cocoon ?

    any help will be appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried your suggestion but still the same issue,

    I also noticed that when I press home button and leave the game in the background for a while and then return to the game the sound will disappear,

    and I need to close the game and open it again. I also tried canvas + and webview engine.

mjjam1990's avatar

mjjam1990

Member since 6 Mar, 2018

None one is following mjjam1990 yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies