Tails Junior Member Posts: 7 From: Scunthorpe, UK Registered: 08-21-2003 |
Hi Been learning blitz basic through Krylar's book and i have created my own program in which when ran will display info on 2 cars. When i runthe program no errors are reported however, it just display's a black screen. Graphics 640,480 Type Cars ;go to the car data ;set our data reading flag to true ;while we still have data ;set the vertical control variable ;step through each instance and print ;step through each instance of the type and delete ;wait for a keypress ;end the program ;************
------------------ |
||
AmazingJas Member Posts: 437 From: Sydney, NSW, AUSTRALIA Registered: 04-03-2003 |
I can't see any buffering commands in there like FLIP? | ||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
Yes if your using the "text" command not the "print" command then you have to set the buffer at the top "setbuffer backbuffer()" then put "flip" and "cls" after you have drawn everything and before the waitkey() Just remember all of this: Graphics 800,600
[This message has been edited by Psyco (edited August 25, 2003).] |
||
Mack Administrator Posts: 2779 From: Registered: 01-20-2001 |
Welcome to CCN Psyco! ------------------ |
||
AmazingJas Member Posts: 437 From: Sydney, NSW, AUSTRALIA Registered: 04-03-2003 |
Hey Psyco, another Aussie! Send me your email to jasace50@hotmail.com and I'll add you to my list of Aussie Christian developers! Where abouts in Oz are you from? I'm a Sydneysider. |
||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
I have been hanging out at Bc.com for a while decided to come here. I live in tweed heads, you cant miss it, On the eastern beach or Aus, on the NSW QLD boarder. But atm im in Japan on exchange in a wierd place in the middle of nowere. Oh and hi. ------------------ |
||
c h i e f y Member Posts: 415 From: Surrey, United Kingdom Registered: 03-07-2002 |
hello Psyco m8, I know you very well on Blitzcoders how come you decided to join up on here? very nice to see you aboard anyway, metalman is around here TOO! ------------------ |
||
Tails Junior Member Posts: 7 From: Scunthorpe, UK Registered: 08-21-2003 |
Thanks a lot guys. Although when following the example in Kyrlar's book it didn't tell me to put backbuffer and flip etc. ah well. back to the learning ------------------ |
||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
Tails you keep on learning and ask for help when you need to, once you pick it up everything will be a breeze. Blitz: A language that takes a few weeks to get the hang of but takes a few years to master, though I have only been using it for one year. Cheify I needed another forum, though I didnt see what christianity had to do with coding so I didnt come here. Anyway while BC was down I decided to have a look around and found out that here isnt that bad a place, can talk about more stuff but still about coding. ------------------ |
||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
Is my computer broken because noone has said anything in over a day...what did I do???!!?? ------------------ |
||
CobraA1 Member Posts: 926 From: MN Registered: 02-19-2001 |
CCN tends to be low-traffic. Sometimes, there's a good thread that gets some attention, but in genereal, don't expect too much. A lot of people here spend a lot of time in Real Life, so the forums don't get too much attention. ------------------ |
||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
oh good I thought something was wrong, I probably would be in RL if I wasnt in Japan soo boring here. ------------------ |
||
AmazingJas Member Posts: 437 From: Sydney, NSW, AUSTRALIA Registered: 04-03-2003 |
What's the name of your game? | ||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
Dark Afterlife ------------------ |
||
AmazingJas Member Posts: 437 From: Sydney, NSW, AUSTRALIA Registered: 04-03-2003 |
Well the name in itself isn't unwelcome, what's the game about? | ||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
Well im not god at explaining things but here goes: Baiscally it runs off a heven and hell thing that I made up, a big planet split in half by good and evil that exists in the soal plane. So when people die they go there. Now origonally 20,000 years ago the place was rules by 10 evil people (im bad wih names too) and to cut a long story short they were eventually defeted and improsoned in earth. But noone knew that humans would become on earth. Humans go to heven/hell because they can tell the diffence between good and evil. Um thats basically the background theory. ------------------ |
||
Krylar Administrator Posts: 502 From: MD, USA Registered: 03-05-2001 |
Tails...don't know if you ever got help with your problem or not, but the issue stems in the piece of code where you're reading in the data statements:
The problem is that you're saying "If Make$ does NOT equal 'STOP'" when it should read "If Make$ DOES equal 'STOP'". I've done this a hundred times, which is why I caught it!
...change it to that and it'll work ;D All the best! Welcome aboard, Psyco! -Krylar ------------------ |
||
Tails Junior Member Posts: 7 From: Scunthorpe, UK Registered: 08-21-2003 |
Thanx alot Krylar works a treat! ------------------ [This message has been edited by Tails (edited August 29, 2003).] |
||
AmazingJas Member Posts: 437 From: Sydney, NSW, AUSTRALIA Registered: 04-03-2003 |
Psyco, sounds complex, is it going to be fps, rpg, isometric, 3d, or what? BTW, I just read in PC Powerplay about the russian built game "Stalker" which sounds awesome. Said to be a cross between halflife and Elite (the freeform nature of Elite, trading and what not). It has all the bells and whistles of the new halflife2 physics engine, plus a more RPG adventure feel to it. I think its a concept that will be explored in more and more games. | ||
Psyco Member Posts: 55 From: Australia Registered: 08-25-2003 |
3ps, yeah sorry im not good at expaining things. Stalker sounds good, though I probably wont hear much about it as I am in Japan atm. Im more looking forward to Max Payne 2. ------------------ |