sd-sebbie's Forum Posts

  • 13 posts
  • Hi,

    I'm trying to make the character move left and right using sprites which are at the bottom of the screen.

    When I try to setup the triggers which say Hold touch on this object (being the left or right button) action move character left or right.

    This works however, the character doesn't actually move. Only the animation of moving is working the character just stays in place. (Screenshot of Triggers)

    Then I tried creating a in touch trigger (attached screenshot below) and the character moves with animation. However, this makes the entire screen touch which won't work when I want pop ups or other interactions to appear.

    What would be the best approach to make this work? Any help would be greatly appreciated.

  • Thanks I got it figured out after looking at the ScrollTo behaviour.

  • Hi,

    I'm new to construct and trying to figure out how I make the character move forward while matching the background.

    So what currently happens is the character would start walking but the background stays in the same position and does not move. I've tried using the unbounded scrolling however, that causes some weird effect which drops the screen half way.

    (unbounded scrolling enabled)

    (unbounded scrolling disabled)

    Can anyone provide some guidance on how I can make the character would while also matching the background?

    I tried looking at the behaviours functions for scroll to but I don't understand how to use it and there isn't many tutorials or guides online to provide support.

    Any help would be greatly appreciated.

  • Hi Dop,

    Thanks for coming back to me.

    Really sorry for the horrible explanation.

    Simply I have a background which I've designed on photoshop and the height is 7806px and width is 640px.

    The game canvas size is 720x1280 and I scaled the background to that size. The idea I have is when the user jumps higher the background moves. Apologies if that's a repeat of what I wrote before that's as simple as I can explain it.

    With the parallax effect what settings would I use to make it so when the user gets to the top of the platforms it moves.

    Below is the full view of the game in portrait mode. So the user will only see 720x1280 and when they slightly reach the top platform the background moves slowly slowly to match that. New platforms forms once they reach the top.

  • This is what I've tried so far.

    • I created a background (Height 7806px and width is 640px)
    • Used a background tile object, placed it and then scaled to the game size (720x1280).
    • Then changed the image offset Y to -6700 which shows the bottom of the image.

    Is the game events I created a action for Tick and the background Y Offset would move when the character jumps. But it doesn't move.

    So far have I done this correctly?

    I would like the background to move when the character slightly reaches the top and if they miss and fall the background will move with the character and reset.

    Any help or guidance would be appreciated.

  • I'm guessing what I'm trying to do is not possible?

    Been trying to do this all weekend and still can't figure it out.

  • You do not have permission to view this post

  • Ohh it's that simple haha.

    Thanks for the help it worked.

    Sorry I'm new to construct so I'm just playing around with everything.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just to give a bit more information about the background and what I've done.

    The height of the background I created is 7806px and width is 640px

    I created a background tile object and then inserted the background and then scaled it to the game size (720x1280).

    Then I changed the image offset Y to -6700 which shows the bottom of the image.

    So far have I done this correctly?

    Now I want to make the background move when the character jumps on the platforms and when the character falls. The view falls with the character and resets.

    Any help to do this would be much appreciated.

  • I saw another thread which had some answer but I couldn't reply because it was 6 years old.

    I created a long background on Photoshop which has different sections to the design.

    How do I add the background so that when the character jumps up it goes higher and higher. What I did was create a Sprite which has the background but when I went to preview the game it said the background was to long so it couldn't be displayed on devices.

    So I must have done something wrong.

    Any help would be greatly appreciated.

  • Silly me thanks for confirming.

    Thank you for the help :)

  • You do not have permission to view this post

  • Does the trial plan for Construct only allow one audio file only in the game?

    I'm trying to add another audio object but it's not visible in the window.

  • Hi Alex,

    Thanks for the reply.

    I'm slightly confused with the Boolean. Could you give an visual example on how this is setup?

    This is the current code which make the character reset from they fall from the viewpoint of the game. So at the start of the game the character immediately falls through. I tried using a Spirit (Platform) to stop this and it works. But it seems to cause jumping issues.

    If you could help explain how to add the boolean to my setup would be greatly appreciated.

  • Hi Everyone,

    I was wondering if anyone can shed some light on how to make the character start at the floor instead of instantly falling through and resetting the game.

    I've changed the events of the game that the player has to press jump instead of automatically jumping. However, I want the player to start on the ground first. Currently the player instantly falls through because there's an event which states when the player falls after the game viewpoint restart.

    I would like to keep that feature but at the start of the game I would like the player to stand and then the player can then press the up arrow to jump (which I've created already) I just need some guidance for the start point.

    Any help would be greatly appreciated.

  • 13 posts