Page 1 of 1

Filter

Posted: Fri Aug 15, 2008 7:22 pm
by Kjell
Hi,

Added a Filter property ( List ) to the Bitmap Component which enables you to choose between Linear ( default ) and Nearest.

K

Posted: Wed Aug 20, 2008 1:12 pm
by jph_wacheski
can we see a couple of images of the differance? just wondering what the differance in apearence will be,. sounds like you been doing loads of interesting work adding cool features,. did you ever get the gamepad stuff to work ?

Posted: Thu Aug 21, 2008 9:59 am
by Kjell
Hej jph,

Same 16x16 Bitmap, different Filter.

Code: Select all

this.Pixel.R = X;
this.Pixel.G = Y;
this.Pixel.B = 1-Y;

if(X == 0 || X == 1-1/16){
  this.Pixel = 1;
}

if(Y == 0 || Y == 1-1/16){
  this.Pixel = 1;
}
Joystick isn't done yet, I'll have to find some time to finish it up.

K

sweet pixilation!

Posted: Fri Aug 22, 2008 3:02 am
by jph_wacheski
ah, that was what I thought,. excellent! I hope you add this to the next release, as I am a fan of some sweet pixilation! and just having more choices in general.., could other filters be implemented easily?