Hi there,
I downloaded the demo for DarkBASIC and tried some of the tutorials. I do not understand much of it. I read and studied the Principals tab, wrote a couple of pages on it. Then I went into tutorials and only got 3. Screen switcher. There I got stuck. I do not know how to change the screen resolutions. I did this:
PERFORM CHECKLIST FOR DISPLAY MODES (it gives me a whole lot)
`then
CLS
FOR T=1 to checklist quantity()
PRINT T;" ", checklist string$(T)
NEXT T
`then it tells me to add
DO
IF ASC(INKEY$())>48
posiiton=ASC(INKEY$())-48
width=CHECKLIST VALUE A(position)
height=CHECKLIST VALUE B(position)
depth=CHECKLIST VALUE C(position)
SET DISPLAY MODE width,height,depth
ENDIF
LOOP
`it still just gives me a very long list and nothing happens if I press a number while the program is running. I tried to change width,height,depth with numbers, but it doesnt work.
THATS PROBLEM NUMBER ONE
PROBLEM NUMBER TWO:
DIM lottery(52,6)
lottery(1,1)=43
lottery(1,2)=76
lottery(1,3)=12
lottery(1,4)=34
lottery(1,5)=12
lottery(1,6)=11
lottery(2,1)=12
lottery(2,2)=23
lottery(2,3)=34
lottery(2,4)=45
lottery(2,5)=56
lottery(2,6)=67
for T=1 to 52
print lottery(T)
Next T
only displays
0
0
0
0
0
0
0
0
0
etc.
PROBLEM NUMBER THREE:
FOR week=1 TO 52 STEP 4
PRINT "LOTTERY NUMBER FOR WEEK";"week"; "ARE";
FOR index=1 TO 6
PRINT lottery(week,index);" "; <error,no such arry dimension initialised at line 4>
NEXT index
NEXT week
Okay, so then I went to Google and searched for some other help. I got a page of Hank Hufnagel, showing some tips. Got the first two thing right, and then, there it is again, something I have no idea of doing. The first to things was just editing some of the program that he wrote, I feel even a slightly two year old can do that. Then he gives me these tasks:
5. Change the program so that pressing ' f ' (faster) makes the camera move faster, and pressing ' s ' (slower) makes it move slower. Don't let the speed go to less than 5 for either forward or backward movement. Report the speed near the bottom of the screen, and add documentation for the new commands at the left of the screen.
<I DON'T KNOW HOW TO WRITE SPEED IN>
6. Notice how the sky pans as the camera does. Now tilt the camera down using the mouse. Notice how the sky does not tilt? Fix this bug.
<FIX BUGS?! ARE YOU KIDDING ME?!>
7. Implement a toggle caller ' r ' (resolution) that switches between showing the side text as now, and a whole screen mode where the plateau world image fills the entire 800x600
screen.
<STILL BLANK IN THE HEAD>
8. Implement a 'night mode' toggle whereby pressing ' n ' (night) changes the sky to a night sky and drops the ambient light level to an appropriate level
<?????>
And that was justthe first step of his tutorial. Okay, that's it. No problem, if I can do this, then I can bother you with the next step. Don't ask me what the next step is, I DO NOT KNOW (and I am afraid to ask)
If there is someone with a good heart and some time, please help me
(haha feels like asking, SO PLEASE MTV, PIMP MY RIDE!!)
The only thing evil needs to prevail, is for good men to do nothing