Grimmy's Recent Forum Activity

  • As well as bumping this, I'd also like to know the max size of a data array. I want to have an array of something like 7500 rows. Is that going to be okay/ quick enough to parse?

    Thanks

  • Is this even possible or is the array editor only to be used as a starting point/(read only at runtime) for arrays.

    I really want to be able to change the data in game then come back to the editor and view the saved/added data that was done during runtime.

    Is there some way to do this?..or a workaround?

    Cheers

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [SOLVED]

    For some reason I need to do...

    JSON.Get("data.Data_URL")

  • My config.json dictionary has some data in in like this:

    key:Data_URL value:some data URL stuff

    But when I try to load the data and display it like this....

    + System: On start of layout

    -> AJAX: Request config.json (tag "load config file")

    + AJAX: On "load config file" completed

    -> JSON: Parse JSON string AJAX.LastData

    -> Browser: Log in console: JSON.Get("Data_URL")

    ..it just prints "0"

    I expected it to print "some data URL stuff"

    What's happening?

    Thanks

    Simon

  • So just to clarify. The Access control stuff ALSO has to be on the server that I wish to get the image from?

    So its completely out of my control really and I cant just download images from any random URL??

  • Thanks. In the end I tried uploading to the server, but I still get the same issue:

    --------------------------------------

    Error loading resource: TypeError: "NetworkError when attempting to fetch resource." c3runtime.js:157:683

    _loadPromise pigobo.com/TestC3/scripts/c3runtime.js:157

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at dt7v1i9vyp3mf.cloudfront.net/styles/news_large/s3/imagelibrary/Y/YamahaMODX_01-SDD5y1TtYhJYVrTJyhwPqT3.IN_xgvgb.jpg. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

    --------------------------------------

    I have no idea why because there is a .htaccess file in the root of my directory with:

    Header set Access-Control-Allow-Origin '"*"
    

    -Both my site and the request site are https:

    -I tried both in Firefox AND Chrome

    ..so I have no clue as to what is happening. I've been trying all day in various ways to get this to work :(

    Any ideas?

    I want to get this working without any additional PHP.

    Cheers

    Simon

  • Its preview mode..testing on my PC with no servers etc but I'm trying to pull images from online.eg. >>https://www.someimage.png I'm not sure what applies.

  • I know the help says that my server must have cross domain stuff but it doesnt make sense because when I'm previewing my game I haven't even uploaded it to a server.

    Is it possible to preview without having to build and upload my game to a server? I want to just preview the downloaded images.

    Is this possible, or am I required to upload my project to an online server evertime I want to test it?

    CHeers

  • Using this latest version of the plugin with C3 the data on the x is always offset by one. So if I try to get data from x1/y1 it gives me data from x2/y1. This is the name if I grab the CSV numerically or using a string of the column name.

    More worrying is that if I return RowCount or Column count the data gets completely lost for some reason and I am forced top load it all in again. This makes no sense.

  • Hi, I'm thinking of having an iframe with 3d content (maybe created with Three.js or something else) but how would I go about communicating events from the iframe to C£. Is this even possible? Would I use Iframe at all or should I somehow write my own JS in C3 to import Three.js libraries etc.

    Any high level answer is welcome as I'm just toying with ideas on how to integrate simple 3d in C3.

    Thanks!

    Simon

  • Would it be possible to create an app in say Three.js and then display it in an iframe in C3. Then is is there an easy way to communicate with the iframe to and from C3?

  • No errors in the log. I also made a build to test it but the whole speech recognition stopped working completely.

    :(

Grimmy's avatar

Grimmy

Member since 20 Nov, 2012

Twitter
Grimmy has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

17/44
How to earn trophies