krisart's Forum Posts

  • 8 posts
  • I'm using construct 3 to compose an image, you choose some sprite and text in first layout, then in the second one you can get a snapshot in jpg format.

    The layout size is 1200x1200 pixels, but the snapshot size is related to the browser size, if I open it in 4k monitor I got a larger image, if I open it in a phone or in a resized window the result is a smaller image.

    How can I lock image size snapshot to 1200x1200 pixels?

    Thanks for your help

    Kris

  • Thanks a lot, I solved with this:

    -> AJAX: Request cards.json (tag "Readings")

    -> System: Wait for previous actions to complete

    -> cardread: Load from JSON string AJAX.LastData

    -> System: Wait for previous actions to complete

  • I've seen in debug mode that the array is empty.

    Is it wrong the way I load it?

    It's in the internal file folder, created in the Construct 3 editor.

  • Hi, I made a Json with internal array editor. It's 22x3x1.

    I'm trying to put in a text box the descriptions but I got always a 0 as response.

    This is my code:

    -> cardread: Load from JSON string "cards.json"

    -> letturashort: Append newline&cardread.At(card1,0)&newline&cardread.At(card1,1)

    I'm getting crazy, what's wrong?

    Thank you for your help

  • Hi, I'm trying to do a little word game where you must find the right position of letters in a grid.

    I'd like to drag it over another, switch positions, and then check if the position is correct.

    Are there some tutorials or plugins that can help me to do it?

    Second problem:

    I am not sure what's the best way to approach this game, do you suggest me to make letter holders and try to match an array with instance variables if letter or position is the right one?

    Please help me to take the right way Thank in advance

  • Just spawn one instance of your spritefont object for each tile. You can select them easily later, for example by position or text. The basic tutorials actually teach you stuff like this.

    No need for any cloning...

    Thank you a lot, can you suggest me the right template to find the best way to solve this little problem?

    I can use one tile, with 3 instances, text, horiz position and vertical position... but when the layout starts, how can I assign specific values to each one?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • With Clone I have the same object but completely independent.

    If I'll need to change or correct the Spritefont image for example I have to do it for every one, right?

    I am asking if it's possible to change properties of specific duplicates.

    Same object, same images and references, but for example set everyone with different text or frames.

  • I'll try to explain better, sorry if the question is pretty silly, I am a beginner.

    I have to compile a grid with some letters-tiles with a sprite font.

    I have an array 12x12, I'd like to duplicate the spritefont object and assign to it different letters with settext.

    I'll have a1, a2, a3 ... and so on, can I assign settext to UID ? Have I to create new spritefont object for each tile?

    Thanks a lot for your help.

  • 8 posts