Computer Science Canada array fun |
Author: | upthescale [ Sat May 06, 2006 11:35 am ] | ||
Post subject: | array fun | ||
ok,i learned arrays and whatdotc olor, so here is an odd program....left click to get points on the, and riht click to randomzize colors...now this mgiht seem weird but im just learnign so i was expermienting...god arrays are soo cool
|
Author: | Clayton [ Sat May 06, 2006 6:45 pm ] |
Post subject: | |
k, a couple of things: 1) you can just hold down any button to get the (pac-men?), try and find a way to fix that 2)try and get into the habit of using commands such as Mouse.Where, or View.Set instead of mousewhere, or setscreen as it can help you get into OOP when you get there |
Author: | upthescale [ Sat May 06, 2006 7:56 pm ] |
Post subject: | |
wuts oop? like i no wut it stands for but what can u do with ity and why wud it matter? the styscreen i used to go Mouse.Where but i got lazy of the capitals and the period lol |
Author: | Cervantes [ Sat May 06, 2006 9:00 pm ] |
Post subject: | |
OOP is Object Oriented Programming. It's a programming paradigm, and a very powerful one, at that. I agree that "Mouse.Where" should be used over "mousewhere", but the reason is closer to Modularity than OOP. With "Mouse.Where", you've got the "Where" method for the "Mouse" module. With mousewhere, you've got the "mousewhere", you've got this "mousewhere" method lumped somewhere nonsensicle, mixed into a huge pile of other functions that are totally unrelated. |