Underdog's Forum Posts

  • dop2000

    This is a great example. Thank you.

    Omg, it seems also that I had a Construct 3 bugs with the Text object.

    I was not able to change the size of the text object without scaling the height and the width at the same time.

    After closing and reopen Construct, I was finally able to change the height without affecting the width :)

    Also, thank you for your time, definitely, your example will probably help me for another thing I wanted to do with text scripting :)

  • dop2000

    Thank you Dop2000, I'll take a look at your example.

    I just needed Text object.

    Cheers

  • Hi everyone,

    it might be a dumb question but I would like to create a Text field of a certain Width and Height.

    The Object TextBox does not exist anymore in Construct 3.

    Then, within the text field, I would like to have the text wrap automatically when a sentence is longer than the width of the field.

    The text is coming from a Json file and can be translated in different languages.

    I ask this question because first, I can't have a defined size for the text field as it scales in width and height simultaneously.

    So I had an idea.Maybe, if I have an instance variable that will count each character and if a line of the sentence reaches this variable, it will automatically create a new line to continue the sentence.

    I don't know how to do it and it feels tricky and hard to manage, don't you feel?

    Do you have an easier solution?

    Here is an image of what I try to achieve (the green text field, so the text fits in it)

  • Omg. Thank you so much.

    I won't be able to find it alone.

    Sincerly thank you.

  • Try Construct 3

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

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

    wooo thank you so much for your kind hints.

    I followed what you suggested and it works well, thank you.

    I was wondering, if the sound is looping, how can I stop the furthest "Magma" without stopping all the others?

  • Hi everyone,

    In my game, the Player has to pass between Jets (water, lava, etc...).

    I would like to add a sound when the closest jet from the Player is visible.

    I tried Play at object and I have my Player has listener, but it does not work.

    Maybe it's not the right way to address alternated sound? If you have any hints.

    Thanks

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thank you AllanR

    Funny, it's what I was thinking as well but not sure.

    cheers

  • Hi everyone,

    I tried to change the layout of the eat'm all example and move it in the center of 1920x1080.

    If the maze is centered, the movements of the ghots are off but if I offset the maze by 32 pixels (letfward or rightward), they are moving perfectly.

    Do you know why there is this offset or why I can't center it on a new format?

    I don't know if it is the correct place to post it.

    Thank you

  • Nobody has an idea?

  • I noticed something else.

    The Layout is 1920x1080

    The ghosts work efficiently if the maze is off from the center by -32 or +32 pixels

    I don'y know if it could help.

  • Hi everyone,

    I have a weird behaviour with the ghosts of the Pac Man example provided by Construct.

    I wanted to change the size of the maze and have the Tilesize at 64.

    I updated the value Game.TileSize to 64.

    If I center the maze with the layout, my ghosts are stuck in their base. However, if I move my maze slightly on the right and down from the center of the screen, it works perfectly. The ghosts are behaving accordingly to the array and the example.

    Really strange, isn't it?

    Is there a hidden value that I have to tweak somehow to keep the maze in the middle?

    Thank you for your help!

    The Template name is Eat'em all

    I changed the layout at 1920x1080 and I tried to center the maze without changing anything, you will notice the same error with the ghosts. There is a kind of marge but I don't know if it is a bug or something I could fix.

  • You do not have permission to view this post