balaporte's Forum Posts

  • 4 posts
  • Thanks for the quick response.

    I'm writing a word game and already have the word list load as a JSON file into a Dictionary object. When I've written this game in the past in other languages, I've implemented simple binary search to find a word in the list, which was fast enough for my needs. Looks like I don't even have to do that for the C2 version.

    It appears the Dictionary search is only for the key value?

    Right now I have sequential numbers as the keys (first word key is "0", value is word). It seems better to have the word as the key, which frees up the value for some word usage tracking I wabt to add anyway.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What algorithm is applied to find a value in an array when the "contains value" condition is used?

    Is it just a sequential search or something more efficient?

    Wondering if I should just use this or roll my own.

    Thanks,

    Brian

  • simwhi

    anthonykojima

    I was having the same problem loading from local JSON files using AJAX in my Tizen app. I was about to implement a work-around, but went ahead and tested it in beta r150. It seems to be working now.

    I retrieved local data from a JSON file using AJAX and put the data into an array. I then set an object to a position using data from the array, and it worked.

    I tested this in both the Tizen web simulator and the emulator.

    I don't know if this is any help to you now, but I thought you might want to know.

  • I am a Construct 2 user/developer living in the US (near Chicago, IL) and I am very interested in the Windows Phone 7 marketplace.

    Construct 2 is one of my favorite tools, and personally I enjoy the challenge of designing for as many platforms as possible. Limitations and differences among hardware encourage creative solutions.

    I'm happy to hear that Construct 2 games are running well on the Windows Phone 7 browser, as I haven't had the chance to try that out yet. Thanks for your interest and for reaching out to this community.

  • 4 posts