Blitz Basic Games Programming for Beginners - Part 2
Loading...
10,961
Loading...
Uploader Comments (amcadam26)
see all
All Comments (55)
-
Its hard to understand guys but the easyest way i find to learn this is buy watching it then follow this tutorial step by step, listen carefully, keep watching this video fpr about 8 times in a row paying real close attention then move on thumbs up if u agree!
-
@skaruts you need a seed, random is not realy random, it just does some math to chamnge a number
-
i don't really get this
-
haha continioung!!! no... wait...
-
CONTINUING !
My first language is not English though :P
-
For x 1 to 20 means the loop will run 20 times, in this case it will create 20 rectangles.
-
For x = 1 To 20???? what's that mean?
-
@skaruts Yerp, always does that
-
I keep getting expecting end of file.
Loading...
say Expecting 'Next' =\
illestgon360 2 years ago
did you put "next" after the "rect" line?
amcadam26 2 years ago
What I don't get is, the rand() command doesn't really randomize it.
Every time I run it it gives me the same squares at the same location and the same color.
Any clues?
skaruts 2 years ago
add this to the start of the program:
SeedRnd(MilliSecs())
you should now get proper randomness.
amcadam26 2 years ago
lol i did exactly what you did and when i tried to run it, it said not enough paramaters =/
this is what i wrote
Graphics 640, 480, 16, 2
For x = 1 To 20 Color Rand(255), Rand(255) Rect Rand(500), Rand(400), 50,50
Next
WaitKey
End
AdamDaMan2008 2 years ago
it should say
color Rand(255),Rand(255),Rand(255)
amcadam26 2 years ago