Laurent's Forum Posts

  • Thank you, I'm interested too.

    Apparently, it only works on Android and not even on desktop computers.

    Does anyone have an idea on how to deal with this on different platforms ?

  • Hello

    I'd like to let the player share a snapshot of the game on Twitter.

    I had a look at the Share example of Construct but it appears to be working only on Android. I also need to let the share be avaible on ios and computers.

    Is there a way to send the link of the snapshot using Construct's Twitter object, like embeding it in Text/share property ?

    Thank you for your help

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Here is a demo of text input with spritefont and a blinking cursor:

    Sorry for the late answer !!

    thank you very much for this demo ! I'll try to add a listener for Enter key to allow a newline.

    As for the keyboard, unfortunately, it is an english one and I need french special characters

  • > So far, I saw that when keyboard appears, the game scene shrinks

    Yeah, one of the reasons I designed my own keyboard. On some phones it would shrink and stay that way even after the android keyboard retracted

    That's why I'm most interested in your code :)

  • Here is a tutorial for C2. Maybe that helps:

    https://www.construct.net/en/tutorials/text-input-using-textbox-and-384

    That's very interesting, thank you !

    I'l try to find how to adapt to mobile

    So far, I saw that when keyboard appears, the game scene shrinks

  • Please that would be nice !

    Thank you !

  • Thank you ! Do you have a exemple cap you can send me ? No idea about how to do it...

  • Hello !

    My game uses spritefonts.

    In a certain part of the game, user has to enter a text that will then remain on screen.

    I need to make a input text method so that the user sees what he enters everytime he taps a keyboard key. Number of characters also has to be constraint;

    I was thinking about using a invisible textimput and a routine adding a character averytime a new one is entered in the text box.

    Unfortunately, I'm notskilled enough for that.

    anyone has an idea ?

    thanks !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Perfectly clear !

  • After having loaded the image, I tried to adapt the image to the layout size but nothing happens.

    Here's the code I use :

    FileChooser: On changed

    -> Sprite: Load image from FileChooser.FileURLAt(0) (Resize to image size, cross-origin anonymous)

    -> Sprite: Set height to LayoutHeight

  • Thank you very much !

  • Hello,

    In my game, I want the user to be able to change the image of a sprite by using the file chooser to load the png/jpg of his choice.

    How can I do that ?

  • OK, it works !

    Shared here if it may be useful to anyone.

    dropbox.com/s/gek2kmt9a9cap69/ScrollTextSpriteFont.c3p

    Thanks for your help !