StrangeyD's Forum Posts

  • ah ok ill try that now thanks for the reply.

  • I have been messing around with cannons and I have managed to get the cannon set to when the player touches the screen and a button to fire it, but when I click the fire button the cannon resets its angle to the direction of the button.

    At the moment it looks something like this:

    • Touch - is touching Background : cannon arm - set angle towards- touch.x touch.y
    • button - on click : ball - set angle - Cannon arm.angle degrees

    Anyone know why the angle resets to its starting position when I press the button?

    Any help appreciated

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have seen various other posts about knockback but all of them near enough was about the enemy being knocked back but I want the player to be knocked back depending on which side of the obstacle he is hitting it from.

    like as if the player is hitting a bomb if he is on the left to get knocked back to the left and same for the right, top and bottom.

    Any ideas?

  • Taking a look now.

  • Oh wow that's awesome, never would of thought of doing it that way.

    Thanks for taking the time to do this!

  • Nevermind about the layout viewer question im dumb i found the zoom lol

  • So say i have the scrolling set to player, i should set it so when he gets to a certain x or y disable the scrolling, then reactivate when back in acceptable values.

    I will give it a try now.

    Also is there a way to make the layout viewer window larger, like if you were designing a game which the level goes to the right, you would need to be able to see all the way to the end of the level to check and place objects, at the moment the layout viewer stops and wont go any further.

  • I have the unbounded scrolling turned on to use the scroll to behavior but there are certain parts of the layout I don't want to be able to scroll over.

    Is there a way to do this?

  • ah ok I will do it now thanks

  • Thanks for your replys greatly appreciated!

    Wow the unbounded scrolling worked a treat, works great now so that problem solved thanks a lot!

    C-7 - I have set the position every tick but the particles are coming out of the middle of the character instead of the back but I don't think I quite understand image points, I want the particles to come out of the back, but when I adjust the values of image point It stays the same.

  • I am currently experimenting with having the camera follow the player as it moves along but the scroll to is not working for me, I have set the behavior to the player and when I preview It doesn't follow the player.

    When the player goes of screen it doesn't follow, the player just goes off the screen.

    Also another little question I will pop in here instead of making a new thread, I have particles following the player but they are coming from the wrong point, when I try setting the image point to different values it stays in the same place am I missing something?

    Any help would be greatly appreciated!

  • henriquesv StrangeyD

    I've covered some tests .

    That's awesome, really helpful!

  • No I haven't currently had the opportunity to test it on such devices but hope to in future.

  • In the Touch parameters you can find accelerometer controls using:

    • Alpha(compass control)
    • Beta(Up & Down)
    • Gamma(Left & Right)

    Hope that helps a bit im still learning the program myself, but found this earlier while I was experimenting with different control schemes.

  • Thanks worked a treat, Im experimenting with the pov top down view and that's just what I needed it to look like so you get a good effect from the falling.