11-29-2022, 02:50 PM
(11-29-2022, 12:38 PM)bplus Wrote:(11-29-2022, 05:25 AM)james2464 Wrote: This is the old arcade game I'm referring to:
https://youtu.be/EdEOH5O2kCo
Bplus: In this game, flood fill doesn't need to be very fast. The slower fill has a nice effect and also it's a scan line version. It'll be interesting to actually program that at some point.
Oh well scan lines are easiest to sim, just draw lines with delay or limit to however fast you desire? We are just filling perfectly upright rectangles correct? Just have to decide vertical or horizontal. What might be fun is a rectangular spiral inward or outward.
Update: watched video, oh you don't have to go all the way across the width of screen or up and down the height. So filling boxes to finished edge or 2 or 3 hmm.... just need to get the 4: top, bottom, left, right and can fill all sorts of ways, how about a Christmas wrap design? Need to see my painting with images! My demo with brick wall might be perfect.
This is sort of new to me. I have to play around with different flood fill methods. I thought it would be very simple but I had trouble with it because of the way this game is...you capture a new area and you need to be able to flood only that area. That's where I had problems. Paint worked out easily, however.