R0J0hound's Recent Forum Activity

  • It just appears to be a template to ask for credit card info. Since nw.js is a browser at heart I could see why it's there as that's a common thing to have. At any rate it's no cause for alarm in my opinion.

    Also I've never seen a nw.js game ask for credit card info and there's no way for it to get it unless you provide it when it asks.

  • Opps. It turns out the standard tts linked above can't use ssml yet to control how stuff is spoken. I'll keep looking.

  • RamPackWobble

    Here is the spec for the tts api:

    https://dvcs.w3.org/hg/speech-api/raw-f ... ts-section

    You can specify the voice to use there, but nothing to change how things are pronounced.

    But then I followed a link from above to here:

    http://www.w3.org/TR/speech-synthesis/#S1

    And it appears you can change how things are pronounced.

    It may take some digging but the solution to do it should be in there.

  • hmott

    In C2 sin() and cos() take angles not degrees, so if the value is in radians you need to convert it to degrees inside sin and cos. Also in the context of this equation it expects angle() to give a value in radians instead of degrees, so you'll need to convert it.

    So literally it would be this:

    r = 6371000

    phi1 = lat1*pi/180

    phi2 = lat2*pi/180

    deltaPhi = (lat2-lat1)*pi/180

    deltaLambda = (lng1-lng2)*pi/180

    a = sin(deltaPhi/2*180/pi)^2 + cos(phi1*180/pi)*cos(phi2*180/pi)*sin(deltaLambda/2*180/pi)^2

    c = 2*angle(0,0,sqrt(1-a),sqrt(a))*pi/180

    d = r*c

    But you can cut out most of the radian conversions and get just this:

    r = 6371000

    a = sin((lat2-lat1)/2)^2 + cos(lat1)*cos(lat2)*sin((lng1-lng2)/2)^2

    c = 2*angle(0,0,sqrt(1-a),sqrt(a))*pi/180

    d = r*c

  • remy-jay

    That's expected unfortunately. The shadow positioning action was just a quick solution and probably shouldn't have been included. It just puts the shadow sprite it on top of the block directly below the picked block. It only matches the correct z-order at that point.

    I don't have a better solution at this time.

  • artbava

    This isn't such a big issue. The first few posts have solutions how it's solved. I fail to see how this issue makes one foolish.

  • I think that only occurs in the context of C2, on iOS8+ WKVWebview, right?

    I'm pretty sure all modern web browsers do jit. Chrone, Firefox and Safari each are continually making js faster, and jit is always utilized in some way.

  • This should help:

    http://www.w3schools.com/json/json_syntax.asp

    For a list you'd put it inside []

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is a third party json plugin by yann. That said that doesn't look like a valid json string. You can't define row twice like that I don't think.

    You could use the browser object to try to parse it.

    Browser.evaljs("var a="&variable&"; a.row.item_name")

  • Prominent

    Ah, that does make sense. I forgot about that.

    megatronx

    Doesn't Prominent's idea work?

  • If the mask is just a sprite, you could duplicate it for each layer and use blend modes. Just be sure the layer has "force own texture".

    The only other alternative would be to draw to a canvas or paster object for such grouping. I haven't been able to get the paster object to paste a layer at a time but the canvas plugin can, but doesn't use webgl. The flow would be to paste the two top layers first then paste the mask layer to a second canvas and then use a blendmode to paste to the first canvas.

  • I take it .def files are a format that M.U.G.E.N. uses. I can't find many details about the format other than it's a text file, so I assume it's human readable. If there's no existing tool to do it I suppose you could write one with python or something. Honestly I know nothing about it. It's out of the scope of things I'm interested in. But rest assured if you can get the images C2 can load them. However 500+ images may deplete your video memory, it just depends how big they are.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 157 followers

Connect with R0J0hound