Sorry if this has been answered elsewhere—I couldn’t find a solution here or in the Choicescript documentation on the CoG website.
I’m having trouble with getting .png files to show up in-game when I export and open the game as an HTML file. This doesn’t happen when I test the game through index.html or when I host a server through serve.command (before I export it).
This is what it looks like when I run the game through index.html or serve.command:
And this is what is shown after I open the exported HTML file:
The same goes for every in-game picture. If it helps diagnosing the problem, this is what I get when I export the local server:
HTML message
Loading...
Extracting js data from:
version.js
../persist.js
../alertify.min.js
../util.js
../ui.js
../scene.js
../navigator.js
mygame.js
Extracting css data from:
../style.css
../alertify.css
Searching for scene files...
startup.txt
choicescript_stats.txt
choicescript_upgrade.txt
titleScreen.txt
prologue.txt
chapterNaming.txt
name_generator.txt
codename_generator.txt
surname_generator.txt
picking_powers.txt
checkpoints.txt
theShow.txt
theShow2.txt
detectiveMc.txt
publicOpinion.txt
xpDistribution.txt
levelUp.txt
recurrent_tests.txt
afterParty.txt
theQuestioning.txt
flittingOut.txt
mentorsMessage.txt
tailor.txt
baseHub.txt
ghostling.txt
catacombs.txt
tellingTales.txt
marseille.txt
afterCatacombs.txt
trophyRoom.txt
backBase.txt
veracity.txt
thaumaftermath.txt
mentorsBase.txt
cityHall.txt
teamNames.txt
veraBlair.txt
veraRed.txt
veraBurg.txt
veraDealer.txt
veraBoss.txt
hqParty.txt
truthOrDare.txt
redCast.txt
blackout.txt
lastHurrah.txt
friendFall.txt
villainCodename.txt
ending.txt
Game title set to: Unsupervised
Author set to: Lucas Zaper & Morton Newberry
WARNING: No *ifid. Refreshing the browser tab will erase all progress.
You can use this randomized IFID: *ifid 44845bc8-1924-40b6-898d-0713e307f851
Combining scene files...
Assembling new html file...
Export Complete!
Click here to download your compiled game.
Lastly (and most importantly), does this have any effect on images showing up in the published game (Steam, iOS, etc.)? I guess not, right?
Thanks!