RBuster's Recent Forum Activity

  • searchList.capx

    Thanks but what I need is to get all the items of the list instances to compare them to know how many are equals and how many are not.

    Edited: Sorry, korbaach for not having understood before that the solution for what I need is in the example that you did. Thank you.

  • ID's ? You mean instances of the same list ?

    Yes, sorry.

  • 99Instances2Go

    Just one more question: how can I do if I am using a same list with different IDs?

    Thanks in advance.

  • 99Instances2Go

    Thanks. I will try to implement it.

  • Hi. I just need to know how to select all the items of several lists (4 in total). I intend to compare them all.

    Thanks in advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, but what NW.js version did you install from here: https://www.scirra.com/nwjs ?

    Sorry about the delay. I'm using the last one.

  • The project needs to follow the instructions of a json file with this structure:

    Is it possible? is it difficult?

    Please, I need some answer to figure out if I'm capable to do this project or not.

    Thanks in advance.

  • > I'm getting this message when I try to export the project using nw.js.

    >

    > I have checked the folders and only the windows versions seems to be ok. Maybe the problem happens when the program try to export to osx64 because it is the last folder that I found and inside it has only the .app (no more files).

    >

    > C2 r237 (with no minify script option selected)

    > Windows 8.1

    >

    > Thanks in advance.

    >

    What version of NWjs are you using?

    Also what export options did you use?

    Did you select minify?

    Did you select png recompression?

    Please always try to give as much information as possible, or it makes helping difficult and more of a guessing game.

    I just tested r237 and the latest NWjs using no minify, no png recompression with the export option of window frame ticked, and there were no issues exporting.

    When trying to find an reason for an error, it's best to make things as simple as possible and just add options until it breaks. If you export successfully using the same options as I used, then try adding png recomp or minify and seeing if that causes an error to appear.

    I have said in the 1st post that I'm not using the minify option selected and I've installed the last C2 version. After read your post, I have tried to use with png compression (standard) and also with no compression, with window frame ticked and not. Everything remains the same.

  • I'm getting this message when I try to export the project using nw.js.

    I have checked the folders and only the windows versions seems to be ok. Maybe the problem happens when the program try to export to osx64 because it is the last folder that I found and inside it has only the .app (no more files).

    C2 r237 (with no minify script option selected)

    Windows 8.1

    Thanks in advance.

  • I store information in array because I do not want to display full path to video..

    let's say you have on server something like this..

    you can use list.php to get all sub-folders and files in video folder

    <?php
    function listFolderFiles($dir){
        $ffs = scandir($dir);
       
        foreach($ffs as $ff){
            if($ff != '.' && $ff != '..'){
               echo $ff. PHP_EOL;
             if(is_dir($dir.'/'.$ff)) listFolderFiles($dir.'/'.$ff);}}}
    
    listFolderFiles('video');
    exit;
    ?>[/code:3rrvwo6w]
    so..your ajax data will look like this:
    [img="http://lookpic.com/O/i2/1364/e8EIVxSr.png"]
    
    now you can loop through data and populate array and list object..
    
    [url=https://app.box.com/s/nozesa4msrfq346aoohpq8ovmaicxvic]phpDir2List.capx[/url]
    
    if you upload a new videos or delete..even sub-folders in [b]videos/video[/b] folder..
    you do not have to make any changes in php script or C2 code...
    

    Hello korbaach

    I'm still stuck in this demo project. I had to give up the CSV because they don't want to include the data in this file manually. I need to read the files in the folder and create a list with these files and show or play a preview when the user select the item in the list. Can I use this kind of solution that you created for this? I know the php only works in the online projects. But I can use other solution than php?

    Thanks in advanced

  • Ok. (1) I will try to make it. (2) Sorry. I did not pay attention. Thank you.

  • Thanks for your time, 99Instances2Go

    It's almost that I need.

    Is it possible to check all the combinations without select them and when I touch in the "check" button, the system find the equal combinations also in different order (e.g. 1-2 must be equal to 1-2 or 2-1)?

    Thanks in advance.

RBuster's avatar

RBuster

Early Adopter

Member since 29 Oct, 2012

Twitter
RBuster has 2 followers

Connect with RBuster

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies