Forum

> > Off Topic > Fill picture with different pixels
ForenübersichtOff Topic-ÜbersichtEinloggen, um zu antworten

Englisch Fill picture with different pixels

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Fill picture with different pixels

AtomKuh
User Off Offline

Zitieren
Dear users,

I'm looking for a method to fill a picture with pixels that have different colors. Furthermore, I should be able to decide which kind of pixels will be taken and how often they will appear on the picture.
This would help me creating 32x32px pictures for CS2D tilesets. For instance, I could create tiles for the ground (grass or water) very simple.

Thanks in advance

alt Re: Fill picture with different pixels

Rainoth
Moderator Off Offline

Zitieren
CS2D does not have a function for creating images.
BlitzMax does but that functionality wasn't implemented for CS2D. So you can pick up any engine that has a function to "draw a pixel", define a function to place pixels of one color in random spots and another color in other spots until the whole 32x32 area is filled with pixels.

TL;DR You can't do it in CS2D but you can do it with a game engine.

alt Re: Fill picture with different pixels

Nekomata
User Off Offline

Zitieren
He/She is looking for a program which will allow him to create tilesets.
Assuming that, I'm not a mapper, you can can use GIMP. It's a free image editing software. With that you can go ahead and create a new image of 32x32 size and fill it in with the colors you'd want.

There's some other software to make these images into a tileset, I don't know the name so if anyone's willing to provide...

alt Re: Fill picture with different pixels

Captione
User Off Offline

Zitieren
Paint.NET may do the trick too.

With the use of the user plugins uploaded on the community site, you can make a tileset with a seamless texture helper, and because it's a tileset, the tile needs to be tilelable.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenOff Topic-ÜbersichtForenübersicht