How can I fill a shape with a pattern/image or fill a garment part (.png) with a fabric image

I am not sure if I can use GS to create my fashion game. In the game there need to be buttons that click to new scenes; the ability to select and assemble garment parts and to apply images of real fabric which could be dragged and dropped on the garment and the orientation of fabric manipulated. I am unclear how to start. And have not seen any examples that will support this kind of creation. Is there another HTML5 genertor (creator) that you might recommend if this is the wrong one. Thanks!

Answers

  • HauschildStudiosHauschildStudios Member, PRO Posts: 71
    Hi in Gamesalad it Will not be possible to take a photo or to import photos or other things from the computer if that's what you mean. But it Will be possible to make a drag'n drop fashion game you just have to get all the clothes in the game before you publish.
    And if this is insufficient then Unity could probably do it all.
    ;)
  • don straubdon straub Member Posts: 2
    Thank you for the response i would import all the images of the fabric into the game and the garment templates as .png files. how would I then convert those drawings into shapes or canvases and have the img of the fabric applied? I have created a clickable prototype of the game in HTML and use layers that are images of the garment with a particular fabric applied, I use variables to determine which layer is displayed. I am looking to create a fluid and dynamic effect with the HTML5. Is there a way to import my drawings either as vector or image and define them as the area to fill?
    can you recommend any tutorials that would address this?
    THANK YOU AGAIN
  • RPRP Member Posts: 1,990
    Even though GameSalad supports publishing to HTML 5, it is not what you would call a HTML 5 SDK. You are still going to be limited on what you are seeking to do.

    Work-arounds: Since you have various patterns and color styles (vector or rasterized images), you will need to import images for each style that will act as a fill when you "swap" colors and patters. This can occur in a specific layer if you designate it to do so (using attributes and behaviors).

    You could change colors on a single image inside GameSalad, but it's likely not going to match with what you have designed, but it could give you more variation. So yes, you can them as a fill option (if you have a foreground outline image and then a "fill" image that matches the dimensions of the foreground outline. A regular image editor type fill sure would be nice, but we just don't have it :(


Sign In or Register to comment.