Showing images in offline squiffy Editor Output Tab

Hi there!

I wonder why there are nor images displayed when using RUN in the windows client of squiffy?
After BUILD my .svg images are shown in the browser. It would be nice if I could see them in Output while writing.

Any solutions?

Thanks!


Seems that squiffy forum is dead.....
also contact for this website...


K.V.

Hello,

I'm not very well-versed in Squiffy, but I thought I'd try to help out...


I believe the site is currently switching to a new server, as well as updating the online editors and players. So, that's why everyone may seem to be responding a little more slowly than usual.

Here's what I got to work:


EDIT:

First, here's an easy, quick, harmless test/example:

Link to the png that is already in the path (default folder).

In my system, the location is: C:\Program Files (x86)\Squiffy\resources\app. (I'm running Windows 10, 64 bit, and I installed Squiffy using the default settings.)

This the directory the Squiffy editor 'looks in' for images and such, and there's already an image file in there.

It's squiffy.png.

So:

@title local image in editor

<img src="squiffy.png" />


image


Now, here's how to get your image to show up. (This example will use an SVG, since that's what you're using.)


There are two ways to do this:

1. (Safest) Upload the SVG to a Gist on GitHub, then link to it:

@title SVG

You can upload an image to a folder on GitHub instead of messing with the local directory. This will work in the editor as well as the finished product (as long as the link remains active).

![image](https://user-images.githubusercontent.com/30656341/29237670-bad4a1a6-7ee8-11e7-8e57-588283cdc93b.png)

image


2. Add the image file to the directory to which the editor's path is set:

NOTE: If you don't add the same image file to your game's default directory as well, the finished product will NOT include the image.

WARNINGS:
1. I don't work here!
2. This requires Administrator privileges and may cause irreparable damage to your system, game, and/or anything else which I may or may not have just mentioned! (It didn't appear to do any damage to my system, though.)

image

@title SVG

<img src="NewTux.svg" />

image

Here's the path (in my system, which should be the default setup):

C:\Program Files (x86)\Squiffy\resources\app


Image from https://commons.wikimedia.org/wiki/File:NewTux.svg

The copyright holder of this file allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.
Attribution: [email protected] Larry Ewing and The GIMP


Hi K.V,

what a nice explanation. Thank you for that!

Seems a little bit impractical to copy all images from the project folder to the programm folder only to see them while writing, besause for BUILD they had to be stored in the project folder.
So I'll think it over to work as it is or try to change the editor source for displaying image from inside the project folder.

Thank you! :-)


K.V.

Hey there!

It's my pleasure! (I'm learning right along with you!)


I don't know if I was over-thinking or under-thinking things, but check it out:
EDIT: This will show up in the editor, but you must change the link before publishing the game or the finished product will contain a broken link!!!


@title local image in editor

<img src="../../../../../Users/kv/Documents/Squiffy-games/kv_avatar.png" 

image


That could be a way. But it is too difficult. I'll wait till they fix that or made a new feature out of it. Til then I use BUILD and see all immages.
Have success while learning!


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums