Computer Science Canada drawing rectangle help! |
Author: | mike200015 [ Mon Mar 14, 2005 7:20 pm ] | ||
Post subject: | drawing rectangle help! | ||
in my game, i need to draw about 10 rows of small rectangles, and about 10 in each row, with space in between each rectangle, but im not quite sure how to do that easily, without having to actually draw each 1 seperately. This is sort of what i want to make, but i need space in between each rectangle from the top and bottom. But also i want each rectangle like a different colour:
If anyone knows how i could go about doin that id appreciate it. |
Author: | Naveg [ Mon Mar 14, 2005 7:31 pm ] |
Post subject: | |
hey mikes, msn me for the answer |
Author: | mike200015 [ Mon Mar 14, 2005 7:35 pm ] |
Post subject: | |
thnx Vlads |
Author: | Naveg [ Mon Mar 14, 2005 7:45 pm ] | ||
Post subject: | |||
for anyone else who may have been interested...
|
Author: | ssr [ Mon Mar 14, 2005 10:05 pm ] | ||
Post subject: | |||
just learnt this eh save lines
|
Author: | Flikerator [ Tue Mar 15, 2005 2:01 pm ] | ||||
Post subject: | |||||
ssr wrote: just learnt this
eh save lines
Why even have the colours var?
|
Author: | mike200015 [ Tue Mar 15, 2005 8:40 pm ] |
Post subject: | |
jus cuz i only wanted it certain colours |
Author: | atrain [ Tue Mar 15, 2005 10:09 pm ] |
Post subject: | |
poke... now im stealing ur code... and u cant prove it!!! if u try, ill edit this post... mine sucka!!! although its usless for my program anywayz.... ill leave it commented... |
Author: | Bacchus [ Wed Mar 16, 2005 12:09 am ] |
Post subject: | |
hm.. not a good thing to say considering the fact that ppl can save screens and such... *hint hint* i hate cheating and will do my part to punish those who do cheat, if u edit ur post, it will be to late. if needed pm me and i will send the shot |
Author: | [Gandalf] [ Wed Mar 16, 2005 2:42 pm ] |
Post subject: | |
but then he could say you edited the screenshot... This would be useful for a game like arknoid? I forget what the general name for it is... not pong, not pinball, hmmm... |
Author: | Bacchus [ Wed Mar 16, 2005 4:27 pm ] |
Post subject: | |
nah i dont think editing the screenshot would be that good of an excuse, it would be waaay to hard to do that and make it look real. and i think the game ur thinking of is Brix, or Blocks or watever the name is, when you hit the ball into the boxes and they disapear and the point is to get rid of them all |
Author: | mike200015 [ Wed Mar 16, 2005 5:35 pm ] |
Post subject: | |
arni.. aka atrain.. since u pretty much steal all my stuff.. if ur program looks sumwhat like this ill clearly know u stole.. and also.. u cant really edit the screenshot 2 well.. if u did u would b able to tell that its been edited |
Author: | atrain [ Wed Mar 16, 2005 6:49 pm ] |
Post subject: | |
dont worry, ur code has no use in my program anywayz... im sticking it in comments, just to make my code longer and more sufisticated looking... |
Author: | Cervantes [ Wed Mar 16, 2005 7:15 pm ] |
Post subject: | |
atrain wrote: just to make my code longer You know, for all intents and purposes, shorter code is better, given that it's doing the same thing. |
Author: | MysticVegeta [ Sun Mar 20, 2005 11:52 am ] |
Post subject: | |
Our teacher cuts marks for redundant/xtra code... When we ask her why, she reminds us to KISS (Keep It Simple Student) |
Author: | ssr [ Sun Mar 20, 2005 9:13 pm ] |
Post subject: | |
clean code man I dont even include comments and space in my code to reduce it and got 2 marks off because of that lol btw, I thought the last S was supposed to be stupid lol |
Author: | [Gandalf] [ Mon Mar 21, 2005 8:20 pm ] |
Post subject: | |
Alright, if editing doesn't look real then this following screenshot it real. Notice anything? Now I can say you both edited your post... Sorry if its a bit off topic... *edit* you gotta love all those tabs open |
Author: | Bacchus [ Mon Mar 21, 2005 8:39 pm ] |
Post subject: | |
lol proved me wrong |
Author: | jamonathin [ Wed Mar 23, 2005 7:33 am ] |
Post subject: | |
hey, YOUR TEACHER IS A THIEF ... and a bad one... |