Mayfly's Forum Posts

  • Hi,

    I am trying to use arrays to build a match fixture generator, but with certain rules.

    At the moment I've create a 6 x 5 array (To simulate 6 teams and 5 matches, once each)

    I've worked out how to fill each row in the array with a random number between 1 and 6, and ensure its not a duplicate.

    The next stage is to check a rule to make sure once all the matches are populated there is not a duplicate match (ie team 1 vs 3 week one. Then again 1 vs 3 in week 2-5)

    Is there any good examples of using loops to check this kind of thing?

  • Nice plugin :) I was using the sweet alert one from teh store but this seems to have more features.

    I noticed that if I only have one pop up, collecting say 4 pieces of info (4 inputs) in the steps that it does not trigger the confirm? (I have to ask for one input at a time)

  • I found an old post from 2 years ago that mentioned there was no API for it, but I wanted to check if things have changed or there is a work around.

    I'd like to canvas snapshop a section of my layout and part of that in an iframe.

    Does anyone know if this is now possible with any extra plugins or if there is a work around (Like loading an image from an iframe etc...)

  • You do not have permission to view this post

  • No, I've got that bit sorted. I wanted to force desktop mode even on mobiles. I didnt know if its possible to do this by editing the exported files afterwards.

    The reason is that i am using a frame to display a PDF. On a laptop it shows the PDF fine. On a mobile (Or smart TV) it shows a grey box and makes you click to download.

  • Just a bump to see if anyone knows a way around this?

  • Just a bump to see if anyone knows a solution to this?

  • I am sure I am missing something simple here.

    I am trying to setup two layouts that use the same event sheet.

    At the start of layout I'll check if its on a mobile device and send the user to a portrait layout. If not it uses the landscape layout.

    My issue is that I can only work out how to setup the project window size that will either cut off the portrait. Cut off the landscape or leave it square.

  • dop2000

    Thanks, this is what I am after. I have the google sheets bit working from the past. The searchable list is great.

    It is a shame that running on a mobile dose not work very well. (I've changed from dropdown to a full list, but on a mobile it doesn't show a list)

    I can probably make use of the logic though for a different way

  • I wanted to build a 'Jargon buster' style app.

    It is easy to build in something like excel, but I'd like something that looks more professional.

    It would be two / three columns. First column would be an acronym, with the second column a description. The third column would be for any other notes.

    Any tips / ideas on the best way to approach this?

    At present I was thinking of building a google sheet with the data. Then calling this via AJAX at the start and putting into an array / CSV. it is then working out the best way to display the data neatly and if there is a method to be able to include a textbox so the user can start typing letters and it filter the results by this. (Imagine how a filtered list in excel works)

    Thanks,

  • I've generated an app with an Iframe. It basically scrolls through some files to display them. It works great on my PC but when I run on my android TV, it puts it into mobile view meaning the files to not show (I get a 'click here to download pdf' for example).

    I get the same problem in all android browsers and even if I tick the 'request desktop' site.

    Thanks,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've generated an app with an Iframe. It basically scrolls through some files to display them. It works great on my PC but when I run on my android TV, it puts it into mobile view meaning the files to not show (I get a 'click here to download pdf' for example).

    I get the same problem in all android browsers and even if I tick the 'request desktop' site.

    Thanks,

  • Hi dop2000

    Thanks! This is exactly what I was after. Just did a small test and it works.

    Appreciate the help.

  • I have created a web form that allows users to enter some details and click a submit button.

    This then links to a google sheets script so that the data is added to the bottom of a live google sheet, along the row.

    I am trying to allow the user to edit a submission after its been sent (and the website / window closed)

    I have added an allowance in the google script so that one of the fields is a c2id value. This is created at random when the user loads the form. My thought being that if I do a save state at the same time as the submission is created, I just have to work out a way to load that state back to the user. Ideally I'd like to email the user a link they can click to edit their submission.

    Does this sound like its possible? I can't think of a simple / strait forward way of doing it.

    Worse case I'll made a load button where you can type in the 6 digit c2id to load your state. (Users can do more than one submission

  • Bump to see if anyone can help.

    I managed to get the PDF opening in a frame. Great on desktop - but on the mobile it still doesn't load. It gives the user a box to download the file. (Guessing due to going into mobile mode)