I would like to get info about the following?

8bitDev

  • Posts: 23
Hi

I have several questions that i need help with to resolve them:

1-I am trying to add exit option to my games on desktop platform(Windows,Ubuntu,Mac OS export).

I seen that you can exit game by pressing alt+f4,but how can i built this in image(on the scene)that when you click on it(mouse pressed)you can actually exit the game,basically turn OFF button on the screen???

2-I am suing latest Ubuntu LTS 14.04.3 (64 bit version).

Testing games works,export is done,but when i try to run the game

Could not load module std@get_env__1

Please message me how to solve this problem??

3-I am also having problem with chrome web export
I did messaged once about this,now i tried the same on WIndows besides the ubuntu,and i actually have the error message on the windows displayed comparing to ubuntu,so please check it out and message me how to solve this problem?

If you need log reports or more info,please message me here in reply!!!

Regards


8bitDev

  • Posts: 23
Thank you,got around that one,with other problems still no luck!!!

Regards

Denver2003

  • *
  • Posts: 19

2-I am suing latest Ubuntu LTS 14.04.3 (64 bit version).

Testing games works,export is done,but when i try to run the game

Could not load module std@get_env__1

Please message me how to solve this problem??
Hi
I also have same problem in ubuntu. 
Have you decided this?

8bitDev

  • Posts: 23
I messaged on several places but no one seems to reply regarding to this problem.

I filed officially this problem as a bug,so basically its everywhere that it can be at the moment.

Sad thing is i purchased this mainly for ubuntu export and it does not work for months!!!


Justin

  • *
  • Posts: 4645
This is from a windows cppia build so it might not be exactly the same, but there should be a number of files alongside the game, including a std.dll/ndll/so/something.

Is this not the case for your exported game?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

8bitDev

  • Posts: 23
On Ubuntu and Debian based system only single .sh file is exported,its not the same as on windows.

Basically similar to single .exe file on windows,all necessary files  should be inside.

Is there any way that someone can take deeper look into this???


iii

  • *
  • Posts: 194
.sh file is just a shell script. Its not the same as an exe, its the same as a .bat file.

Its been a while since last I use Linux, been almost a decade.
But what I do know, any Linux game build with Haxe+OpenFL/Lime,
in your published Linux game's root folder,
other than your assets folder, the manifest file, and your game file,
you should have these few important files too :

-lime-legacy.ndll
-regexp.dso
-zlib.dso
-std.dso

These files are needed to start the game stand alone.
If for whatever reason they are not in there,
you can just copy it from these location (Linux or Linux64) and put it there :

../Stencyl/plaf/haxe/lib/hxcpp/hxcpp/bin/
../Stencyl/plaf/haxe/lib/lime/lime/legacy/ndll/

8bitDev

  • Posts: 23
Thanks a lot,bdw yeah my mistake .exe the same as .deb or .dpkg,package file!

Anyway i found the solution.

I realized just know that its enough to just go to

home>stencylworks>games generated>Game(your game name)>export>Linux64>cpp>bin

Simply copy folder anywhere ,because that is compiled game ,there is no need to use in game engine extractor(compiler),but it would be nice to see it fixed and working!!!

PS:

Make sure that permissions are properly set in order to get it to run on other computers



iii

  • *
  • Posts: 194
Whatever in your
../stencylworks/games-generated/[your_game]/export/

is actually created(compiled) after you've done a successful "test" or "publish" at least once.
If you haven't done either of those two, you wont even have that game folder itself.

8bitDev

  • Posts: 23
I done testing without any problem,export was the problem.
Anyway problem solved ;)