Laurent's Forum Posts

  • So much CSS subtilities !

    Thank you for this :)

  • In my game, everytime the player does a significant action, this action is added as a new line in a HTML Element window. But when content reaches the bottom end of the HTML box, the box content doesn't scroll up as I would like to to show the new added line.

    Is there a way to do that ?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you !

  • Thank you very much !

    I already spotted that there seems to have a very special logic about sub events but understand now that it is more subtile than I thought. Is there a simple logic about that or a tutorial somewhere that tells everything about it ?

  • Well the input events are run top to bottom.

    You have it so if you tap on either red circle it closes the menu, then third event runs because it’s not tapping on anything.

    I thought maybe rearranging the events would be an option but that causes the menu to be instantly destroyed so you don’t see it.

    But here’s this for a solution. Have one on tap event and have it do just one thing depending on what was tapped on.

    on tap
    -- touch is over sprite1?
    -- -- close menu
    -- else
    -- touch is over sprite2?
    -- -- close menu
    -- else
    -- — close menu
    -- — create menu

    Hi R0J0hound

    Thanks for the answer !

    I tried you suggestion but it doesn't seem to work either.

    Here's link to this version : dropbox.com/s/7lr8j1pxzz2dsbr/Bubble%20menu.c3p

  • I made a menu for a game. When player clicks/tap on screen, a marker is created with round icons around it allowing actions. Everything works fine except when I want the menu to close when I tap marker/icon, the menu closes but a new one is instantly created at touch point.

    I guess there is something with the click action that is taken in account twice : once for closure and second for creating a new menu.

    File is here dropbox.com/s/akq2580095tlkds/Bubble%20menu.c3p

    Thanks for your help !

    Tagged:

  • Did you set the purpose?

    https://www.construct.net/en/make-games/manuals/construct-3/tips-and-guides/icons-splash

    There are further device specific options in your export wrapper.

    Thank you very much !!! I didn't pay attention to that. And now, it works

  • I built a webapp and when I add it to my phone's home screen, it shows the regular Construct icon.

    I decided to create custom icons. I downloaded the original icons from the c3p project, loaded them into photoshop, made my modifications and saved them back using the same name and size. I then uploaded the custom icons into my project.

    Since, the loading logo shows correctly on the loading screen but favicons fail to display on the the phone's home screen.

    Is there something I did wrong ?

    Tagged:

  • You could have a variable with the colour value in it, change the variable at runtime, then set the text box colour based on the variable, that way you will always know what it was.

    I'm afraid it looks like the only solution. Thanks for pointing it

  • I have a text box that I change the colorvalue runtime and I later need to retrieve this color value. Sprite have colorvalue in appearance but textboxes doesn't seem to have it.

    How can I do that ?

  • I saw it was possible to send email attachment from a Construct 3 game but it needs a lot of php. I'd like to have a button on the screen that invoques the mail app of the user's phone and a variable string from my game attached to it in a .txt format.

    Is it possible to do that ?

  • Anyone can help me on this ?

  • Hello,

    I'm building not a game but a tracking device to help my dad collect his feelings about his health condition.

    It's a very simple system : when he feels a change in is health condition, he can press a button on screen to record how he feels : bad, average, good. This will help the doctor have a vast overview of his wellbeing and help adjust his medication.

    Information are send to an array but I'd like to have them sent to a google spreadsheet instead so it's easier to share with me and the doctor.

    Here's the process :

    each time a button is pressed to send information, internal array is updated and the whole array sent to a google spreadsheet so that this sheet would have the same content as the array.

    I read dop2000 tutorial here about connecting to google spread here

    construct.net/en/tutorials/sending-data-construct-23-1447

    but don't how to for example add a line to the google spread.

    My app so far is here :

    dropbox.com/s/qby4216xcv0cnp3/healthapp.c3p

    Tagged:

  • Hi dop2000

    Thanks to your help, I managed to extend your example and added all the options that I needed. I also managed to used the original csv as it. Work is not over yet but it is all in good shape. Thanks again !

  • It is not an option unfortunately. The little display/sorting app is meant for people who have no skills to make this convertion. They are just capable of uploading their csv and click to have the info they need. I'll use this capx here to transform the csv into an proposer C3 json : https://www.construct.net/en/forum/construct-3/how-do-i-8/csv-similiar-array-json-vice-129070