TannerRogalsky / love.js

LÖVE ported to the web using Emscripten
MIT License
493 stars 53 forks source link

Player not creating the proper game.data and game.js file #40

Closed bonez001 closed 8 years ago

bonez001 commented 8 years ago

I am done publishining a game as a html 5 game using python C:\Users\pc\love.js\emscripten\tools\file_packager.py game.data --preload C:\Users\pc\Desktop\Example_Game_1\ExampleGame.exe@/ --js-output=game.js

but for my second try, it doesn't output the correct file. What is worng?

TannerRogalsky commented 8 years ago

You should be packaging either your game folder or the .love file, not the .exe file.

On Monday, 26 September 2016, bonez001 notifications@github.com wrote:

I am done publishining a game as a html 5 game using python C:\Users\pc\love.js\emscripten\tools\file_packager.py game.data --preload C:\Users\pc\Desktop\Example_Game_1\ExampleGame.exe@/ --js-output=game.js

but for my second try, it doesn't output the correct file. What is worng?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TannerRogalsky/love.js/issues/40, or mute the thread https://github.com/notifications/unsubscribe-auth/AAn-U0lQgbexFZWaNUcxArkyNtyijcunks5qt59WgaJpZM4KGXpK .

bonez001 commented 8 years ago

Thanks for the reply. I tried to do it but it outputs files that have very little data 10-500 kb. When I put the game.data and game.js to the debug folder, it always outputs the sound and the screen of one previous game. I dunno what is wrong. Thank you.

bonez001 commented 8 years ago

I type this one _python C:\Users\pc\love.js\emscripten\tools\file_packager.py game.data --preload C:\Users\pc\gamecards@/ --js-output=game.js.

I dunno what is wrong. Maybe it has something to do with the conf.lua of previous game? I will try it on other pc.

TannerRogalsky commented 8 years ago

That looks right to me. What is the structure of the game_cards directory?

bonez001 commented 8 years ago

Hello. I made it again. I dunoo what is wrong last time.