0 Members and 2 Guests are viewing this topic.
how would you put that in though?It seems like that would be more inefficient.Anyone got an idea to make everything but in the view of the scope black?
ClrDrawRect(0,0,96,65)...RectI(X,Y,X+2R,Y+2R) \\Clears the rectangle that squares the circle of the ScopeFill outer perimeter of scope \\Fill the parts of the rectangle that are supposed to be blackDraw background stuff to appearRect(X,Y,X+2R,Y+2R) \\returns screen to original setup
what I mean is draw the first pic and change it to the second pic. then you can draw inside the circle to get something like the third pic.
Quote from: happybobjr on October 21, 2010, 08:36:23 pmhow would you put that in though?It seems like that would be more inefficient.Anyone got an idea to make everything but in the view of the scope black?I was saying that that's what you're doing with the Rand^24/25+x->x. It's only every 13 cycles on average that X is incremented by a nonzero amount.And for your scope thing, in Psuedo-code a routine might look like this.Code: [Select]ClrDrawRect(0,0,96,65)...RectI(X,Y,X+2R,Y+2R) \\Clears the rectangle that squares the circle of the ScopeFill outer perimeter of scope \\Fill the parts of the rectangle that are supposed to be blackDraw background stuff to appearRect(X,Y,X+2R,Y+2R) \\returns screen to original setupDon't bother restricting your pictures only to the Scope. If the rest of the screen is black, then drawing black on top won't do anything and will save program size, if not execution speed.EDIT: I'd recommend using a bitmap to fill the outer perimeter of the scope.
[0202FFFFFFFF]->Pic1Bitmap(0,0,Pic1)
so why bother making Pt-on command?are there benefits?
How did you make that circle!?!!!!!It is amazing compared to mine.
i am using 4 pt-on commands now