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 / Curved Basic [Resource for Newcomers]

Author
Message
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd Mar 2004 02:32 Edited at: 6th Aug 2005 02:42
Hello everyone,

Every once in a while, I come to the newcomer's section and just help a couple people out. Generally, I spend most my time in other sections of this forum, yet recently I've been hanging around here, and I see many of the same questions be repeated.

So I've taken the time to create a resource for all programmers.(Heavily DarkBasic Oriented at the moment)

There's a total of 9 tutorials that can get any newcomer to db prepped for there first game.

The Website:
http://curvedbasic.com

The Forum:
http://www.curvedbasic.com/Forum2/

The DB(P) tutorials:
http://www.curvedbasic.com/Forum2/viewforum.php?f=8

I offer full support for all users on my forum. The fact is, the questions for db(p) programming that come from the fourum, are then turned into tutorials.

In this thread, you may also request ideas for tutorials you'd like to see. For my site, I've taken a challenge upon myself to double the amount of tutorials I have by the end of March.

Thanks for reading.



A book? I hate book. Book is stupid.
(Formerly Yellow)
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 3rd Mar 2004 19:15
nice job, someone should make this a sticky



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 3rd Mar 2004 20:39 Edited at: 3rd Mar 2004 20:40
As a folow up to the gravity tutorial, introduce jumping. A lot of folks don't get that jumping is just pushing off and letting gravity and friction/air resistance (if any) take over.
--
TAZ

Perhaps a tutorial on the difference between absolute and relative motion/rotation of objects and cameras would be good as well.

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd Mar 2004 22:44
@Mussi

Thanks I'd like this to be a sticky also. Although, we have a lot of other tutorial sites above, maybe as I get more tutorials it'll sticky.

@zircher

I'll put it on a "to-do" list, for it's something that may take time to explain throughly.

A book? I hate book. Book is stupid.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 7th Mar 2004 00:45
Still accepting ideas and comments.



A book? I hate book. Book is stupid.
AnDrEy
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location: In Da Club
Posted: 8th Mar 2004 19:09 Edited at: 8th Mar 2004 19:13
Maybe a post to submit/download 3d models 2d fonts/textures in .3ds/.jpg format for everyone (maybe you already have this but I didn't see it)

Im amzing,im crazy the hood dun made me feel like my emotions are froze i stay G'd Up,its
tha things tha i dun seen and the shit ive been through that made my heart turn cold
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 9th Mar 2004 02:54
One thing that would help a lot would be some basic concepts behind AI and how to implement it in a DB game. Sounds like a nice resrouce.

Crazy Donut Productions
Current Project: KillZone
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 13th Mar 2004 05:07
Thanks for the suggustions.

@Bear Crazy Donut Productions

Currently working on a game, and am thinking about ripping out some of the A.I so others can see how it works.

@AnDrEy

Currently learning PHP, and eventually I'd like to have a free pool of resources that anyone visiting the site can submit. For now, it'll just have to be links on the forum boards.

@ALL

I often see the problem of "Saving the matrix" on this board, so I've created a tutorial on saving matrices and added it to the Curved Basic(CB) website.

I also encourage all to join the forum boards on the Curved Basic website. I offer my full support towards members, and am working very hard to make it a great community.

12 DarkBasic tutorials and counting!!



A book? I hate book. Book is stupid.
Spaceman Spiff
20
Years of Service
User Offline
Joined: 27th Jan 2004
Location: Smacking my head on your keyboard.
Posted: 13th Mar 2004 07:34
Sweet! Can't wait to try it out when DBPro gets here in the mail.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 16th Mar 2004 01:58
Let me know how it goes.



Excuse my advertising, yet I'd like to welcome anyone who wants help learning darkbasic a chance to visit the Curved Basic forums.
http://curvedbasic.dbspot.com/Forum/

Updates:

@zircher

Started working on a 'jump' tutorial. While it's not real physics, I'm simply going to show the user how to fake jumping in there games.

@Bear Crazy Donut Productions

Started planning some basic A.I tutorials for when I finish the "jump" tutorial. Look forward to that.



A book? I hate book. Book is stupid.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 17th Mar 2004 02:25
Finished the jump tutorial. Find it here.
http://curvedbasic.dbspot.com/DBTutorial.htm

A whopping 14 Dark Basic(Pro) tutorials are listed at the site.

And the best part is, there will be 6 more by the end of this month!
Read the tutorial challenge on the front page to find out more.



A book? I hate book. Book is stupid.
ALPHA ZERO PRODUCTIONS
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Mom ! I forgot where we live !
Posted: 17th Mar 2004 04:29
hey yellow it needs some tutorials that show you how to make space games of flight sims.
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 17th Mar 2004 23:58
Ive been using some of your tutorial and have thought of a more advanced way to do the gravity one.

This way if you didn't want an object to be affected by the gravity you could put gravity(objectnumber,gravoff) in.

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 18th Mar 2004 00:41
Yes, the gravity tutorial will be re-done, as I've had another reply that problem.

I'm just going to add something to make it a little more realistic like you and another have mentioned.



(Added an animation tutorial today btw. )
----------------------------
@ALPHA ZERO PRODUCTIONS

I wrote a very barebone DBP project a long while ago that simulated a flight simulator. Perhaps if I still have it, I'll upload it(or possibly make a new version.)



A book? I hate book. Book is stupid.
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 18th Mar 2004 04:25
Glue! This post needs GLUE!!

/me slaps some 'cyber glue' around the place, wipes off hands and steps back to admire the masterpiece.


We need help! Email us! join@eternaldestinyonline.com
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 18th Mar 2004 22:51
Thanks John.


-------------------
Currently working on a particle tutorial, and possibly a tutorial on the sound commands soon.



A book? I hate book. Book is stupid.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 20th Mar 2004 00:17
Just added the particles tutorial. This is one of my best tutorials yet. Very simple, but if you're a new to particles, you won't want to miss it.



http://curvedbasic.dbspot.com/DBTutorial.htm

A book? I hate book. Book is stupid.
GameMaker Jason
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: UK
Posted: 20th Mar 2004 00:36
is there anychance that you will make any 2D tuts?

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 20th Mar 2004 00:41
I sure can make some more 2D tutorials. Any suggustions on what you'd need?

Already have the menu and health box tutorials that are 2D.

Off the top of my head, I think it may be nice to have a tutorial on sprite collision or possible a more advanced tutorial on HUD's.

Post what you think and what you may need.



A book? I hate book. Book is stupid.
GameMaker Jason
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: UK
Posted: 20th Mar 2004 10:01
pacman?

it got ai, array collision, animation of images

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 20th Mar 2004 18:43
I'll look into it. Got many other tutorials lined up to do, not to mention I'm planning to redesign the site so I can have a proper tutorial page.



A book? I hate book. Book is stupid.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd Mar 2004 03:00
Added a tutorial showing the basics of reading strings from a text file.



A book? I hate book. Book is stupid.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd Mar 2004 04:11
Sound command tutorial next.

Considering doing some work with sprites after that.

Then I'm down to 3 other areas I want to cover.
And I'll start with either...

a.) Memblocks
b.) FTP/Internet/Multiplayer
c.) System commands(arrays,file commands,etc.)

Keep checking for more updates.



A book? I hate book. Book is stupid.
ALPHA ZERO PRODUCTIONS
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Mom ! I forgot where we live !
Posted: 23rd Mar 2004 06:22
hey yellow can u tell me what is wrong with this code it says "#100013: command out of place at line 239."
i am trying to add gravity

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd Mar 2004 23:48
You changed the gravity code.

'if object exist(14)'

needs to be

'if object exist(a)'

This is because the function is using a for/next statement. So it'll check all the objects that exist and apply gravity.



Also, you added an extra if statement that really didn't add much to the program but problems.



A book? I hate book. Book is stupid.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 24th Mar 2004 23:04
Basics of building a 3D model viewer tutorial is up and running.



A book? I hate book. Book is stupid.
Code Ninja
20
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 27th Mar 2004 07:52
do you have any 2D RPG making tutorials for DBC 1.13 minus enhancements? if you do that'd be cool, if not... bummer, but oh well.

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 27th Mar 2004 17:42
Nope no 2D RPG tutorials. I might consider it, but anything RPG takes a really long time. Perhaps I could write an article on how you'd approach such a project and things to consider.



A book? I hate book. Book is stupid.
Social Disease
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: State of Confusion, beyond Denial...
Posted: 2nd Apr 2004 18:29
This looks great Yellow! I'm not new to DBpro, but i'm still a noob, and I haven't had time to indulge in programming a while. This really helps me get back into the swing of things!

Besides, coding is like riding a bie, right?

One request, could you add a 3d-style collision tutorial? something that allows the camera to slide off? I've never been able to get this to work!

So many games... so little time!
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd Apr 2004 04:48
Thanks for your comments.

I do have a box collision tutorial that will introduce you to the basics.

Although, I could add a tutorial showing some more advanced collision with DBP.



A book? I hate book. Book is stupid.
Maelstrom
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: United Kingdom
Posted: 8th Apr 2004 22:12
Being new to DBPro i find that looking at as many posts as i can on this forum a valuable source to improving my own programing skills. I do find myself though struggling with some of the terminology. Would it be possible to compile a dictionay of terms on your website that newbies such as myself could refer to. For example i personally don't have the vocabulary when it come to graphical terms so a list and discription and maybe where it would be used within DB would prove useful. It would enable newcomers to understand some of the discussions posted and also improve some of the questions that they may asked. I'm sure that there would be a few DarkBasic Experts out there who wouldn't mind contributing to this.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 9th Apr 2004 07:41
Thanks for the suggustion Maelstorm.

I'll definitly consider following through with your request. It may take me awhile to compile such a dictionary, yet I'll start working on it.

Thanks,
Mike

A book? I hate book. Book is stupid.
(Formerly known as Yellow)
One Common Ruin
20
Years of Service
User Offline
Joined: 19th Jan 2004
Location: United States
Posted: 12th Apr 2004 05:57
@MikeS

You could consider making some HTML tutorials. I'm sure that would help some of the newbs.

Zink

There is no patch for human stupidity.
Chaos
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 12th Apr 2004 13:21
@yellow: If you want i could do some basic 2D tutorials for your site in between my project and exams. Just tell me what you need. Ive got some basic platformer examples + a basic 2d level editor source also. If you want them just say and il dig them out.

Chaos

Nothing is True
Everything is Permitted
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 12th Apr 2004 23:55
Sure Chaos, that'd be great. Just e-mail them over and I'll place them on the site with creds to you.






A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Chaos
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 13th Apr 2004 15:30
There we go ive emailed you my old versions with instructions.

Nothing is True
Everything is Permitted
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 13th Apr 2004 23:26
Excellent, I'll add them to the list.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Chaos
21
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 13th Apr 2004 23:29
Great.

Chaos


UU4ataol
20
Years of Service
User Offline
Joined: 18th Apr 2004
Location:
Posted: 18th Apr 2004 23:31
ok...i totally feel like everyone on this site is totally speaking a different language...I really need help!....I just got Dark Basic 3D games creator yesterday..and i'm really confused...It's like the tutorials and all those helping guides are har to read...I don't really understand any of it...If someone could help me please email me at ultraunmei4@aol.com...ASAP....thanx

JACK
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 19th Apr 2004 00:05
Hello UU4ataol, the tutorials at my site are designed for begginners like yourself.

You can pretty much start with any of the tutorials in the begginners section, and start out easily.

Most lines of the code is explained exactly what it does and why we did it that way.

Just follow the tutorials and you should have no problem. If you still cannot understand my tutorials, then drop by the Curved Basic forums.

Programming is not easy, and it takes time. If you take the time to program, it definitly pays off in the long run.



http://curvedbasic.dbspot.com/Forum/
http://curvedbasic.dbspot.com/DBTutorial.htm

A book? I hate book. Book is stupid.
(Formerly known as Yellow)
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 30th Apr 2004 23:41
Just wanted to post to say that I'm still around and monitor this post.

Soon going to be re-designing the website so users will be able to submit their own tutorials(after they're approved), much like the codebase.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 2nd May 2004 08:00
I've been seeing alot of questions how to do this --> How about a FPS gun bobing tutorial with explaination. With using lock object on method and glue object to limb method.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 2nd May 2004 08:21
I think I might just make a FPS tutorial.

Thanks for the suggustion.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
AK49
21
Years of Service
User Offline
Joined: 7th Jun 2003
Location: Here
Posted: 3rd May 2004 00:11
Hello, Mike. I have a few questions. 1) How do i include an additional source file in DBPRO? Others told me to just do it in the project manager, but it always says "couldnt close nest". 2)I dont get anything about importing 3D models, other than moving them... basically, im tryin to make a 3rd person shooter, and id like to know anything about cameras, physics of shooting, moving, and basically anything that you can afford to tell a noob without wasting your time. Thank you in advance.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd May 2004 04:51
Quote: "1) How do i include an additional source file in DBPRO? Others told me to just do it in the project manager, but it always says "couldnt close nest". "



use the include command.

#include "filepath"

Quote: "2)I dont get anything about importing 3D models, other than moving them... basically, im tryin to make a 3rd person shooter, and id like to know anything about cameras, physics of shooting, moving, and basically anything that you can afford to tell a noob without wasting your time. Thank you in advance. "


I have many various tutorials that you can check out here. http://curvedbasic.dbspot.com/DBTutorial.htm
Just about everyone has to deal with 3D. (Including gravity, following camera, terrains, and 3rd person view perspective)

If you're still having trouble post here or sign up at http://curvedbasic.dbspot.com/Forum/ and post.

Mike



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
AK49
21
Years of Service
User Offline
Joined: 7th Jun 2003
Location: Here
Posted: 6th May 2004 02:06
thank you.
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd May 2004 03:44
Your welcome.

Just posting here to let you know that I'm alive and well. I'm also in the process of building a new site, so any suggustions you have are very welcome.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
M00NSHiNE
21
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 23rd May 2004 05:24
Heres a suggestion: stuff the new site full of PureBasic resources, code, enough to rival PureArea

Just kidding, but some more PureBasic stuff would be very wecome, the messagerequester was very....simple

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 23rd May 2004 07:10
Heh, yes indeed. One of the big features I've been talking about with a few users was the ability to upload your own snippets much like the codebase here. Only things will work a little differently.

For example: All code snippets will have to pass a check through me. Thus it will be checked to make sure it works, is well commented(or at least a something worthwhile), and isn't anything harmful.

Main languages that'll be supported on Curved Basic will be: Dark Basic Professional, Pure Basic, and C++. I'm not keen to putting up a web programming section, as I'd like to keep it geared towards game development.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 5th Jun 2004 22:09
Added two tutorials today. len and mid$ plus picking objects in 3D.

Enjoy!



------------------
(Will soon add some more PureBasic tutorials MoonShine. )

A book? I hate book. Book is stupid.
(Formerly known as Yellow)

Login to post a reply

Server time is: 2024-11-27 14:27:20
Your offset time is: 2024-11-27 14:27:20