saiyadjin's Recent Forum Activity

  • nope. c2runtime is just a "engine file" which is made out of some js files that can be found in html/exporters.

    data.js is a helper file which contains mostly your logic that you made up with events, variables and more.

    together they work as an engine.

    your sounds / images and the rest is contained in other folders on export.

  • mostly i agree, but compilers / interpreters have to handle javascript errors when they are caught and losing time to handling them just to avoid errors takes some small amount of time. when it gets loaded with such small time errors - all together it causes a bit more of time wasted.

    nontheless i'll do my job and clean the rest of the files on the current version of C2 and upload them here. you can still check them and use if you want, if you don't want won't bother me, i'm just trying to help you out guys <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    anyway this analyzer does the following: CoffeeLint, ESLint, CSSLint, TSLint.

    more details here: https://visualstudiogallery.msdn.micros ... 820d79be1d

  • you should really update your IOS to newer versions it will work way faster. not sure though which iphone supports which IOS since i don't have one <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    just found it out:

    http://iossupportmatrix.com/

    it would seem that iphone 4S and newer only support latest IOS, and iphone 4 can have 7.1.2. as latest which has a really slow webview.

  • interesting, it used to be free like a couple of months ago, didn't know they changed that.

  • hey

    Ashley - i've cleaned all the behaviours with Web Analyzer and will leave clean versions on my dropbox, download file is here:

    https://dl.dropboxusercontent.com/u/136 ... thLint.rar

    i've also replaced them in html/exporters, ran a project and everything seems to be smooth, no errors, no bugs, seems to be okay.

    i'll go clean plugins next. and then the JS files in html5/exporters

  • interesting, might be beause edge has a better JS engine currently (the best by performance at least as i've read online)

  • ofcourse bad logic can lead to bad performance. maybe not as much in events as much in the underlying engine, but you can do it with logic too.

    the hardest part is determining what slows down your game, but that's why we have debugger

  • another thing to notice (for semicolons) .

    http://www.bradoncode.com/blog/2015/08/ ... insertion/

    it would seem that a lot of things are processed if there is a missing semicolon, valid tokens get immidiately to read the next one, but the ones missing seem to do a bit of overhead. (check image "putting it all together")

  • because inspect tab checks for loads of variables that have to be refreshed each tick, therefore the slowdown doesn't happen because of number of objects / what you did on the scene, but because debugger has to update lots of values.

    it's a good thing that you can add to watch variables that only you are interested into, and change tab, which then shows the real performance. ofcourse if you watch too many vars you can get the same slowdown on watch tab too i think best to check fps/cpu/etc is to create your own ingame debugger and debug with it, turnable by some letter / variable

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i don't know where you got it's a small database but ok.

    also creating a UWP will get you pc/tablet/phone/xbox all in one.

    also - http://news.microsoft.com/bythenumbers/

    maybe mobile is small in comparison to android/ios but overall microsoft has more users that ios and android together <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> (since there is no android pcs and such)

    whatever you choose it's fine with me, but if you want to maximize your revenue i'd go for all platforms, each penny counts <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • will it be available on windows store too? (developer accounts are free now)

    if it will be, notify me and i'll check the game, i've got lumia 930 currently only on disposal for testing games, no android / ios phones yet

  • hey everybody..

    Ashley - i have a question (or few), i've exported html 5 pure empty project with nothing in it, nonminified, and i've noticed after running it in visual studio and some web analyzer that a lot of bugs suddenly appears (as you can see on image).

    http://i.imgur.com/vsHNsFp.jpg

    now i've ran through these warnings and stuff and i've noticed that some are really "heavier" bugs that might cause some overheads when compiling / running because they create exception objects and traverse upwards until they find a catch statement to be thrown or caught. so this might be a problem maybe that is flooding c2 currently.

    i've also attached a c2runtime.js that is cleaned of these bugs, you can use araxis merge / kdiff and compare it to normal exported empty project c2runtime.js to see the changes and tell me what you think? could you insert those fixes for next release? (they might not improve performance and all, but they might create more stability though)

    https://www.dropbox.com/s/124wyh4f20f4p ... me.js?dl=1

    p.s. if you wonder how i found those bugs - download visual studio 2015 community, install everything (cordova tools and all), export empty project, open visual studio, create blank apache cordova app, copy c2runtime.js to www/scripts folder, open tools, extensions and updates, find Web Analyzer tool, install, restart VS, and open again the same project and opet c2runtime.js in visual studio, after a few sec it will show you errors like on picture above.

saiyadjin's avatar

saiyadjin

Member since 19 Jul, 2014

Twitter
saiyadjin has 2 followers

Trophy Case

  • 10-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies