Mayfly's Forum Posts

  • I am looking to get a plugin for C2 so that I can export to an excel file.

    (Currently I am loading in a .xml file as a string. Doing a find and replace to input data from text boxes and then invoking a download of a new .xml file with updated values - )

    https://youtu.be/JkiBavLaGaM

    I was hoping I can have something similar with the ability to export to a xlsx file (Picture support and other features....)

    Maybe through this its possible? https://sheetjs.com/

    Thanks,

  • Julot135

    Do you have limitations on the platform and plugins you can use?

    I have an app in NWJS for PC desktop which I can open photos and save (Invoice generator).

    Using NWJS and Paster objects you can give the user an open dialogue, load in a picture and save the picture as a string in base64 format. (Very long text).

    I am guessing this could then be sent across multiplayer to another user. I am afraid I've not done anything with the multiplayer plugin yet so I would nowt know about this part. (I only made a multiplayer game about 4 years ago with PeerJS)

  • Is it possible in C2 to retrieve the co-ordinates of a device in British national grid format, rather than longitude and latitude?

    I wanted to experiment with a concept I have, but I need the device co-ordinates in this format to work. I have searched converting long / lat into national grid but these seems very complex.

    I just need to retrieve the Easting / Northings (No map etc...)

    Thanks,

  • Very nice plugin. Very simple and quick to use. I had some pretty poor pop up sprite prompts and buttons. Within about 2 minutes I swapped both sets over to a neat and consistent options with this

  • faulknermano

    Not sure if this has changed with the latest NWJS as I have amended the icons in my projects file section and it still exports with the default compass style.

  • BUMP to see if any one can help?

    Currently my .bat file is:

    "wget.exe" "https://drive.google.com/uc?export=download&id=1GfARdi3WQaCnxolZxL5Gnxamr" --output-document "%~dp0\packagetest.nw"

    This works when double clicking the file in explorer.

    When adding a command in C2 to run this:

    """" & NWjs.AppFolder & """" & "update.bat" & """" & """"

    It doesnt action it.

    Ashley is there something different by using NWJS to run a .bat file that is stopping this?

    Update:

    I have got it working but only when the project is placed in a location with no spaces in the directory "C:\test" for example.

    My C2 command is currently:

    "start " & NWjs.AppFolder & "update.bat"

    I just have not been able to get the double quotation marks in the right place to get this working for all locations?

    Currently I have tried:

    "start " & """" & NWjs.AppFolder & """" & "update.bat"

    "start " & """" & NWjs.AppFolder & "update.bat" & """"

    """" & "start " & NWjs.AppFolder & "update.bat" & """"

  • Just opening this up as I am trying to do the same thing. I want to run a .bat file so that I can download updated files for my app.

    I can write a .bat file that does it job and downloads to the installed NWJS directory. But the moment I am asking C2 to run the bat file (Like above) it does not function as expected.

    I have to put START at the beginning of my .bat file but this then for some reason stops it using the --ouput-document to save to the installed folder.

    Anyone know any work arounds?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have an app in NWjs. I've managed to get it to check online the current app version and display a warning if you do not have the latest version. I wondered if there is a way to download an update through the app, rather than get the user to close and manually download and update the files? (I need to use NWjs due to file export features)

  • EvilXIII Some slick games there. Like the Pixel style and the quick / harsh gameplay =) Run really well on the phone too.

    You seem to have ads, IAP and google play all nicely working too, something I am looking at trying to get working. Would you happen to know any good tutorials for this? Everything i have found is outdated.

  • Hi

    You can save data into an array and call it back. If you check http://sc.bitballoon.com I have used this to save the last move and let the user do a replay. You will need to do at least 1 turn and then press the camera icon

    More than happy to help if this is what will help (add me on Skype mayfly118)

  • So I finally have an endless runner style game which I am prepping for a release. It has been a few years since I have put a game on the store on android and I had never used google play services before. (I used to used clay.io when that used to work).

    From searching manuals / forum I fear that currently it is not possible to setup google play services / leader board on android in C2? At least everything I found on my search was people having trouble and I could find no examples to show it. (I found on cocoon google play example but it doesn't seem to work).

    If anyone can point me in the right direction that would be great.

  • Thanks zenox98 I search the forum but didn't see this in the manual!

    I've changed the sound from my Music folder to my Sounds folder and now it loads. Not sure if any differences this way but from what I have just tested works fine

  • I have a music file which is set to play after an initial start animation finishes. On the PC this works fine but no a mobile device (Running in chrome through bitballoon) the sound does not load until a screen touch is registered.

    I can probably sort a work-around but wondered if there is a proper fix for this?

  • So I have quite a few projects I build on as a hobby (Online one release on google play - 10k downloads)

    Currently i am trying to get a football and rugby style game ready for next years world cups / six nations.

  • hey NeronSparda

    I started a 'snooker' mock. http://snooker.bitballoon.com/

    Unfortunately my laptop was stolen so I lost my capx file.

    The problem I found was that the way the collisions work its very hard to get accurate aiming. The balls quite often will not react as they should which means you miss alot of pots. After reading into it, it seems its due to the direction of the ball being worked out on the collision once the objects overlap (Slightly after a perfect touch).

    Good luck though <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> If you get it working well I'd be interested to see