Ashley's Recent Forum Activity

  • What about my question of WebGL games running in exe files? >_>

    Oops, I'm trying to read too quickly again. WebGL could run in an exe file, but it would be better if we made a proper OpenGL exe runtime. We plan to, but we've got a lot to do first.

    On a sh*tty computer where neither game plays 100% ideal, would they perform about the same or would the game using Construct 2 play either significantly or a bit worse?

    It's a bit complicated: if the performance is bottlenecked by rendering (it can't keep up with drawing), they'll run the same, since they're doing the same thing on the graphics card. If it's bottlenecked by logic (the CPU stuff), then it could run half as fast in C2. However, in my experience, 2D games tend to have fairly simple logic, and spend far longer on rendering. So I would say it's likely that 2D games will run the same in both WebGL and as an EXE.

  • You must've missed this sticky!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you think Steam would consider selling WebGL games and would WebGL games be able to launch like a normal exe files?

    I've no idea - best to ask someone at Steam.

    ow much more is OpenGL limited in performance than WebGL when it comes to efficiency?

    Modern browsers compile Javascript to machine code, and both OpenGL and WebGL run on the graphics card so are equally fast there. So the graphical rendering shouldn't be any slower, but the game logic might be a bit slower. However, in a couple of years it will likely be in the region where it's about 2x slower than C++ - for most games, that's fast enough. Remember you only need to hit 60fps to get a perfectly smooth running game - any framerates above that are wasted CPU. So if your DirectX game can run at 120fps uncapped, it's likely it will be able to run just fine in WebGL in future.

  • INI is an ancient format - from the Windows 3.1 era. I've been planning to replace it with XML features in C2.

  • We don't mind taking questions on the forum - in this case though it was covered in the comments.

    The currency in the blog post is pound sterling (GBP) since we're based in the UK. I think there's a technical issue with character encoding that means it doesn't look right for everyone. Let me try again... �19 (that should be a pound sign).

  • You do not have permission to view this post

  • Eventually we want to support WebGL in C2 (there's a lot of other stuff to do first though, so it probably won't be soon). WebGL will allow browser games to equal Classic in terms of graphics: shaders, 3D, the works - and it will run everywhere! Everywhere, except on Internet Explorer, which shows no sign of supporting WebGL, probably simply because it's a threat to DirectX. For IE, you'll still be able to use a canvas fallback.

    It's a tricky thing to advise, but in the long term (say, 1 year) C2 should be a better option - you should then have all the graphical effects, and all the platforms (except IE, with Canvas fallback). On the other hand, it could be longer, and in the meanwhile Classic is working OK. So it depends how long you're willing to wait.

  • You do not have permission to view this post

  • Yeah, sorry, I read the PM. I never got round to replying just because we're knee deep in work, endless todo lists, etc. You're basically right though, tile maps are important and we need to do them.

  • You do not have permission to view this post

  • I don't think Unity have anything like events - it was some kind of flowchart-coding plugin they had. But they tried to push it as a non-programming solution.

  • Also, is there any way to directly inject JS through a plugin? As in the user defines a JS script to be executed as an event.

    Yes, through the eval() function, but if done incorrectly this can open up security vulnerabilities, and might not survive the minifier. So I don't think you should do this.

Ashley's avatar

Ashley

Online Now
Early Adopter

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

Twitter
Ashley has 1,828,709 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