How to Add Your Friends

As you can see, I'm not a great illustrator--but, given that the pictures are small & have to have to be .GIFs (for transparency reasons), I think you can at least tell who each person is supposed to be. :)

If you want me to try to add people to the game, and TIME PERMITTING, I'll try to add them for future releases.

If you'd like to add characters yourself

this requires the ability to save GIFs with transparent backgrounds, & a little HTML/Javascript knowledge or the ability to follow badly-written directions :)

You'll want to make GIFs of the characters, facing Left, Front, Back, Right, called [name]l.gif (that's an "L", not a One), [name]f.gif, [name]b.gif, [name]r.gif. You'll also want to make a picture called "[name]flat.gif", in case they get flattened ;) Like all graphics, put these in the "e" folder. For example:
mariel.gif marief.gif marieb.gif marier.gif marieflat.gif

You'll need to enter them into the list of characters available. Open squishcharacters.js and add them to:

  1. l_options: add two new words: first, the name you used in their graphic ("marie" in our example); then, their full name as it's shown to the user ("Marie" in our example); This is so you could have a bigger "full name" than "graphic name"--for example, if you wanted Marie's name to be Jotaro_Kujouk, but didn't want lots of graphic files named jotaro_kujoukflat.gif
    For Example
    l_options =new Array('marie','Marie',
  2. l_pictures: put the five new graphic names into the list, and set their values to:
    new Array(width,height)
    where width & height (note that WIDTH is always listed first!) are set to the pixel-size of your new images.
    For Example
    l_pictures['marief'] = new Array(41,127);

To make it complete, you might also want to include a 'face' picture to record their number of cartoon deaths, and a Photo/RIP to see if they're in the current game;

(38x38)

(116x191)

(116x191)
face-marie.gif mariephoto.gif RIP-Marie.gif
the 'face' picture should be called "face-[name].gif", and should be 38x38 pixels. The photo should be "[name]photo.gif", and the RIP picture should be "RIP-[full name].gif"; both of these should be 116x191 pixels. Like all graphics, these go in the "e" folder.


If you get it working, feel free to If I like them, I may put them in future releases.

Back to About
Play The Squish Game