hejohoo Posted May 8, 2014 Share Posted May 8, 2014 I am fairly new to html5. I am just wondering, since you give away the "whole package" when you upload or send an html5 game is it just the accepted standard that we are expected to just give away all our graphics in neat spritesheets? There is no way around this? Quote Link to comment Share on other sites More sharing options...
ultimatematchthree Posted May 17, 2014 Share Posted May 17, 2014 One option is to embed your images in your code as Base64-encoded data URIs. Examples of how to do this here and here. Another option, if you're using Haxe, is to integrate your images with your game as Haxe Resources instead of external files. Both methods do not make extracting the images from your game impossible though, just a bit more inconvenient. 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.