Luuthian's Forum Posts

  • 3 posts
  • Hmm, one more question...

    I made a red sprite and have it so that when I touch an area within the red sprite the player will accelerate on the X plane towards the position of the touch input. My problem is I cannot make the sprite stop movement as soon as it is parallel to my touch input.

    I've tried making a "When sprite is at 0 angle to touch.y input stop moving" command but no luck :(. Any suggestions?

    And I'm sorry for asking noob questions. So new to programming...

    PS: I'm trying to make my character move like a platform would in a brick breaker game. Only the character cannot magically appear at an X coordinate. He must move to X and then stop.

    Here's what I'm using from a tutorial but I need him to move ONLY on an X plane, left to right from his starting position.

    imgur.com/v9A2yQY

  • Wow, I'll try all of those and see what's best then. Thank you so much everyone :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I'm trying to make a game similar to a vertical shooter, but I need to constrain the player sprite within a certain boundary. I also need to make the player move based on the placement of the mouse or a finger.

    The best example I can think of is iOS shooters like the Cave series of games or Space Invaders Infinity Gene.

    Here's a shot of what I have so far:

    imgur.com/rFO9hrE

    I need to make the mouse work within the red bar only and I need the player sprite to move only left and right and not move past the green area.

    What would be the most effective way to accomplish this? I've tried the space shooter tutorial and the top down shooter tutorial but neither of them cover this :(.

  • 3 posts