shepherdgames's Forum Posts

  • Hi,

    Thanks for looking into this.

    I found a bunch of app icons in .JSON format. I would like to load them in my app.

    Can anyone help me with this?

    Tagged:

  • Hi,

    I need to set the text of a list by a value from an array.

    The list and array has values of {a1,a2,a3}. When I compare text with a1 in Array and returns True then the list show select value as a1.

    I'm able to get text from a given index but how do I get index from a given text?

    Tagged:

  • dop2000 I found issue. It is working now. Thanks alot.

  • dop2000 Thanks for the C3P, it works fine on it. I have implemented the same on my project but still it doesn't work.

    Subscribe to Construct videos now

    Not sure where I'm going wrong. :/

  • dop2000 Thanks for your reply.

    Now, I have moved the local variables to global and corrected the typo. Still it doesn't work.

    To help you understand the code

    ButtonNameDisplayX is to record the 'X' position of the last button

    ButtonNameDisplayY is to record the 'Y' position of the last button

    ButtonNameDisplayLoop is to calculate the number of times the function is called

    In first instance

    -> ButtonNameDisplayLoop will be zero and it enables the hidden button (the first button is not created, it is already present on the screen, it is just made visible).

    -> ButtonNameDisplayX records the 'X' position of the button

    In second instance (when second name is added)

    -> Button should be created at ButtonNameDisplayX + 72 and ButtonNameDisplayY position but it doesn't happen

  • Hi,

    I used this function many times in C2, I'm not sure why I'm not able to make it work in C3. Probably I might have missed something.

    This is how it should work.

    Subscribe to Construct videos now

    When I add names, it should display them below by creating a new button but it is not happening.

    Can anyone help me with setting the create-object function? I have added the events but not sure why it is not creating a new button.

    Please let me know you need any further information.

    Thanks in advance.

    Tagged:

  • dop2000 One more thing

    Is there a way we could download the file on mobile apps? This function doesn't work on Android as it is a browser function.

  • Ashley Okay then this is working as intended.

    Thanks for the info. :)

  • Hi,

    I'm not sure whether a bug related issues on C3 can be posted here as the forum headline suggests it is for C2. Please redirect me to the right page if this is not the right one.

    I found that Invoke download feature is not working for Cordova Android. It is working for desktop and web app exports though.

    I tired with both minifying and not minifying script but I still have this issue.

    C3P

    drive.google.com/file/d/12VcaiKpZX_NfRCa4g_J_Y_gypZY_XVn-/view

    Please let me know if I'm missing anything to make it work.

    Thanks in advance.

  • works for me:

    https://www.dropbox.com/s/l9h6wv3t4x9amhz/ExportToCSV.c3p?dl=0

    I used a wrong function. Now, it is working. Thanks alot for your support and valuable time. :D

  • Try Construct 3

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

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

    Tired that as well. I'm still getting the error. Not sure where I'm missing.

  • dop2000

    Events

    Error

  • Excel natively opens CSV files, they even have Excel icon when MS Office is installed.

    Exporting to CSV is easy, you simply build a string (put all values with commas and line breaks into text variable) and do "Browser invoke string download".

    .

    Not sure if sending to Google Spreadsheet will work in your case. It's supposed to send data to one table, I don't think you can't create a separate sheet for each user.

    Could you please give me a detailed instructions on exporting to CSV and downloading? I'm able to set the values to a global variable but the download function is throwing an error.

  • dop2000 Cool man. Thanks for the tip on CSV. I will surely try that.

    I hope we have any other turn around for exporting data into PDF or something like.

  • dop2000

    I found your post on exporting data to Google Sheets.

    construct.net/en/tutorials/sending-data-from-construct-23-to-google-spreadsheet-1447

    Does it help the user to export the data to their Google Sheets?