chg

Members
  • Content count

    362
  • Joined

  • Last visited

  • Days Won

    1

chg last won the day on October 8 2014

chg had the most liked content!

1 Follower

About chg

  • Rank
    Advanced Member

Recent Profile Visitors

1,114 profile views
  1. Display WebP images on browsers that don't support it

    Why stop at WebP then why not target FLIF which has no browser support but claims to beat WebP? Javascript WebP library: http://webpjs.appspot.com/ Javascript FLIF library: https://github.com/uprootlabs/poly-flif *I've no experience with either, just Googled and confirmed they exist (and as I suspected are compiled to JS from c/c++ using Emscripten)
  2. Display WebP images on browsers that don't support it

    I presume "WebGL" is a typo? I wouldn't display that the user needs WebP support from there browser, how many end users will understand that that that means "use Google Chrome"? While you might find a crazy person who has already ported a decoding library using emscripten or written one themselves, I feel it's not likely to be that fast; why not just use JPEG/PNG formats and work on all browsers?
  3. Monetization options for WebGL games?

    I don't see an attack here. Possibly there is some misunderstanding? I think Matt is suggesting that the advertising options are largely unaffected; and whether or not you get the same interest from sponsors, it would seem that the same business arrangement options are open to you to pursue if you seek to license your game. Your followup stipulates "high-end", suggests targeting lesser compatibility, and without saying so hints that you might be thinking of 3D games, none of which I feel is strictly implied by the original post's mere mention of "WebGL" which I feel is worth pointing out as it seems like the majority of HTML5 games requiring WebGL are largely 2D games using frameworks like Phaser and Pixi.js where the dev has chosen not to support Canvas rendering (eg. perhaps they depend on an effect or the performance it provides and hence can not reasonably consider a canvas fallback) - it seems to me that such games have little problem being sponsored. Anyway I'm seen relatively few finished 3D games mentioned here, and even few mention looking for sponsorship. The exception that comes to mind was Gemioli's posts last year for their games Rats Cooking and Yeti Sensation which I found interesting threads to follow. They were also interesting to me as it seemed like apart from the 3D rendering the games were somewhat comparable to the sorts of 2D games doing well, in terms of polish, simplicity, download size and hardware requirements.
  4. choose randomly

    Move the computation out of the for loop's comparison, as Math.random() will pick a different random number each time the loop iterates and the comparison is made.
  5. Questioning whether to use Pixi or not?

    I'm sorry I know this isn't the place for such comments, but right now this game looks way too much like Don't Starve.
  6. Same feedback as a few months ago, sorry. Only thing that stands out as perhaps being different is I don't recall a full page prompt for background audio (is that new?) As much as I don't like sites playing background audio for no reason, being prompted to ask if I want it (after waiting a minute for it to load, before I can even see the page) might just be an even more annoying alternative (are you just doing it to ensure you can play audio on browsers that ignore such when it is not done in response to user interaction?)
  7. Forum Upgraded

    Is that the post table data post migration scripts, if so do you have a before version? I had a look at the text in a hexeditor... there's no indication of newlines in there, though I did find the mix of space characters with multi-byte sequences for non-breaking spaces interesting (to use the term loosely)
  8. Crunch compression and Pixi

    Let http://webglstats.com/ be you guide perhaps? also as per https://msdn.microsoft.com/en-us/library/windows/desktop/dn424129(v=vs.85).aspx I believe the "correct" mimetype name to be "image/vnd-ms.dds" for dds texture files
  9. Fixed timestep

    @fillmoreb I recall what the OP describes being a bug in Phaser which has probably been fixed since (it's a 2 year old thread you've resurrected)
  10. SWF Alternative?

    "1 HTTP request" isn't necessary one file either. SPDY / HTTP 2.0 support server push, which was designed to let you send files the client hasn't asked for yet with the response (sorry, I've no idea if and how supporting webservers let you use this though atm) If the intention is to make the game easier to copy, could you maybe include a link in the game to a zipped copy? I think this would be a bit hard to answer without understand the problem/s you want to solve by having a single file.
  11. Forum Upgraded

    @rich Any comment on open square bracket, letter i, close square bracket disappearing from code posted
  12. Just to clarify, I wasn't (and don't) using adblock (in my description of the issue I mentioned viewing your ad), so I hope you aren't telling me to off with any capital letters - I not only viewed your ads but I attempted to warn you of issues with your game. And yes, it works on Newgrounds without the issue described from the previous link. And the original thing I was intending to check - the flash version doesn't have the slight halos, even when magnified, that I noted on the HTML5 version.
  13. Forum Upgraded

    Lovely quirk of the new code editor... var v = vertices; vs. var v = vertices[ i ]; these lines differ by the white space around "i" (which is in square brackets), but without the whitespace some of the code disappears (the open square bracket, the i and the close square bracket) which I presume has something loosely to do with this sequence having meaning in BBcode source. I suggest it's an issue as i is like the most common iterator for loops and it is not unreasonable to expect it to will be used to index arrays often in posted code
  14. Change vertices positions

    I assume: var v = vertices; should be: var v = vertices[ i ]; ? EDIT: nevermind, clearly it was as evidenced by the italised code that follows where it should appear, buggy upgraded forum is buggy
  15. Need help implementing Quad edge Antialising

    No, it can't... because they are rendered to the stencil buffer for compositing