12/2=7?
Blitz3D Forums/Blitz3D Beginners Area/12/2=7?
| ||
Made in B3D:Graphics 1280,1024,32,1 Text 1,1, "12/2=7?" Delay 4000 Cls Text 1,1, "See, XII is 12." Line 100,150,300,1000 Line 300,150,100,1000 Line 500,150,500,1000 Line 600,150,600,1000 Delay 3000 Text 900,512, "And, half of XII is VII, and VII=7." Color 0,0,0 For rectx=100 To 600 For recty=575 To 1000 Plot rectx,recty Next Next Delay 5000 End Sorry for not indenting. It is for you to run, not for you to read the code. If I really wanted to, I would go crazy with it. EDIT: Oh, and for people with smaller or worse resolution screens, you'll have to change that. :-) |
| ||
Hi (no way I'm typing your nick). I'm sure you're excited to be learning Blitz but I imagine these small rudimentary snippets are less than helpful to most of the folks here. |
| ||
Mark, was it really necessary to shoot the guy down in flames like that? |
| ||
yo, Post in showcase, or better still, worklog, but ignore Mark, (well not really), cos honestly, most people arent interested in anything anyone posts, its not important how "rudimentary" However you should always try and ident any code you post. Its the LAW |
| ||
I get the feeling a "most complicated reproduction of above code's result" friendly-competition will be commencing soonish... |
| ||
I'm not quite sure what you're trying to ask/show. Are you asking what's wrong or showing your work? Here's your code with some indents and spaces: Graphics 800,600,16,1 Text 1,1, "12/2=7?" Delay 4000 Cls Text 1,1, "See, XII is 12." Line 100,150,300,1000 Line 300,150,100,1000 Line 500,150,500,1000 Line 600,150,600,1000 Delay 3000 Text 900,512, "And, half of XII is VII, and VII=7." Color 0,0,0 For rectx=100 To 600 For recty=575 To 1000 Plot rectx,recty Next Next Delay 5000 End |
| ||
He's showing us how half of 12 is 7... and now I believe it. You will have to see it for yourself; it's shocking! |
| ||
Waz. Take a look at the graphicsheight() and graphicswidth() commands to make is to it'll work in any resolution. This way you can make it so your drawing is relative size to the screen rather than for a fixed res. |
| ||
Post in showcase, or better still, worklog I posted it in the general discussion, but the mods moved it here. Probably because of Made in B3D: that. |
| ||
Also: For rectx=100 To 600 For recty=575 To 1000 Plot rectx,recty Next Next Can be replaced with: rect 100,575,500,524,true |
| ||
markd & H&K - Now now, there's no need to be acting all 'elite' now. Snobbery will get you nowhere. |
| ||
I'm sorry if my post came off like that - it's just that 99% of the people here have been at Blitz for a good while. My apologies to the OP. Keep at it! |
| ||
markd & H&K, Now now, there's no need to be acting all 'elite' now I wasnt acting all "Elite", I was saying general discusstion wasnt the place for this thread, and that no more or less ppl are interested weather the code is rudimentary or not. |
| ||
Also: For rectx=100 To 600 For recty=575 To 1000 Plot rectx,recty Next Next Can be replaced with: rect 100,575,500,524,true Yeah, but I wanted the pixels in the rectangle to be done individually. |