Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- graphics {
- // The png file will be read from the same path as the game html file
- blah : png "mypng.png";
- // This file should be referencable from anywhere (but only if playing
- // online).
- // Absolute paths can be convenient in development, but for packaging,
- // relative paths are better.
- blah2 : jpeg "https://somedomain.com/somepath/myjpeg.jpg";
- }
- //pre-cache linked images
- game_settings {
- precache_strategy = precache_all
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement