sandy234 Posted September 28, 2013 Share Posted September 28, 2013 Is it possible to make a wrapper that can make html5 game in to a single file so that it can be viral-ed like flash. Quote Link to comment Share on other sites More sharing options...
AhmedElyamani Posted September 28, 2013 Share Posted September 28, 2013 Maybe you can include the javascript in your html page within the html page with <script> tag , and load the graphics from an external url. But why would you ever want to do that? Quote Link to comment Share on other sites More sharing options...
YellowAfterlife Posted September 28, 2013 Share Posted September 28, 2013 It is possible to mash the game into a single HTML file by inlining resources as base64 strings, but you loose preloader to that. Normally not worth it. If people have problems uploading several files somewhere, they may as well have problems with pasting 800KB worth of text data into their page HTML (assuming GameMaker: Studio was used for creation of game). Quote Link to comment Share on other sites More sharing options...
rich Posted September 29, 2013 Share Posted September 29, 2013 Wrapping it into a single file won't make it 'virable' (sorry I know I just made that word up, but you get the idea). If you need to make something who's sole purpose is to spread like that then I'd use Flash. Quote Link to comment Share on other sites More sharing options...
sandy234 Posted September 30, 2013 Author Share Posted September 30, 2013 If its a single file then it can be copy pasted like flash which will make it virable. At present we need to recode it in flash but if we can just use wrapper it would be great. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.