1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Question - IDE Import from strip and removing background?

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Dani, Nov 14, 2016.

  1. Dani

    Dani Member

    Joined:
    Jun 21, 2016
    Posts:
    90
    Hello!

    In GMS 1.x we can import an animated sprite from a strip, and also remove the background color at the same time, like this:

    import-strip-remove-bg.png

    Is this option still available in GMS 2? If yes, where is it? Otherwise, adding that feature back would be very useful and handy, as it was on 1.x.

    Thanks.

    Dani
     
    RichHopefulComposer likes this.
  2. makas

    makas Member

    Joined:
    Oct 15, 2016
    Posts:
    226
    the strip is in the image editor(when you are editing an sprite) in the image menu, there is not remove background function yet though
     
  3. Dani

    Dani Member

    Joined:
    Jun 21, 2016
    Posts:
    90
    Ok, thanks! I hope that "remove background" option is added back, it's very useful when importing indexed images.
     
    Aura likes this.
  4. Aura

    Aura Guest

    File this as a suggestion perhaps. I don't see why that checkbox should get removed and it might be something that they overlooked.

    I recall @Mike saying something about colour replacing/removal functionality that shouldn't have been removed, so yes, it might be one such feature. Ask them if they could add it back anyway.
     
  5. Mike

    Mike nobody important GMC Elder

    Joined:
    Apr 12, 2016
    Posts:
    2,393
    Wasn't this one.... this feature is nasty as it requires the lower left pixel to be the "colour" to remove. the "replace" was to colour swap once loaded.

    We are looking at being able to select all colours of the same type using the magic wand (as suggested in another thread), that would let you just select and delete in one step.
     
  6. David Richard

    David Richard Member

    Joined:
    Jun 20, 2016
    Posts:
    194
    Mike, for your information. The famous magic wand to remove all of one color would indeed be something good BUT would that want be able to remove all of the same color in all subimages of a sprite? I think the information submitted here is that BEFORE, there was a possibility, built-in GMS that permitted us to remove the background color of a sprite, animated or not. Now, as you suggest, that possibility dissapeared taking out something pretty rudimental and overused during the passed years with YYG. I do think the remove background function should have stayed here BUT, it you are looking into removing a color using something else, please take into consideration to be able to do this with more than one image in a sprite or else the diting will be pretty long and tiresome.
     
    makas likes this.
  7. makas

    makas Member

    Joined:
    Oct 15, 2016
    Posts:
    226
    yeah would be a pain in the ass to import an animation with 20 sprites, and remove them one by one
     
  8. Dani

    Dani Member

    Joined:
    Jun 21, 2016
    Posts:
    90
    Ok, people, let's focus on the problem.

    Sorting sprite animations across one unique single file (and with solid BG color) is a common practice among pixel artists. The "Create from strip" options is absolutely fantastic in this case, and "Remove background" was very useful as well. This feature will only bring benefits for fast import of indexed images.

    I would recommend that you let us select the color to be removed simply by clicking on one place of the image preview you show us during the import phase, as seen in this mockup:

    create-from-strip.png

    But, in fact, you could let us remove the background color in any other dialog for importing images into the program, not only on "Create from strip". Please, make our life easier.

    Thanks!
     
    Mike and BaBiA Game Studio like this.
  9. Mike

    Mike nobody important GMC Elder

    Joined:
    Apr 12, 2016
    Posts:
    2,393
    Wasn't what I was planning, but we'll keep it in mind....

    You could obviously import it, strip the background from the single image, and then turn it into frames - so you'd only be doing one image. But I accept this is an extra step.
     
  10. BaBiA Game Studio

    BaBiA Game Studio Member

    Joined:
    Jun 20, 2016
    Posts:
    868
    @Dani You just managed to sum up exactly what I was thinking for a good way to allow the background to be removed during import. Allowing the user to select the colour does away with that old way of "the lower left pixel to be the colour to remove" that @Mike mentioned.
     
  11. Never Mind

    Never Mind Member

    Joined:
    Oct 17, 2016
    Posts:
    212
    Hey guys! Does this option still exist?:
    Images > Erase a Color... Shift + Ctrl + E

    In GMS 1.x it can be applied to a single sub-image or to all at once. I find this more useful than simply removing the left hand top corner.
    I don't mind if it's in a separate window that's not included in the import options.

    @Mike that sounds like it could be tedious but I'm probably not understanding the context.
     
    Last edited: Nov 29, 2016

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice