Just Adventure News : Addon: Endless Space: Disharmony will hit Steam on 26th of June Promotion: Her Interactive: Father's Day Weekend Sale Beta: Final Fantasy XIV: A Realm Reborn Beta Phase 3 Starts Today On PS3 & PC Press Release: First-ever early gameplay footage released for World of Diving Press Release: Master Reboot is now on Steam Greenlight! Press Release: MAGRUNNER DARK PULSE, a Lovecraftian screenshot and an exclusive early access Press Release: NeocoreGames Announces The Incredible Adventures of Van Helsing II Press Release: The Age Of Free-To-Play Has Dawned On Rift Gold: Jack Haunt - Pulp Mystery Point and Click Adventure released Press Release: DICE Heralds The Return Of Mirror's Edge
Home - Forum Home
Welcome Guest, please Login or Register!
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register or login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Topic: new to IF

    Page 1

8 MAY 2011 at 4:56am

west

Intergalactic Janitor
Intergalactic Janitor



Posts : 1
Joined: 8 MAY 2011

Status : Online
I have a game in my head that is primarily text based and REALLY want to use inform7 as the code. Mostly because I don't want the learning curve of HTML and PHP.
My big question is can you insert jpegs into the story? Say for instance a visual puzzle, an illustration of a key antagonist or a glorified game over jpeg.
I downloaded inform7, glimmr and Gluluxe.
Im afraid i am going to have to give url's in text descriptions in order to 'show' these pics. Pretty lame if that is the case.
Any tips? Sorry if the answer is obvious, i just discovered inform yesterday.

Profile Search


10 JUN 2011 at 6:59pm

mike111

Intergalactic Janitor
Intergalactic Janitor



Posts : 6
Joined: 9 JUN 2011

Status : Online
there is a way
The pictures then need to be put in a special place where Inform can reach them. Suppose the Inform project is called Example.inform. Then we need to create a folder alongside it called "Example Materials", and create a further folder inside that called "Figures". The actual images go inside "Figures". So we might then have files like so:


Example.inform
Example Materials
   Figures
       Woodlands.png
       Blackberry.jpg
       Red Admiral Butterfly.png


Inside Inform, the source text for a project always tries to avoid talking about filenames - we need a better way to refer to the individual figures.


We do this by declaring each figure with a sentence like the following examples:


Figure of Woodlands is the file "Woodlands.png".
Figure 2 is the file "Red Admiral Butterfly.png".


display (figure name)This phrase causes the figure to be displayed in the centre of the screen visible to the player. If the option "one time only" is used, it will have no effect if the figure has been displayed before. Example:


display the Figure of Woodlands;  


Hope this helps!

btw only works on glulx so switch your release format from z machine to gblorb.

Profile Search

    Page 1

Jump to:
0 Members Subscribed To This Topic