Hi,
Added a Filter property ( List ) to the Bitmap Component which enables you to choose between Linear ( default ) and Nearest.
K
Filter
Moderator: Moderators
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
Hej jph,
Same 16x16 Bitmap, different Filter.
Joystick isn't done yet, I'll have to find some time to finish it up.
K
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;
}
K
- Attachments
-
- Linear.jpg (31.27 KiB) Viewed 17315 times
-
- Nearest.jpg (36.2 KiB) Viewed 17315 times
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
sweet pixilation!
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?
iterationGAMES.com