Ashley's Recent Forum Activity

  • You do not have permission to view this post

  • The Mozilla Developer Network (MDN) is the best place to look this stuff up.

    HTMLImageElement (which inherits from Element)

    Image doesn't actually do much - you'll probably want to manipulate it via the canvas methods:

    HTMLCanvasElement and CanvasRenderingContext2D

    Construct 2 uses the canvas method to generate new images for auto-mirror/auto-flip. Beware of browser security limitations though: no image manipulation methods work on the file:// protocol for security reasons, so anything you do will only work in HTTP mode.

  • To simulate left and right you need to use the "Left arrow key is down" (i.e. the continuously true event) rather than the "On left arrow key pressed" (i.e. triggered).

  • Thanks for the input everyone, it's good to hear these opinions. Here's my comments:

    Is making an EXE wrapper much more feasible than a full exporter?

    Yes, it is actually, and could be relatively straightforward to do. However, I'm worried about causing confusion if we do later release a "native" EXE exporter - I anticipate a lot of users confusing it with the HTML5 "wrapper" EXE, or not being clear on the difference (it may seem obvious to experienced users, but remember Construct 2 is aimed at largely non-technical users). So I would prefer it to be an "unofficial" or third party option, not integrated with the editor. Some people posted some links a while back already - perhaps it'd be worth double checking how well those work?

    is it possible to play HTML5 offline?

    Someone's already confirmed you can, but I just want to link you to this tutorial on offline support which has more info.

    The first thing I do when I find a good browser based game, is look for a way to download it and play it in fullscreen.

    Try making a game using one of the 'fullscreen in browser' options. Then hit F11. In the top 3 major browsers, you're now playing in hardware-accelerated fullscreen. Fullscreen gaming is perfectly possible in HTML5. The main barrier is people aren't used to it - like you say you assume you need an EXE to play fullscreen, but it's perfectly possible to do it in a browser, you probably have just never hit F11 to play a fullscreen browser game before.

    There's even a Fullscreen API for HTML5 in the works.

    Can HTML5 support controllers/gamepads on windows/linux/mac?

    Mozilla are working on a Joystick API for HTML5, which they'll probably push to have standardised. So hopefully real joystick and gamepad input (not joy2key) will be possible in HTML5 games.

    Overall I think there's a big culture shift here - who expects to visit a web page and start playing a hardware-accelerated fullscreen game with shaders controlled by a gamepad which also works offline? However, it seems this will be possible in the near future. Then, remember that to download and install an EXE, the user must go through several intimidating security warnings. Added to that there's a very small but genuine risk of viruses, malware and adware whenever downloading EXEs from the web. Some non-technical users are advised simply never to download EXEs from the web as a general rule. Compare that to an ordinary web page.

    HTML5 is a work in progress, but I think in the near future it will be doing a lot more than you expect!

    Disclaimer: I'm still not saying we won't make an EXE exporter. HTML5 is unlikely to ever out-perform a native EXE, so there's still a solid case to make an EXE exporter for performance reasons. My main argument is that I don't think fullscreen or offline support require an EXE exporter, because HTML5 can do it already, people just don't realise.

  • You do not have permission to view this post

  • Will a web browser be able to play a huge open-world RPG, over a gigabyte in file size, aimed at computers with a minimum of 512mb of VRAM on their GPU

    Wow. That's a crazy big game for a tool like Construct. It's so big, an EXE exporter probably won't save you. You probably will have to use traditional programming tools to pull that off as an EXE, it's definitely far, far beyond what Classic can do.

    We aim for C2 to be able to make big games, but wow, I thought 100mb was about as big as anyone would ever get, ever.

  • You do not have permission to view this post

  • This is how PhoneGap works, which Construct 2 supports as of r65!

  • There is no space between sprites/tiles, but when Constuct renders them small gap appears.

    It's probably because you're scrolling to a floating point position (e.g. X = 2.5). Try enabling 'pixel rounding' in project properties.

  • That's weird, I've seen this bug before and have no idea how it happens. All you have to do is hit ignore then hunt through your objects for an object with a combo property that is blank. Click the dropdown and pick something from the list and it fixes it.

    How it ends up blank I don't know - I have checks in the editor to ensure nothing blank is set to a combo property, and nobody's ever reported that check failure...

  • Are you using the latest release (r65)? That fixed a common crash on save.

  • It's weird they would say that, since the latest official browser version statistics show that 73.86% of users are now HTML5 capable.

    The thing is, that number is probably for all HTML5 technologies, which includes a lot of unrelated web-page features that doesn't really apply to Classic. For good Construct 2 support I would only really count browsers with hardware accelerated canvases, which stands at about 50% of the web right now. Still, it's only a matter of time - basically we just have to wait for IE8 to die then we're sorted.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 21 Oct, 2026

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

Progress

32/44
How to earn trophies

Blogs