intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Dec 15, 2018 9:39 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Cover art
PostPosted: Sun Sep 16, 2018 11:11 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 390
I have entered my game into IFComp, and have just uploaded my cover art to the IFComp website, however I don't understand how to attach my cover art to the game itself. I know that I can access the default images via the Release folder (Cover.jpg, and Small Cover.jpg). I have created my own cover art for the game, but before I do something like renaming it with the same file names as the default images and then telling the computer to replace the defaults with my image(and then adding the line 'release along with cover art' in the source code), I thought I would ask you all how to do it. I read 25.8 in the manual, but it doesn't seem to be clear on this point. My apologies if this question has been asked before or if I don't seem to understand what the manual is saying. But do I have the right idea--by renaming my image (Cover.jpg, and Small Cover.jpg) and opting 'replace' if/when the program asks me to, and adding the 'along with cover art' line...??

Thanks


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Sun Sep 16, 2018 12:40 pm 
Offline
User avatar

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2806
Location: US - Central
Cover art is both a separate file, and I believe coded into the .gblorb. It has to be called Cover.jpg (or png) and Small Cover.jpg (or png) to be written into the file.

Whether cover art shows up or not with no author interaction as generated is up to the interpreter - Gargoyle doesn't bother, Zoom shows the cover art briefly before starting, and Winglulxe shows a splash page with the cover and some of the library info with a play button. If you release with a website and an interpreter, the separate files display on the web frontend.

You can make your art show up within the game by declaring it as a figure and displaying it (see 23.5 and onward):

Code:
Figure of logo is the file "cover.jpg". 

When play begins:
     display figure of logo.


You have to make a figure folder inside of the materials folder and also include any picture you want to display there. In this case where you want to show the cover art in the game as "figure of logo" it needs to go both in materials and in materials/figures.

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io/


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Mon Sep 17, 2018 2:43 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 390
Thank you, Hanon. I will give it a try!


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Tue Sep 18, 2018 10:13 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 390
By the way, Hanon, it worked--I was able to substitute my cover art and the thumbnail for the defaults, under Cover.jpg and Small Cover.jpg. My interpreter is Windows Glulxe, and I have the game release with the website (of course not until after the IFComp). By the way, if I have the line 'release along with ...website' line in my game, and it is entered into the IFComp, would this disqualify it..?? (the IFComp website says that when the competition begins, the games are released to the public--when my game is released like this, would that line automatically make it available to EVERYONE, including judges??).

Thanks so much.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Tue Sep 18, 2018 2:05 pm 
Offline

Joined: Tue Jan 22, 2008 5:55 am
Posts: 1416
Location: The Netherlands
Don't worry. It means that Inform generates a website in your release folder. But this website is not automatically put online. Unless you do that yourself, it is just some files on your harddisk, not accessible to anyone.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Wed Sep 19, 2018 7:43 am 
Offline
User avatar

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2806
Location: US - Central
If you release along with a website and an interpreter and zip so that index.html is in the top layer where the website can find it, when you upload that zip as your file to the IFComp site, you'll get the Play Online button. Your game will run directly on the website without the player needing to download it. If I recall correctly, basically that means zipping up the contents of the release folder as they are (the files and subfolders in the release folder, not the release folder).

You can upload your game at any time (also update and remove it if necessary) and preview how it will look on the IFComp site to test it even before it's done - your file won't be made available or public until the voting period begins. I highly recommend that so any deadline uploads won't be you tangling with technical details at the last minute.

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io/


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Wed Sep 19, 2018 10:15 am 
Offline

Joined: Sat May 07, 2016 5:57 pm
Posts: 390
Thanks a lot, guys!

I was able to preview and got the 'Play Online' button (along with 'Download' and 'Walkthrough')--and I was able to play the game online, and it worked just fine!

Thanks again!


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Cover art
PostPosted: Sat Sep 22, 2018 11:30 am 
Offline
User avatar

Joined: Tue Dec 07, 2010 6:58 am
Posts: 297
Location: London, England
It's not working for me. I released my I7 game with a website, and I put everything in the release folder into a zipped file, but when I click play online, I get the message "Quixe init: Error: This is not a valid Glulx file. This is not a valid Glulx file. Error"

Any ideas?

[Edit: Problem resolved. My browser was caching the faulty version.]

_________________
My IF Blog: https://jjguest.blogspot.com/


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group