Ashley's Recent Forum Activity

  • Some browsers use techniques like double-buffering that make the game run faster - but this imposes a one-frame delay, so things like this are always one frame behind. It's typical of practically any game engine as well.

    You should not try and use sprites to replace the mouse cursor because of this problem. It can make input really laggy and frustrating. If you're just dragging around other objects, the delay shouldn't be a problem.

  • mercy, the way it detects the driver uses Windows Management Instrumentation, so I'm not surprised it didn't work!

    Kyatric & others - if it didn't detect the card, did the link to Device Manager work and allow you to find the name of the card? Was that process straightforward to identify + update the driver still?

  • Can you share the original .capx with steps how to reproduce the problem?

  • Can you share the .capx that does this?

  • Every existing EXE wrapper around HTML5 I've used (although I haven't used Pokki) has only used the WebKit layout engine instead of the full Chrome browser engine. Since WebGL, hardware accelerated canvas, the efficient multi-process architecture, and sometimes even the V8 javascript engine are in the browser layer, you don't get any of them. Which means you get really slow software rendering only in most of these wrappers. It makes the performance really bad.

    You really need a full browser engine to make it run fast. Since you can run from the desktop with the full browser engine in Chrome, and Mozilla are planning the same features and also intend to make a standalone EXE including the whole browser engine, that seems to be the way to go. Many of these other wrappers just don't have the performance to make large games work.

  • Before you start making a game this big I'd definitely recommend waiting for the staged level loader which is on the todo list (no ETA). It'll load layout by layout so it could probably get going after ~10mb of the download, while still downloading the other 90mb in the background. As it is, any user on a slow connection will probably not even bother clicking a game so big. The offline cache helps since it only needs to download once ever, but that's still a big download for anyone out of range of broadband, which is still a lot of people.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • No worries :)

  • I'll see if I can get mouse wheel events in the next build.

  • The resolution does not depend on the physical size. In fact, you should not use a specific resolution at all. Just set 'Fullscreen in browser' to 'On (scale mode)' in project properties, and the canvas will scale up to fit whatever size it is.

  • Hi all,

    Graphics card drivers are a bit of a problem both for Construct 2 and HTML5 in general. In Construct 2 old drivers can cause crashes and glitches. For HTML5 in general, many ordinary users have out of date drivers, and this causes their browser to revert to software rendering making the game run slowly for them. If they updated their driver the browser might enable hardware acceleration then the game would run super fast... but most people probably have no idea how to do that. I reckon this is the #1 problem with HTML5 performance on desktop.

    So I've done a little side-project to create a tool called the Graphics Driver Updater. This is a really simple program that tells you what your graphics card is, how old the driver is, and gives you a relevant link to go update it. It's designed for non-technical general users so it has a little bit of explanation and is meant to be as straightforward as possible.

    Here it is:

    <font size="5">Download the Graphics Driver Updater (beta 2)</font>

    (last update: 25th February 2012)

    Could you all give it a spin and let me know how it works for you? I'd love to get feedback on if you think it's clear, simple and straightforward. It should also accurately detect your graphics card and the driver date, but let me know if anything seems amiss. Also if detection fails you'll see a "Sorry!" message - would be interesting to know what your setup is in that case.

    Also I haven't tested on XP so would be reassuring if someone on XP could give me the thumbs up it works.

    If it all goes smoothly, I'd like to release this as an open-source general purpose tool. Any games or apps that need up to date graphics card drivers could use it. Also, if people complain to you about your HTML5 games being slow, you can send them to this tool so they can easily update their drivers, which is the most likely thing to make HTML5 games go faster. It's probably much better than trying to get an ordinary user to figure out what their graphics card is.

    The situation with graphics card drivers is total shambles. Many are poorly engineered or simply broken and many manufacturers do nothing to help people update them. It's been a huge pain in the ass while developing Construct 2 and will surely cause more problems in future for other people, especially in HTML5 performance, so I hope this tool can help make life easier for some others out there, because the people responsible for graphics drivers are not doing great IMO.

  • Does it work if you disable minification? If it does, usually it means a third party plugin is broken and does not work with the minifier. If you can reproduce this with no third party plugins, that proves it's a Construct 2 bug, otherwise I must assume it's a broken third-party plugin.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,831,036 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
  • x6
    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
  • x44
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs