Ashley's Recent Forum Activity

  • Try this:

    http://www.scirra.com/labs/sbmobileweb3

    It's "Space Blaster" adapted for touch control. I haven't publicised this much though because it has a few problems:

    • there's no sound because Safari doesn't support HTML5 audio properly (this can be worked around with the PhoneGap or appMobi containers)
    • it was designed as a desktop game, so it's too intensive to get good performance on an iPad 2 (it will be worse on iPad 1). Games need to be designed to be simpler and less intensive to work well on mobile, but I haven't had time to do this
    • there's no way to stop Safari changing orientation, which can mess up the game at certain points. It's designed for portrait
  • I think the main trouble with new exporters which people aren't really thinking of is third party plugins and behaviors. There are already over 100 topics in the Plugins forum, and think about a few years down the line, especially if C2 increases in popularity. Imagine there being 1000 third party plugins. It's great that C2's extensibility makes it more useful to a lot of people, but on the other hand it causes a disadvantage with new exporters.

    Take a new C++/EXE exporter: after a lot of work it may be possible to have an official runtime working. However, what do we do about the 1000 third party plugins? That's years more work if we try to do it ourselves. Then, the Javascript SDK is designed to have an extremely low barrier to entry: you can just pop open Notepad and type some javascript you remember from web page development, and you've got a new plugin. For a C++ exporter, plugins would likely also have to be written in C++. The tools are much more complex for this (e.g. Visual Studio is a lot more complicated than Notepad, especially if you get build errors), and the C++ language is *much* harder than javascript, you need to worry about memory and pointers and such and a great deal of things javascript takes care of for you. Not only that but if you're porting a javascript plugin to C++ double care has to be taken to ensure it's *exactly* compatible, to ensure ported projects actually work the same (otherwise there will be subtle and frustrating differences when you port your game). The question is how many javascript developers are up to this, especially if they're just hammering out a plugin in notepad in their spare time? I anticipate the majority of plugins would not be ported. Then, the majority of existing projects cannot be ported anyway due to their dependence on third party plugins. You can design a project from scratch using just the right set of plugins but one of the strengths of keeping the HTML5-only approach is all plugins automatically work on all platforms without any worry whatsoever.

  • I don't think either PhoneGap or appMobi's audio engines support looping.

    PhoneGap supports the 'On ended' trigger, so you can do 'On music ended -> play music'. I haven't managed to get appMobi to support that one yet though, so for appMobi you'll just have to do something like "Every 30 seconds -> play music" (and work out how long the music track actually is).

  • This has been on the todo list for ages, I'll try bump it up.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think the OGG encoder simply doesn't support such low frequencies - 8 KHz is pretty darn low. Have you tried using another tool to upsample it to say 44100 Hz?

  • Remember Adobe have already announced they're stopping development of Flash for mobile, so HTML5 is probably better in the long term for mobile gaming.

  • imothep85, Construct 2 supports WebGL and my last benchmark can get 14000 sprites on-screen at 30 fps. So it should be able to do 7000 at 60 fps already.

  • Well, I've said it before and I'll say it again, right now other exporters are not even an option! We're a tiny 2-man team and the HTML5 exporter + runtime has been in development for over a year, and we're still tweaking and adding stuff to it. It's just impossible for us to take on such a large project. Other companies either have more resources, or less features and no third-party plugin system which makes it much easier to write ports since there's a great deal less technical complexity. We're also still too small to safely throw money at the problem and just hire a bunch of people to do it. On top of that, we genuinely think it's only a matter of time before HTML5 is really fast and great for mobile games. We're a little ahead of time, really. And I cannot think of anything worse than spending time we don't have developing iOS/Android native runtimes, then by the time we're done, HTML5 is fast anyway so all that time was wasted. Not only am I happy to wait it out, it's our only option really.

  • Having your site go down when you turn your computer off is a pretty big downfall!

    And if you're running a server from your own computer, most ISPs have conditions saying you're not allowed to use your computer as a server, so they may end up blocking your connection as well. Hosting is really cheap, TBH it's best just to get a cheap paid host, there's a lot of benefit to that.

  • You do not have permission to view this post

  • Good point, will add to next build.

  • : the reason WebGL is not always supported is browsers blacklist certain drivers for security reasons.

    In our EXE wrapper, we can turn off the blacklist, so WebGL is always on and enabled regardless of the user's computer. That should help ensure the EXE is always fast.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,773,986 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