Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Brand new DarkBASIC Tutorials now available

Author
Message
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 27th Jan 2003 16:40
On the main DarkBASIC web site we have just uploaded a massive range of tutorials authored by Binary Moon. These tutorials cover everything from the basics of basic, to 2D fundamentals, to 3D and also a 28 part lesson on writing your own complete 3D game with landscape, controls, collision, AI and lots more. Everything is easy to follow with sample code, illustrations and pictures and is ideal for newcomers to DarkBASIC as well as those looking for answers to specific questions ("how do I do sliding collision?" for example).

http://www.darkbasic.com

Click on the "Create" tab.

Cheers,

Rich
"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
OneTouch
21
Years of Service
User Offline
Joined: 23rd Jan 2003
Location:
Posted: 29th Jan 2003 06:33
Is there a link to them.
I looked over both DB and DBP and could not find them!

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 13:30
Are you blind?

Click on rich's link above, click on 'create' tab OR the text link down the right hand side and then on link in section called: 'Brand New Tutorials for 2003'

Alternatively, the link is:

http://www.darkbasic.com/create/bm_tutorials/

I suppose it's feasible you are looking at a cached version of site and have not refreshed properly.

I love it when a plan comes together
OneTouch
21
Years of Service
User Offline
Joined: 23rd Jan 2003
Location:
Posted: 30th Jan 2003 01:28
UUUUmmmmm!
NO I AINT BLIND!

And yes that was the problem, I had to refresh the page!

Incandescant
22
Years of Service
User Offline
Joined: 5th Sep 2002
Location: United Kingdom
Posted: 3rd Feb 2003 12:45
Do these tutorials work for DBPro?

System: Athlon TBird 800Mhz, 320MB RAM, GeForce 2MX440, DX8.1
Mirthin
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Land of the Rising Haggis
Posted: 6th Feb 2003 20:52
Partially, I would think. DBPro was re-written, but many of the existing commands are from DB.

Who wants cake? I've got a little slice of hell for everyone.
Incandescant
22
Years of Service
User Offline
Joined: 5th Sep 2002
Location: United Kingdom
Posted: 7th Feb 2003 18:39
ok thanks, P.S I couldn't find a version for download.
Is there one and if not will it be possible, I don't have Net access opn myt home box (where DB is) so I can't use the tutorials unless I save all the HTML pages.
please and thanks

System: Athlon TBird 800Mhz, 320MB RAM, GeForce 2MX440, DX8.1
frostyrootbeer
21
Years of Service
User Offline
Joined: 23rd Dec 2002
Location: Afghanistan
Posted: 9th Feb 2003 05:32
Great tutorials! thanks!

equation for any multiplayer fps
the best weapon in the game = "noob cannon"
Mike Inel
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Sa upuan ko po...
Posted: 14th Feb 2003 10:17
I got a question there, you see, the command in that new tutorial is "Ghost on object #,#", but in the first tutorial, the command there was "Set object #,#,#,#,(etc...)" WHY ARE THEY DIFFERENT?!?!?! (I'm confused)

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 14th Feb 2003 14:15
OK, GHOST OBJECT just makes the object transparent. SET OBJECT does MANY other things, it sets cull, ambient light and stuff.

Read in your commands list and you will immediatly find the difference.

Very nice tutorials Ill have to give Moondog a kudos next time Im at RGT

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Mike Inel
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Sa upuan ko po...
Posted: 15th Feb 2003 12:45
But it saids there in "Ghost on Object #,#", you could use Dark ghosting by setting "Ghost on object #,1". WHY???

lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 19th Feb 2003 21:34
Hi i'm new to db can some one tell me if there are any commands to add full screen anti alaising and in dbpro can i use 3d models that have had the textures assigned to them because i have heard that you have to program in the texture co-ordinates.

soap_shoes
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 28th Feb 2003 08:12
get milkshape 3d!!! works great for making 3d models, skinning, and loading into db!

Do not give up for the beginning
is always the hardest...........
rob3d
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Canada
Posted: 28th Mar 2003 05:26
I downloaded the scrolling tutorial and ran it in it's default form i.e. sync rate 500 and the demo scrolled and was jerky about once every time the full picture scrolled by. It was jerky in both scroll windows. When i ran it at sync rate 0 they both scrolled so fast I could hardly see anything at all.
I tried higher sync rates of 120 and 240 but they both scrolled the same as when it was at sync rate 60 which was jerky.
What do you think the problem is?
My computer setup is as follows:
-windows xp pro
-athalon 2600+ xp processor
-1 gigabyte of ram
-ATI radeon 9700 pro AIW graphics card

I would of thought the demo would scroll as smooth as silk with the above specs. I am looking at doing a 2d scrolling project that will have a large bitmap scrolling and I don't want to undertake the project if I can't get smooth scrolling results.
Any comments or help would be appreciated
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 29th Mar 2003 01:37
i think its ur graphics drivers get the unofficial drivers from
http://users.skynet.be/FCB/ati/

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
black_mage
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 31st Mar 2003 21:05


good tutorials, i may say so...

oh, and it's just to say im back...

www.fogsoft.netfirms.com
Guillermo
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 16th Apr 2003 16:57
The tutorials have some good information. But they are still incomplete. I am trying to get a program to record. I have tried all my possible guesses as to how to make it work. But I have not succeeded. I went to the tutorials. But I found nothing on it. Is there a place where I can find a simple direction on how to make the computer record? And for that matter, there should be a simple example on how to use each command. Ideally, the example should not include any thing else. When one has to check many commands, doing through the examples in the current help files is tortuous. Indeed, in some of the examples, I have not been able to find the command that the example is about. A case in point:

`````````````````````````````````````````````````````````
rem Sound Showcase

rem Standard Setup Code for all examples
sync on : sync rate 0 : backdrop off
set text font "arial" : set text size 16
set text to bold : set text transparent

rem Loading prompt
sync : center text screen width()/2,screen height()/2,"LOADING" : sync

rem Load room
load object "world\room.x",1
xrotate object 1,270
fix object pivot 1
rotate object 1,0,180,0

rem Load selectors
for t=2 to 5
load object "models\notes\notes.x",t
position object t,-100,32,40-(((t-3)*80))
rotate object t,270,90,0
scale object t,50,50,50
fix object pivot t
rotate object t,0,0,0
next t

rem Load sound
load sound "sound\ghost.wav",1
load sound "sound\hit.wav",2
load sound "sound\smash.wav",3
load sound "sound\tube.wav",4

rem Setup camera and light
set point light 0,0,0,0
position camera -450,100,10
set camera fov 45
yrotate camera 90

rem Select first note (via Xangle trigger)
yrotate object 2,1

rem Main loop
desc$="Sound Room (Select A Note)"
do

rem Control mouse selector
if mouseclick()=1
sel=0
if mousex()>70 and mousex()<600
sel=1+((mousex()-70)/(530/4))
if sel>4 then sel=4
endif
if sel>0
if object angle y(1+sel)=0
yrotate object 1+sel,1
if sel=1 then play sound 1
if sel=2 then play sound 2
if sel=3 then play sound 3
if sel=4 then play sound 4
endif
endif
endif

rem Control selected
for pace=0 to 9
for t=2 to 5
if object angle y(t)>0 then rotate object t,0,wrapvalue(object angle y(t)+1),0
if object angle y(t)>0 then lightz#=object position z(t) : lighty#=object position y(t)
next t
next pace

rem Control light
position light 0,-200,lighty#,lightz#

rem Show Framerate
text 20,screen height()-40,desc$
fps$="DBPro Fps: "+str$(screen fps())
text screen width()-20-text width(fps$),screen height()-40,fps$

rem Update screen
sync

rem End loop
loop
```````````````````````````````````````````````````````
the above is supposed to be an example of how to use the record command. A better example would be some thing like:

```````````````````````````````````````````````````````````
sync on : sync rate 0 : backdrop off


load sound "c:\A\Too2.wav",1
do
if mouseclick()=1
record sound 1,3000
wait 300
play sound 1
wait 3000
endif
sync

loop
`````````````````````````````````````````````````
Of course, the problem with my example is that it does not work. But if it did, I would have been writing my program now, rather than going in circles around this problem.
Simple programs that illustrate just one command at a time is what is needed!

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Apr 2003 17:12
You would be better off looking at the Useage code, not the Showcase code. From the useage code for record sound you will find the code I've attached to this message (click the source button to see it).

You can't save a sound until you've told it to finish recording.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
Guillermo
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 16th Apr 2003 17:43
Thank you Rich,
I did go to the Usage example. But it has so much more information than what I need, thatI missed relevant things. Indeed, the code portion that you posted helped me. But it needed one more thing. You have to open another wav file to record a new one. It would not work otherwise. So, the code that works was:

load sound "c:\A\Too2.wav",1
do
if mouseclick()=1
rem Recording a Sound

print "Recording..."

record sound 1,3000

wait 3000
stop recording sound

if sound exist(1)=1
save sound "c:\A\mysound.wav",1
endif

play sound 1
wait 3000
endif
sync

loop
```````````````````````````````

Where "c:\A\Too2.wav" is just a very short wav file. Without this, It did not work.
````````
I am not trying to be negative about DB. However, it definitely is the best program I have found, but it could have much better documentation. Of course, as an artist and humanist, I don't have the mental organization that computer people have. So, I need explanations that may seem over simplified to you guys. Yet, there are are many guys like me that would love to learn computer programming, but that are always turned off half way. DB seems to be a great answer to people like me. So, if you guys concentrated on developing simple and short examples of all the commands or command groups, you would be doing some thing great for us.

Thanks,

Guillermo

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 16th Apr 2003 17:57
We're working on new help files, but with 1050 commands to cover it's going to be a while before we can release them. They will contain what you need though. In the meantime, post a message here or email me.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
Guillermo
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 16th Apr 2003 21:37
Yeah, it is great to have so many commands. But, it makes it tough to even organize it. And of course, it makes it even tougher to learn them Thank God most of it makes BASIC sense!

Guillermo

Pal
21
Years of Service
User Offline
Joined: 13th Apr 2003
Location:
Posted: 22nd Apr 2003 07:55
Great Tutorials. will help us to make cool games which are worth selling.

squids
21
Years of Service
User Offline
Joined: 1st May 2003
Location: United Kingdom
Posted: 1st May 2003 23:51
Do the tutorials work in DBPro ? I have been having problems running the code whilst trying to make the hover craft game,. the objects, like arena.3DS cannot be loaded and also,. blah things just seem to be going wrong,.

Just wondering if they should work okay with DBPro, I will go and try them again to see if they still have the same errors and problems,.

thanks.

Nilrem
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 2nd May 2003 01:47
Quote: ".3DS"


As far as I am aware since Patch 4 the support of .3DS files has been discontinued, try converting them to .X format (Is that possible?)

As well as that, supposedly, in later patches (hopefully Patch 5 anybody know?) .3DS will be supported again.

I hear and I forget. I see and I remember. I do and I understand.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 7th Jun 2003 22:52
I really love the menu tutorials

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
DarkScorpio
21
Years of Service
User Offline
Joined: 8th Jun 2003
Location: United States
Posted: 8th Jun 2003 11:28
I love the tutorials and I agree with Guillermo. I think putting all the command descriptions and explanations (Major Details)in a sellable book like the old spiral user manual would be really useful.It would be especially useful for those curious moments when I'm at school(yes, I go to highschool) or just not online. Then all I would need is a laptop or at least a decent computer...

Nilrem
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 8th Jun 2003 13:08
DarkScorpio, a long shot, but you don't happen to be Scorp from h3c (http://www.hack3r.com/) do you?

I hear and I forget. I see and I remember. I do and I understand.
DarkScorpio
21
Years of Service
User Offline
Joined: 8th Jun 2003
Location: United States
Posted: 9th Jun 2003 10:05
No and I've never actually met someone else who go's by darkscorpio and I've been using this name since 98 for starcraft.

-This place is the coolest, I mean who else has easily selectable Zero sprites?
Nilrem
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United Kingdom
Posted: 10th Jun 2003 22:09
No, his name was Scorp, I just thought there was a slight chance he altered his nick.

I hear and I forget. I see and I remember. I do and I understand.
MicroMan
21
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 20th Aug 2003 06:01
Quote: "
Not Found
The requested URL /tutorials/DBPro_Tutorial_6_Huge_Dungeons.zip was not found on this server."


Is all I get with those tutorials....

Genius Game Creators
21
Years of Service
User Offline
Joined: 14th Sep 2003
Location: India
Posted: 14th Sep 2003 17:02
can u give me url where i can download trial version of dbpro

Shirish Goyal,the Genius
DPfluty
21
Years of Service
User Offline
Joined: 15th Sep 2003
Location:
Posted: 15th Sep 2003 19:57
I found this site for a report now im interested know nothig ned help [the_quest_master@hotmail.com] help

www...com
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 20th Sep 2003 10:07
Go to:
[href]http://files.thegamecreators.com/darkbasicprofessional/trial/darkbasic_professional_alienware_trial.zip
[/href]
It gives you DBPro UNRESTRICTED for 90 days... its part of a promo.

Go to:
[href]
http://darkbasicpro.thegamecreators.com/?gf=alienware
[/href]
for the page that the promo is on. (Can win a hella fast computer)

If Quizz's Are Quizzical, Then What Are Test's?

Login to post a reply

Server time is: 2024-11-25 08:47:35
Your offset time is: 2024-11-25 08:47:35