Computer Science Canada Programming C, C++, Java, PHP, Ruby, Turing, VB   Username:   Password: Wiki   Blog   Search   Turing   Chat Room  Members
[Blitz] Title Page - Cervantes vs. Jonos !!
Author Message
jonos

Posted: Wed Feb 18, 2004 6:47 pm   Post subject: [Blitz] Title Page - Cervantes vs. Jonos !!

CERVANTES EDIT: This war was originally in (Tutorial)(Blitz)Graphics Engine

just to show that i am learning something, and that THIS IS THE BEST FORUM PART i will post my program i made from this tutorial's teachings:

Graphics 400, 400

h%=50
h%=50
v%=50
v%=50

While h<350
Plot 50, h
Plot 350, h
h=h+1
Wend

While v <350
Plot v ,50
Plot v, 350
v=v+1
Wend

i want to be able to make a delay between making the dots, so could one of you please show me how, thanks.

jonos edit:
nm, its delay(ms), guessing does help sometimes

Cervantes

Posted: Thu Feb 19, 2004 9:03 pm   Post subject: (No subject)

ppfffft jonos!!

Less lines, looks cooler

 code: Graphics 400, 400 For k = 50 To 350 Step 2   Plot 50, k   Plot 350, k   Plot  k, 50   Plot k, 350   Delay 10 Next For i = 50 To 350   Plot 50, i   Plot 350, i   Plot  i, 50   Plot i, 350   Delay 5 Next
jonos

Posted: Thu Feb 19, 2004 9:21 pm   Post subject: (No subject)

i didn't know about the for loops, i only knew about the loops shorthair showed us.

it looks like shorthair only has two pupils, me and you cervantes, haha
jonos

Posted: Fri Feb 20, 2004 7:39 am   Post subject: (No subject)

here cervantes, ill one up you:

 code: Graphics 400, 400 count% = 60 For k = 50 To 350 Step 10         Plot 50, k         Plot 350, k         Plot k, 50         Plot k, 350         Delay 10 Next For count = 50 To 350 Step 10         For count2 = 50 To 350 Step 10                 Plot count, count2                 Delay 5         Next Next Delay(3000)

jonos edit:

ongoing contest of for loops
 code: Graphics 400, 400 count% = 60 For k = 50 To 350 Step 10         Plot 50, k         Plot 350, k         Plot k, 50         Plot k, 350         Delay 10 Next For count1 = 50 To 350 Step 10         For count2 = 50 To 350 Step 10                 Plot count1, count2                 Delay 5         Next Next For count3 = 55 To 345 Step 10         For count4 = 50 To 350 Step 2.5                 Plot count3, count4                 Delay 3         Next Next For count5 = 55 To 345 Step 10         For count6 = 50 To 350 Step 2.5                 Plot count6, count5                 Delay 3         Next Next Delay(3000)

more lines, cooler effect, but you might want to decrease the delay amoutn, its still pretty slow
Cervantes

Posted: Fri Feb 20, 2004 6:14 pm   Post subject: (No subject)

looks neat, is definately slow

 code: Graphics 400, 400 SetBuffer BackBuffer() x1 = 350 y1 = 50 x2 = 50 y2 = 350 For k = 0 To 350 Step 3   x1 = x1 - 3   y1 = y1 + 3   x2 = x2 + 3   y2 = y2 - 3   Line 50, y1, 50, y1 + 3   Line x1, 50, x1 - 3, 50   Line 350, y2, 350, y2 - 3   Line x2, 350, x2 + 3, 350   Flip Next x1 = 0 y1 = 400 x2 = 400 y2 = 0 For k = 0 To 350 Step 3 x1 = x1 + 3 y1 = y1 - 3 x2 = x2 - 3 y2 = y2 + 3 For i = 0 To 50 Step 3   Plot x1, i   Plot i, y1   Plot x2, i + 350   Plot i + 350, y2 Next Flip Next ;;;;;;;;; While Not KeyHit (1) Wend End

getting kinda off topic though
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

Page 1 of 1  [ 5 Posts ]
 Jump to:  Select a forum  CompSci.ca ------------ - Network News - General Discussion     General Forums   -----------------   - Hello World   - Featured Poll   - Contests     Contest Forums   -----------------   - DWITE   - [FP] Contest 2006/2008   - [FP] 2005/2006 Archive   - [FP] 2004/2005 Archive   - Off Topic     Lounges   ---------   - User Lounge   - VIP Lounge     Programming -------------- - General Programming     General Programming Forums   --------------------------------   - Functional Programming   - Logical Programming   - C     C   --   - C Help   - C Tutorials   - C Submissions   - C++     C++   ----   - C++ Help   - C++ Tutorials   - C++ Submissions   - Java     Java   -----   - Java Help   - Java Tutorials   - Java Submissions   - Ruby     Ruby   -----   - Ruby Help   - Ruby Tutorials   - Ruby Submissions   - Turing     Turing   --------   - Turing Help   - Turing Tutorials   - Turing Submissions   - PHP     PHP   ----   - PHP Help   - PHP Tutorials   - PHP Submissions   - Python     Python   --------   - Python Help   - Python Tutorials   - Python Submissions   - Visual Basic and Other Basics     VB   ---   - Visual Basic Help   - Visual Basic Tutorials   - Visual Basic Submissions     Education ----------- - Student Life   Graphics and Design ----------------------- - Web Design     Web Design Forums   ---------------------   - (X)HTML Help   - (X)HTML Tutorials   - Flash MX Help   - Flash MX Tutorials   - Graphics     Graphics Forums   ------------------   - Photoshop Tutorials   - The Showroom   - 2D Graphics   - 3D Graphics     Teams ------ - dTeam Public

 Style: Appalachia blueSilver eMJay subAppalachia subBlue subCanvas subEmjay subGrey subSilver subVereor Search: