Ashley's Recent Forum Activity

  • Heh, don't forget we still need to have lots of people testing to make sure the stuck-keys bug is gone too, I can't be certain myself that that one is fixed!

  • Hi all,

    At last, some progress! I took the time to write up a full bug reproduction with minimal code at scirra.com/labs/chromebug That should really help Google engineers figure out what's going wrong, since picking through the entire runtime would be really tough for them.

    While making the bug repro from scratch, I actually found a workaround - it seems the way you handle mouse events affects the delay in keyboard input! Anyway, I made a tweak to the Mouse object to include this workaround. You can try it here:

    http://dl.dropbox.com/u/15217362/newmouseruntime.zip

    Just paste the runtime.js over your <install path>\exporters\html5\plugins\mouse\runtime.js. For me, this fixes the keyboard-input-delay bug. However, since the stuck-keys bug is so sporadic and rare, it's hard for me to tell if it's fixed that too. So could you lot try out the patch and see if you can get the stuck keys bug to come back? If everyone tries for a while and nobody can bring it back, it may also be fixed... but it will be hard to tell unless loads of people test it and we can be sure it's gone.

    I think even without the workaround it's a legit bug in Chrome, so it's still useful to have it reported and hopefully fixed regardless.

  • You should only target iOS 5+ for mobile HTML5 games because it literally is several times faster, I would not expect HTML5 games to work on iOS 4 at all.

    JS beautification is not reverse engineering. It just adds whitespace to make it more readable. Since all references to plugins, behaviors, actions, conditions and expressions have been mangled, it is extremely difficult to extract a project even from beautified code. For example, in the script, "cr.plugins.Sprite.prototype.SetX" (Sprite's Set X position action) will turn in to something like "c.x.mF.prototype.q$", making it indistinguishable from any other action, condition or expression in any other plugin or behavior. You still have a long way to go after running jsbeautifier!

  • Have you looked it up in the manual?

  • Thanks for sharing your thoughts! It's always interesting to read analyses like this, and thank you for your kind words about Construct 2. However, I disagree with some of your points :)

    the game I'm making for the rotary competition has been stripped of almost everything effect wise I had in mind at the beginning because my pc (that can run crysis in ultra) couldn't get past the 30fps mark with incredible lag spikes.

    Was it running in WebGL mode? WebGL usually solves any performance issues. If not, updating your graphics card driver can help, but yes, it's a problem that you have to do that. With WebGL enabled, it's going to be pretty close to what the native performance is, so WebGL really is the future of high-performance web games. One of our WebGL benchmarks on my computer got over 14,000 sprites on-screen at 30 fps in Chrome. That's vastly more than most games need to keep a steady 60 fps.

    f I try to run the same game on an iphone it never gets past 2fps

    Is that iOS 5? We're aware of performance issues on mobile and we're working on some things to make it work better with HTML5 (not whole new exporters). Hopefully some things will be appearing in the near future. Performance tips also has some advice, and since mobile devices have much weaker hardware and currently have weaker software too, you should not expect a game that runs well on desktop to run well on mobile - you have to design it for mobile from the start. With some careful tweaks, I could get Space Blaster working at about 20-30fps on iPad, but admittedly it still wasn't great. The performance tips article has some advice specifically for mobile.

    ot only this, but with html5 I can steal the entire content of a game with a couple of clicks, exposing code and especially assets that can be recycled in other games (and then good luck in court).

    A common misconception is that the code can be stolen - if you enable 'Minify script' on export the code is mangled in to an unreadable mess, object names are removed, and so on, making it near-impossible to reverse engineer your project. Yes, it's easier to steal images, but your events and logic and project setup are probably safe, and there's always copyright legislation on your side if anyone nicks the images.

    he way I see it the future of casual gaming is in the mobile market be it android or iOS and in cross platform development for indie games (just take a look at all the indie bundles) but absolutely not html5

    "A good hockey player plays where the puck is. A great hockey player plays where the puck is going to be." We're certain HTML5 is the future of gaming on both desktop and mobile. Yes, it's not there now, but it will be. When we started the HTML5 exporter no browsers hardware-accelerated it so it was really slow everywhere. Now, with WebGL, it absolutely flies, it's just mobile is a little behind desktop. For example, Google just released a beta of Chrome for Android, complete with the super-fast V8 javascript engine and GPU-accelerated canvas, and I'm sure they're going to add WebGL in future too. That's where the puck is going. It's no more of a fad than Flash was.

    ou should just consider creating other exporters.

    This one is pretty easy to answer, not just because we believe HTML5 is the future, but because we can't. For some idea of the time scales involved, we started the HTML5 exporter in January 2011, over a year ago, and it's still not done. We can't yet afford to hire anyone else, so taking on another huge project like another exporter would be suicide for us - we'd have lots of stuff being worked on, and nothing finished, which would make us uncompetitive. Also, given the time scales, by the time we're done, HTML5 would probably have become really solid great platform on mobile anyway! So we'd have wasted our time. We're more than happy to focus on HTML5 only for the time being, since we believe in it 100%, and can't actually afford the time to work on anything else. It's where the puck is going.

  • Maybe I can add that feature instead then :P

  • Drawing circles is actually kinda tricky unless you just load a circle texture and draw that. Does that sound OK?

  • I'm afraid I can't say for sure, we can't really give ETAs on features.

  • Have you read Performance Tips? How many objects do you have created and which renderer is in use?

  • See Performance tips:

    ize, angle or opacity of sprites/tiled backgrounds has no effect when hardware acceleration is in use.

    Generally textures 1024x1024 or smaller should work on all devices.

    Forget the power-of-two thing.

    Performance depends on the system, you need to test on a range of devices.

    Only things which are visible on the screen affect the framerate, unless you have really intense events or complicated behaviors like lots of pathfinding going on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Suggestions noted on the todo list.

  • We're hoping to add better integration in the near future so ideally CallJS will just be a temporary measure!

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,773,375 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs