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!
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:
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" />
@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)
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.)
@title SVG
<img src="NewTux.svg" />
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! :-)
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"
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!