admir's Recent Forum Activity

  • Oh nevermind. I tried your sample and it worked. I thought the c2dictionary part was just a filler example

  • Ok, I'm up to the point where I can use Ajax plugin to load up the data into a text box... But for some reason, the Dictionary isn't "importing". I've got:

    on start of layout, AJAX -> Request Hiragana-data.json (tag: "hiraganaData")

    on "hiraganaData" completed, Hiragana -> Load from JSON string Ajax.lastData

    Am I doing the dictionary loading right?

  • Looks like it's allergic to single quotes.. As for the JSON loading, do you know how to load up the JSON file after having imported it into the project files?

  • Looks like it's not being loaded? Key count is 0... Hmm.. I'm confused by that special json format. Which gets the double-double quotes?

  • Here you go.

    So as you can see, I've tried loading in the key-value pairs as JSON. Still wouldn't work. What I'm doing here is logging text into a text input field first before trying to see if Hiragana.Get (a dictionary) can work with the inputted keys. In this example, Hiragana.tsu works, but since this isn't what I need, .Get is what I'm trying to get working.

  • Hi,

    It's been awhile. I'm trying out the latest beta of Construct 2 and I'm trying to create a virtual QWERTY keyboard that as you enter, will detect Japanese kana characters in romaji and convert them to the right character. Ex: if I type in "ru", the game should detect and translate it to "る". So I'm trying to make use of the Dictionary object. Now, while I was able to input a series of romaji -> kana instance variables, I notice that I'm not able the use the Dictionary.Get('name') command. It always returns a 0. However, when I do get something when I use Dictionary.name.

    So for example, Dictionary.ru will return me "る". But Dictionary.Get("ru") will return me 0.

    I need to use the first method because my source is a hidden text element or global string variable that detects keyboard input.

    Any thoughts what my problem is here? Or maybe there's another way to go about this?

    Thanks!

  • That's a good fallback to keep in mind.. I'm hoping the hit - if there is any at all - will be a very minimal thing.

  • Hi guys,

    This is a question for the Scirra guys and lucid, and I think some of us who are thinking about using Spriter with Construct 2 might be interested in knowing about. Since Spriter takes animation to a 'cut-out-like' approach, saving on graphics memory, I take it that more CPU is needed for body part movement while the Spriter sprite is animating. My question is, how significant is the impact of using a Spriter sprite vs. a regular sprite? If we have a given machine that can draw 100000 sprites 60FPS in Chrome, how many given Spriter sprites can the same machine animate/draw 60FPS using the same browser?

  • Perhaps it's fair to have Apple take the proceeds made from blatant rip off games by shady devs in countries like China and distribute them to their rightful IP/dev holders.

  • Conspiracies aside, what about global IP issues? These days, anything from game software to hardware are easily duplicated by anyone skilled enough around the world. Let's focus on games - like HTML5 games. Does anyone have any experience about issues with game rippers who live beyond the reach of US law / influence? I'm talking about game devs who think that X game is good, easy to rip, and translate to a mobile platform because the game is a Flash game at the moment. And it's the game rippers live in a place that's beyond the reach the law protecting the original copyright holders, ex: China. There's an issue where you make a product first, but a copycat can claim they made the first "type" of product where they live in, such as the company who tried to pull their fake "iPhone 5" as the first company to have such a product in China well before Apple's official launch.

    I mean, if we factor in the different laws around the world, is there a possibly of being sued by a copycat in their own country because they can simply try to screw you over your own product?

  • Oh thanks! That's cool

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys,

    Is there an easy way to display what's inside a 1D or 2D array in construct 2? Preferably in a matrix form (crosses fingers). Perhaps a console dump in Firefox or something like that can save time in debugging?

    Thanks!

admir's avatar

admir

Member since 3 Aug, 2012

None one is following admir yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies