seriously im fing sick of it
im trying to import a silly graphic into mmf 2 but NOTHING goes and it is driving me literally insane and while i know this thread will probably get deleted and there is no real benefit i still felt the need to post this just because its so frustrating.
the world used to be so much easier with mmf 1.2 and 1.5 where the graphic editor actually worked and i could do such complicated tasks as in IMPORTING PNGs (mmf just fucks up PNGs and it works a bit better with BMP but still fucks up- great fucking work)
so i guess ill just install 1.5 and do the rest of the coding in mmf 2 even though i fear my game wont run because of some weird ass bug and i wont even be able to nail it down in the end and blame myself. with something like a graphic editor i can tell dickteam fucked up. peace
edit: so the thing is mmf 2 doesnt seem to support png very well
just a warning to everyone out there. dont use png if you want to import graphics.
why isnt there a magic wand tool in the graphic editor? i might be blind. i hope i am.
I use pngs only. They all import just fine. Maybe you can put up the png and I can see if it is the png itself or if you're doing something wrong on your end. You also haven't said how the pngs come in broken. Do they come completely transparent? Do the colors change? It is possible that you're doing or not doing something that makes this happen, and at the very least you might be able to find a workaround by not saving pngs using a certain software or something else.
I think threads like these would be more appropriate if they came after such processes of verification (assuming you haven't checked with anyone else to see if they have the same problem as you). In other words, I think it'd be better if threads started out as requests for help or verifications of theories and then became posts like that (although I would prefer that posts like these don't happen because they don't really help anything.) Not to say you can't talk about things like this, but make it a discussion as opposed to just "This sucks and I just thought I'd write it out here."
Neither have i, except for black appearing as transparent, though the quickest work-around for me is to import the picture (which stretches the work area to the size of the image), press CTRL+A, press CTRL+X, fill the area black, then finally press CTRL+V to paste back the image.
thanks a lot for all the replies though. i didn't expect those.
anyways i will just try to find my copy of mmf 1.5 again where importing PNGs worked like a charm.
I'm trying to import a png into mmf- if i try to fill in the transparent areas it will change my black outline to white even though i didn't click on that. if i select the whole graphic and delete it i will get black leftovers. its weird
That's probably because that black isn't really black--it's just a hole in the alpha (transparent) layer with black as the background color. When you color the transparent area, it changes the background color, and the hole shows that color.
The black thing is because of the alpha channel. You only erased the RGB channels and the alpha channel is trying to render a color that's not there anymore, substituting it with black instead. You can erase it in the alpha channel editing mode if you press the icon that looks like the love-child of the letters C and X (right next to Crop button) and press Edit under Alpha Channel, then paint using gray scale values.
Or better yet, do the editing in an external editor (Like GIMP or Photoshop) and don't touch it in MMF2. That's probably the best course of action when importing frames with an alpha channel.
Originally Posted by OldManClayton That's probably because that black isn't really black--it's just a hole in the alpha (transparent) layer with black as the background color. When you color the transparent area, it changes the background color, and the hole shows that color.
What did you draw the PNG in?
i did the graphics in flash and exported as png. so how can i fill in the transparent area as WHITE because mmf doesn't seem to fill it as you can see in the video.
In flash, did you use the background color as your white in the hands? It should become transparent after export. Take the bucket and fill the hands with white color to ensure they stay that way. Alternative: Pick a slightly more grey color for the hands if first approach doesn't work.
Well, you could edit the alpha channel like Chrilley said. In this case, the hand and the border are connected, so it should be fine to just color in the hand with white while editing the alpha channel (see his post). In some cases though, that can leave artifacts if you're not super careful.
You could convert the alpha channel to plain old transparency, but since you drew it in flash I'd imagine the edges are anti-aliased and would look funky if you did that.
You ought to download GIMP if you don't have it anyway, so open the PNG with that or photoshop and do your tweaking before saving it again. In GIMP you have greater control over what's transparent and what is colored in. If I recall, flash just has a white background, so it's hard to tell what's transparent and what's white.
From my expirience, Flash is terrible with everything except Flash, but that's probably because I haven't played with it too much. After Effects is 10x better for character animation, in my opinion, especially if you're only using Flash for it's movement and animation tools (which is what After Effects is better at). Flash did a good job of putting together animation tools, programming and vector art into a nice little package, but unfortunatly doesn't do any as well as art in Photoshop, animation in After Effects and Vector art in Illustrator. But be forwarned with using After Effects, the title says it all, "AFTER" effects, which implies that you should make your assets in another program first. You can, however, do things within After Effects, it's all up to what kind of style you're going for. If you happen to have a copy or can pick up one, I am definatly more than willing to show you some awesome techniques that will take hours of work out of animation.
In terms of MMF2s importing, I think that just might be what everyone said with the alpha channel importing. I've played around with this quite a bit. When you're using PNG's, it's best to either put it into RGB color mode or Indexed color mode. Indexed color mode restricts the palette to 256 colors, and does not have an alpha channel, so the easy fix for that is to make the background a color like magenta or something that isn't used anywhere else in your image. If you leave it in RGB color mode (which I assume is what is going on), you just have to make sure the alpha channel is spot on (which I have no idea how to do in Flash, I simply just had too many issues with it to continue messing around with it). If you have a copy of Photoshop, or GIMP, it's probably best to run it through that to make sure it's good.
Photoshop is really nice because of the actions and batch processes. Usually when I do animations, I'm left with tons different images as frames, with the actions, I just go through and do one of the images that I want to edit (litterally anything from color changes, to filling in the background, or changing the color mode), then plug that action into the batch command and tell it the folder of all my images, and presto, it'll do the same thing to all of them, saving me from doing them each individually (and if you've got even 20 images, doing them one by one is a pain in the ass).
And in terms of maximizing your importing into MMF2, the best advice I can give is to load all your frames into the stopped animation, and control the frames that it plays through code, so that way, any time you make changes to your frames (especially if you export them all as a PNG image sequence from Flash or After Effects), you don't have to keep futzing around with placing them neatly into each animation, the code is already finished for you. That and remember that Alt+Clicking on Crop and Shift+Changing the Action Point/Hot Spot will do the same for all of your frames.
/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/-=?=-/
That Really Hot Chick
now on the Xbox Live Marketplace!