HTML-5 and Linux

27 views
Skip to first unread message

Keith Weatherby II

unread,
Aug 2, 2015, 5:43:55 PM8/2/15
to HaxeFlixel
I'm in Windows, and dev using flash because of the debugger, and so more people can test my game on the web.  For various reasons some people won't or can't use flash and so I decided to build an html-5 version for them.  It works pretty well, however I get complaints on those using Linux that the timing is way too slow like it's an update problem.  I can't really test for this because I don't have linux, and was only building an html5 version for courtesy (also to get me more testers).  Does anyone know why an html-5 build doesn't run very fast on linux?  Is there anything I can do to get to the bottom of this slow down short of installing linux?

Thanks.

Ashiq A.

unread,
Aug 2, 2015, 5:55:13 PM8/2/15
to haxef...@googlegroups.com
Did you consider installing VirtualBox and running Linux on that, either as a real VM or out of the Live CD? Ubuntu allows you to download the ISO and insert it as a CD and just run it like that, without installing anything else on the VM.  That might be ideal for your case.

On Sun, Aug 2, 2015 at 5:43 PM, Keith Weatherby II <uhf...@gmail.com> wrote:
I'm in Windows, and dev using flash because of the debugger, and so more people can test my game on the web.  For various reasons some people won't or can't use flash and so I decided to build an html-5 version for them.  It works pretty well, however I get complaints on those using Linux that the timing is way too slow like it's an update problem.  I can't really test for this because I don't have linux, and was only building an html5 version for courtesy (also to get me more testers).  Does anyone know why an html-5 build doesn't run very fast on linux?  Is there anything I can do to get to the bottom of this slow down short of installing linux?

Thanks.

--
HaxeFlixel Development Community
See our github https://github.com/haxeflixel/ and our documentation http://haxeflixel.com/documentation/
---
You received this message because you are subscribed to the Google Groups "HaxeFlixel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haxeflixel+...@googlegroups.com.
Visit this group at http://groups.google.com/group/haxeflixel.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/17aa266d-8fa2-4d1c-904c-b125df8a9fb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Keith Weatherby II

unread,
Aug 2, 2015, 9:13:46 PM8/2/15
to HaxeFlixel
I'm computer savvy just not *that* savvy.  So no, I don't know much about virtual machines and what-not.  Mostly I'm wondering if others have ran across this (html5 haxeflixel games running slow in Linux), or if it's just my game.  Even if I got everything set up I wouldn't know how to go about figuring this out.  Considering that html5 support is still spotty, and the fact that haxeflixel uses bit5 and I'm running an older version of haxeflixel/openfl/lime so I can build the html5 versions, there's potentially tons of different layers to go through to figure out why this is slow in browsers running on linux.

Ashiq A.

unread,
Aug 3, 2015, 12:05:57 AM8/3/15
to haxef...@googlegroups.com
There's nothing like debugging live on the target OS to see what the problem is. It's not that hard, actually; unless you want proper/good integration (eg. easier mouse extension, a proper resolution above 800x600) you can get by with a bare-bones VM.

Steps to do it would be:

- Download VirtualBox
- Download the Ubuntu VM
- Launch VBox and create a VM, with maybe an 8GB drive. Through their wizard. (It's quite easy.)
- When you launch the VM, through one of the file menus, pick the CD drive, and pick the option to mount an ISO
- Linux should boot and you click the big "live CD" option

Anyway, it's your call. It's not exactly trivial to test this either.

--Ashiq


Reply all
Reply to author
Forward
0 new messages