Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Please Help With Fill Command

Author
Message
MSon
22
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 20th Feb 2005 06:38 Edited at: 20th Feb 2005 06:41
I don't seem to be able to do this So I could do with a little help on it if Possible...



Edit:

It puts a Dot at x,y and then check the 8 pixels arround it, if update made on any then checks the xy on the new, Ie x+1,y-1, Ect

If that makes any sence to you that is
MSon
22
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 20th Feb 2005 06:55
Code Update, But still Exits the Programme and don't know why?

Robot
22
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 21st Feb 2005 00:07
you have no loop so it just checks once...i think

The happenings of tommorow are behind us now
MSon
22
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 21st Feb 2005 02:59
The Function System_Function_Fill_Part2(x,y,BackColor) Acts like its loop
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 21st Feb 2005 03:07
Main problem is you were checking diagnals and so fill was escaping through edge of circle and going off edge of screen. Have also added 'lock pixels' which speeds things up a bit.



Boo!
wmf
21
Years of Service
User Offline
Joined: 6th Nov 2004
Location:
Posted: 21st Feb 2005 03:13
it is doing the first if statement over and over in 'Function System_Function_Fill_Part2(x,y,BackColor)'
Monsieur Mort
21
Years of Service
User Offline
Joined: 12th Feb 2005
Location:
Posted: 21st Feb 2005 04:30
yes but the idea is that when it finally doesn't have to do something in that if statement it leaves that function going back to the copy of it which called it and dropping down to the second if statement.

Why do you sink I ave zees outRAGEOUS accente?!

Login to post a reply

Server time is: 2026-07-14 22:23:45
Your offset time is: 2026-07-14 22:23:45