GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 Re: GML Reference » Ghost outlines for some ... GM bug? DX bug? GPU bug? » 2008-08-29 14:06:43

Sorry for taking a hundred years on replying. I'm currently vacation, so I do only sometimes get a computer with Internet near me.


What make and model graphics card are you using? Up to date drivers? Driver version?

I'm still on vacation, but all I remember is that it's NVidia as the graphics card.

DirectX version?

I'm pretty sure it's 9.0c or whatever it's called.


Also, maybe try non-transparent sprites, and set the alpha at runtime.

What do you mean by setting the alpha?

Be sure to try a 1-bit alpha channel, that is, pure black and white with no gray.

It is pure black and white, where white is the transparent color and black the outlines' color.

#2 Re: Game Maker Bugs » room_tile_add - GM6 and GM7 BUG » 2008-08-29 13:59:06

This also happened to me when making a level editor with tiles. What I did as a workaround, was setting an alarm to 1 step and then, in the alarm, looping through all tiles in the layer 1000000 and setting their color blending to white. Also, my tiles in this case are 48x48.

Expandset_automatic_draw(0);
alarm[0] = 1;

And in Alarm 0:

Expandvar i,ii,tile;
for (i=0; i<room_width; i+=48) {
  for (ii=0; ii<room_height; ii+=48) {
    tile = tile_layer_find(1000000,i,ii);
    if (tile_exists(tile)) {
      tile_set_blend(tile,c_white);
    }
  }
}

set_automatic_draw(1);

#3 Re: GML Reference » Ghost outlines for some ... GM bug? DX bug? GPU bug? » 2008-07-20 13:58:14

God, how unlucky you can be. Well, should I mark this "Not a GM bug" or something, then? Or does anyone else wanna test?

#4 GML Reference » Ghost outlines for some ... GM bug? DX bug? GPU bug? » 2008-07-18 15:48:05

Fede-lasse
Replies: 5

Hi. This is my first topic here on GMLjoint.com. I have this bug in my program that manipulates with the output bitmaps, which is a little annoying. My program's called Profile Generator. It is a program to make sideview profiles of a man.
It can be found here: http://gmc.yoyogames.com/index.php?showtopic=386950

I recently added hats to it, but there appears to be a problem when they overlap the top of the character's head. Try the program, and equip the first hat onto the character (The flat one. Note, that the hat sprite itself has another color as transparent color, so the issue isn't about the hat itself). Now, press Space to save the profile to a bitmap file. Note, that the program uses the normal screen_save_part() function. Now, go into MSPaint and fill the flat hat with the color red on the VERY top, and on the lowest spot (One pixel above the lowest on the hat). Notice, this white ghost outline that forms the rest of the head, appears! If you're lazy, then look at this instead:
ghostoutlineissueui7.png
Since the ears overlap the flat hat, this outline appears on the ears, too.

I have no idea why this happens, since all the face parts are mere objects placed together with their sprite indexes as each several face part, like the nose, libs or ears. Same goes for the hat. Also, as this is highly unusual, I thought it belonged in the "bugs section" here on GMLjoint.com, since the GMC doesn't have one tongue

Board footer

Powered by FluxBB