Deluxepepsi's Recent Forum Activity

  • Thanks guys for taking the time to help! That was exactly what I needed and I think I get how it's done now

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there!

    I have a question that I hope some of you can help me answer, unfortunately I do not think it is as simple as I would like it to be.

    So, I'll try to explain it to the best of my abilities.

    I have a player character at the bottom of the screen which needs to run whenever the player uses his finger to drag and drop. The character should only be able to run left and right horizontally. I would like for the player to have the ability to touch the character sprite, drag his finger to where he want the character to move, and when he lifts his finger the character should run to the point where he let go.

    The only important thing is that the character doesn't move instantly but runs to where the player dragged his finger to.

    Unfortunately I can not seem to figure out how to do this myself as I am quite new to the Construct environment.

    I hope that you can make sense out of my ramblings, thank you for your time!

  • I see, thanks korbaach!

    The support in this community continues to amaze me

  • Alright! Sorry for being so new to this but how do I multiply the variable?

    And thanks for the quick response, RayKi!

  • Hi there!

    I am trying to figure out how to change the direction of my sprite.

    In the game the player character is always running at the bottom of the screen, changing direction whenever he hits the layout edges. Now, he needs to also change direction whenever the player taps the screen. What I have done so far is creating an instance variable called direction and then have the sprite run to the right whenever the variable is equal to 0 and to the left when it is equal to 1.

    I've tried changing the value of the direction variable on tap based on the current value of it, so that on tap subtracts 1 if the value of direction is equal to 1, and adds 1 if the value of direction is equal to 0.

    This seems to work perfectly but I can not make the on tap event both add and subtract from the direction value, or can I?

    Thank you for taking the time to read this!

Deluxepepsi's avatar

Deluxepepsi

Member since 25 Oct, 2012

None one is following Deluxepepsi yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies