Advertisement
plirof2

adventuron TIPS

Oct 20th, 2023 (edited)
619
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. graphics {
  3.   // The png file will be read from the same path as the game html file
  4.    blah : png "mypng.png";
  5.  
  6.   // This file should be referencable from anywhere (but only if playing
  7.   // online).
  8.   // Absolute paths can be convenient in development, but for packaging,
  9.   // relative paths are better.
  10.  
  11.    blah2 : jpeg "https://somedomain.com/somepath/myjpeg.jpg";
  12. }
  13.  
  14. //pre-cache linked images
  15. game_settings {
  16.    precache_strategy = precache_all
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement