Jump to content

Running PixiJSv4 Project *Locally* On Google Chrome?


JeZxLee
 Share

Recommended Posts

Hi,

Been a while...

I have a problem:
My favorite desktop is a slow custom thin client.
I run Linux Mint 18.2 KDE 64Bit on the thin client with a Win 10 virtual machine.
On Win 10 VM there is no hardware acceleration so WebGL won't work - so that's a lost cause.
On native Linux Firefox there is no hardware acceleration so the game runs too slow in HTML5 mode.
On native Linux Chrome there is hardware acceleration but the game does not run locally.

So that's my problem.
How would I get PixiJSv4 game to run locally on Linux Chrome?
I am using Linux Mint 18.2 KDE 64Bit with a rather crappy Intel HD GPU.
I remember there is some method to run the PixiJSv4 locally on any browser, but I forgot what it is.

Any help would be appreciated...would really like to use the thin client desktop with PixiJSv4 game dev.
Thin client is over-clocked to 2.42GHz with 4 cores and has 16GB RAM w/512MB RAM dedicated to the Intel HD GPU.
(also, I absolutely will NEVER run Windows native on ANY of my computers EVER, so don't tell me to try that)
Thanks in advance!

JeZxLee
 

Link to comment
Share on other sites

You have basically these options (as far as I know)

1. Use a browser supporting local files. (For example the NWjs in the previous post)
2. Creating a local web server and hosting files through that. I use a small python server whenever I need to run something locally outside of development.
3. Use a tool like Fiddler to create response from  local system on certain urls. (I use this method)
4. Run chrome with --allow-file-access-from-files flag.
5. Put everything you need to load inside js file as base64 and parse the data dynamically. (not recommended)

Link to comment
Share on other sites

Hi,

Thanks for all the suggestions.
I modified my Linux menu to open Google Chrome with "--allow-file-access-from-files" flag.
Now I can use the slow thin client desktop with WebGL game dev and Linux Chrome locally.

Many thanks!

JeZxLee

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...