paintbrush commands

Blitz3D Forums/Blitz3D Beginners Area/paintbrush commands

grindalf(Posted 2005) [#1]
im making a paintbrush style program for use with my rpgmaker(so as to create your own tiles) but i cant figure out how i should go about a fill command and flip image command, thanks for any help you can offer


Beaker(Posted 2005) [#2]
Fill:
http://www.blitzbasic.com/codearcs/codearcs.php?code=314
http://www.blitzbasic.com/codearcs/codearcs.php?code=263
http://www.blitzbasic.com/codearcs/codearcs.php?code=50

Flip image:
http://www.blitzbasic.com/codearcs/codearcs.php?code=66


big10p(Posted 2005) [#3]
I'm pretty sure there are some fill algos in the caode arcs. Flipping images is simply a case of creating a blank image the same size as the image to be flipped, then copying the rows or columns of pixels from the original to the new image, but in reverse order.


grindalf(Posted 2005) [#4]
thanks for the links beaker i actualy sorted the flip image last night(scale image to a minus and it flips the image) but for the fill i could not do anything even remotly near it, i dont have internet at home so i use it at work, so i dont have time to search the archives propely, thanks for the help