Foxisout's Forum Posts

  • 3 posts
  • Hello there!

    I always very happy to post something here, the community is very helpful so thank you!

    NB: My project size is 1780x480 and my viewport is 854x480

    First, I created events to position my dialog UI elements like this:

    The first dialog is triggered by the appearance of NPCs with animations like this:

    I created a dialog system like this:

    And it works perfectly fine!

    I tried to use the same system logic for the second dialog:

    What works fine:

    - the NPC appears and the change in animation is triggered

    - the dialogbox2 appears where it should and display the first line of the correct dialog array

    What goes wrong:

    - the avatars do not appear

    - pressing the spacebar doesn't make the dialog progress

    What I did to try and fix the issues:

    - I tested the signal "foxdialog2" by trying to make a another text object appear but it seems like this signal is not sent and I really do not know why.

    - I tried to position the avatars according to the first Text object and they appeared but they do not appear if I redo it according to the second text object

    - I checked the order of events to make sure the Text object was position before the avatars, and that the action to send the signal was the first one (not to be disturbed by the start of an animation)

    - I checked the parallax of my UI layer and it is set to 0%x0%

    - I checked visibility issues (initially visible is unchecked, layer visibility is on, no opacity change and Z order)

    So there are two persisting issues:

    - the avatars not being displayed

    - the second dialog not progressing

    I am an absolute beginner and I tend to Frankenstein things up so maybe it's just that I created conflicts and should redo the whole thing!

    Curious to know what you think and to test your suggestions!

    Thank you in advance :)

  • Thank you dop2000, it fixed the misalignment issue... I knew it was something simple; thank you for finding out what I as missing!

  • Try Construct 3

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

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

    I'm trying to make an idea into a small game as an absolute beginner, relying on tutorials and youtube videos but I am now completely stuck because of an issue with misalignement of my layers when I hit the preview button.

    I created different layers for my landascape background and added a simple parallax effect for the sky. All my layers are the correct size for my side-scrolling project (1728 x 480 with a viewport of 864x480). I set the positions on 0,0 and everything looks fine in the editor; all assets and layers are where I want them. When I hit "preview", everything suddenly change position; my landscape layers are correctly stacked on one another but misaligned to the right of the screen. There is a little cabin asset I want to leave in the first screen and I set its parallax to 0%x0% but it moves as if it was part of my character...

    I tried to change the viewport settings, I checked that I correctly set an "anchored" behaviour to the cabin and a "scroll to" behaviour to my character. I do not know what I did wrong since it seems to be a very simple thing I'm trying to fix here and I feel stupid now... So I thought someone might be able to help easily and it woudn't take them too much time to figure out where I screwed up!

    Your help is very appreciated, I do not want to give up on my project over such a silly thing... Thank you very much in advance!

    Here is a link to my project

  • 3 posts