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 / [Tutorial] Just Purchased DB? Want to make an rpg?

Author
Message
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 17th Apr 2006 22:36
Well, just to update you on the progress of Tutorial 14 (Which is like 17 more lines of code) You will now be a sphere and you can go in an out of a house with perfect sliding collision and gravity with the floor, and you can go up the steps to the second floor with perfect sliding collision and gravity. This collision is using the free version of NGC, not the demo that has a time limit, but a different version that is 100% free and will be supplied with the next tutorial.

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Blitz the Hedgehog
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Behind you.
Posted: 18th Apr 2006 00:34
Niiice. Like what DB user 2006 said, will there be levelling up aspects in the game?

Anywayz, awesome, keep it up
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 18th Apr 2006 05:16
Well I see that you all are eager to have the actual RPG system in play... but I'm afraid to tell you that we will be building up the Level that you play in first, then comes the enemies and everything. Here is something to remember: Never make a battle system with perfect AI and attacking before you made the game world to play in. Its hard to make changes to adapt to the virtual enviroment you placed in the game.

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Fgaswb
18
Years of Service
User Offline
Joined: 9th Mar 2006
Location: Terra
Posted: 28th Apr 2006 22:58
Cool ive been following in the tutorial and cant wait for more. Plus ive been looking for a good tutorial for ages.
Darth Vader
19
Years of Service
User Offline
Joined: 10th May 2005
Location: Adelaide SA, I am the only DB user here!
Posted: 23rd May 2006 09:14
Can I use your button function in my programs?


When in Trouble with anything visit here your number one stop for help
Paladeus
18
Years of Service
User Offline
Joined: 26th Feb 2006
Location: Oklahoma
Posted: 19th Jun 2006 06:52
Hidy do Xeno~?!

I've been playing around with the tutorials so far, and I did a VERY rudimentary day/night system, placing of random objects, etc. Sadly, most of it comes out in glitches >.> I couldn't do a boxsphere to save my life.. o.o

Soooo, I am REALLY looking forward to the next coming tutorials. ^^

PS::BUMP~~
THE NOOB OF DARKBASIC
18
Years of Service
User Offline
Joined: 24th Jun 2006
Location:
Posted: 24th Jun 2006 14:56
hi , iam the ultimate noob at db can someone help me make somefin plz

i need help
Paladeus
18
Years of Service
User Offline
Joined: 26th Feb 2006
Location: Oklahoma
Posted: 28th Jun 2006 06:46
o.o

*Looks at The Noob of DarkBasic*

....


SMACK

....

Thank you...
Ginga
18
Years of Service
User Offline
Joined: 3rd Jul 2006
Location: Dorset, England
Posted: 10th Jul 2006 22:25
LONG time since your tutorial has been updated, which is a crying shame, as i was really getting into it.. tho when i adapted it to better suit my needs it kinda went skewy and i aint sure y .. probs cos i is ginger
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 23rd Jul 2006 17:44
Ok, time to tell you guys whats really been going on.

I haven't found time at all to work on this . I love all the comments and suggestions, and the people who are using it. I don't know if I can keep up with progress on this, I've already got a lot of stuff to do. Maybe someday, when I'm finished with something thats bugging me, I'll continue this to help all you guys. I hope it helped alot.


Peace.

Can't beleive its not butter.
Gingerkid Jack
19
Years of Service
User Offline
Joined: 15th May 2005
Location: UK
Posted: 27th Jul 2006 12:33
plzzzz continue

I was Jacko but I changed my name.
Holly-Cat-Games
Kyhoshi
18
Years of Service
User Offline
Joined: 21st Jun 2006
Location: Somewhere over the rainbow.
Posted: 12th Aug 2006 23:22
i think it was great. im a major noob and i wanted my first full game to be an rpg. it was awesome and i hope you continue.
tommie
18
Years of Service
User Offline
Joined: 13th Oct 2006
Location: Belgium
Posted: 13th Oct 2006 23:11
very nice man it helped my very very very much

ps i started with dbpro 3 days ago so thx
LD52
18
Years of Service
User Offline
Joined: 31st Aug 2006
Location: Internet
Posted: 25th Oct 2006 00:19
Yup great Tutorial got me started aswell
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 25th Oct 2006 04:54
Thanks guys, I just wish I had the time to finish it. one day, I will.


At least I finished enough to help people


Bluedemon
18
Years of Service
User Offline
Joined: 2nd Sep 2006
Location: USA
Posted: 25th Oct 2006 07:13
Thanks for taking the time to make this, I found the camera section especially helpful.
Dracula
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: DBP Recreation of Castle Csejthe
Posted: 26th Oct 2006 00:19
Looks like a nice tutorial. How about making a download. There is a lot of wading to be done here to get the pieces. If it could be downloaded, it would be emensly helpful!!!

Regards,

D
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 28th Oct 2006 01:47
Ahhh looks like I'm continuing... thanks to Nugon's post


I'll work on it when I get the time.


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 28th Oct 2006 03:57
WOOT...


I did Tutorial 14. Plans have changed. I'm moving in a more professional direction to help noobs get out of their noob stage

This tutorial is on Timer Based Movements. Enjoy.


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 29th Oct 2006 16:59
*whistles* anyone like the timer based I added? Its not much, but if I told you about it at the end it would be hell replacing all of your values.


SysOps
18
Years of Service
User Offline
Joined: 29th Oct 2006
Location:
Posted: 30th Oct 2006 00:08
You're teaching new people to store strings inside a variable before printing them? I understand you doing that to teach how them how ot use strings, but why continue doing it after that point?

You could be doing this as:

health = 100
Print "Your health is "+str$(health)

If you don't want to, you should explain why. The code above is more optimised. Which means it saves space, time, and processing power.

Tip: Don't teach new people things you wouldn't do yourself, and if you do, explain why. You were trying to teach them about the string variable, but you didn't teach them the propper usage of the Print command. Once you tought them the string variable, you should have tought them what it's good for, and why you prefer to use it in the Print command (i'm assuming you prefer to use it because you continued to use it after you didn't need to).

And I don't see why you are storing the health as a float, isn't that taking up unnecessary processing power? Why don't you explain what a float is, why you are using it, and why it should or shouldn't be used? As an example you could show them how to add and subtract decimals.

Lastly, I don't like your description of strings: "A string variable is not a value, but words in a sentence." I think you meant integer, though a string can have integers in them, it just uses them differentely (it can't add or subtract them). Example: The value of string HealthWords$ is "Your health is"

Strings are the most basic form of arrays. The definition of a string would be anything that contains more than one character (including integers) strung together. That's why it's called a string. Single characters aren't strings, though they can be used as strings.

MOST IMPORTANTLY: You should teach them the wait command at the very beginning, otherwise they will try to follow your tutorial but won't get anywhere because the program keeps closing.
Dexter_
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location:
Posted: 14th Jan 2007 07:34
amazing tutorial, omg i read it all tonight.......

i dont suck 100% anymore
TY!

Im a noob
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 24th Feb 2007 01:16
You're welcome

Wow, it has been over a year since I've started this tutorial.

I wish I cuold write mor, but as always, I'm busy.


I'm still glad to see people use it though

-Mansoor S.

(Formerly Xenocythe)
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Feb 2007 04:02
I learned about timers from it.

If you had never done this tutorial, I would have probably never learned timers.



Cheers,

-db


Enter my forums here.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 24th Feb 2007 04:54
Hah, thats cool.

Timers are probably one of the most important things for how your game runs. I learned them from Cash Curtis - the master of teh coding

-Mansoor S.

(Formerly Xenocythe)
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 24th Feb 2007 06:07
Yup... Cash curtis is a pretty good coder.

Wonder how he does it... I mean, he's really good at coding.

Cheers,

-db


Enter my forums here.
Burnman
17
Years of Service
User Offline
Joined: 4th Mar 2007
Location: New England
Posted: 13th Mar 2007 19:55
I'm at work right now (slow day) and reading through the tutorial, and I can't wait to get home to jump into actually playing with it. I have been doing a lot of reading about DBPro and I have done some very basic tests of my own code, but this will definitely clear quite a bit up for me! It's been years since I last coded anything more intensive than a web page, and this will be the perfect refresher. Thanks for all of the hard work!
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 14th Mar 2007 10:11
This was a great tutorial, thank you so much! In the past hour and a half, i have worked through your tutorial and was very pleased with what i have learned considering i started darkbasic not but yesterday. One thing though, i have classic which i accidently ordered (i wanted pro). Anyway, the tutorial would not register at lesson 13, it had a problem with Move Object 1,-MSframe#

It said that it was a syntax error:unrecoginized paramter, did I miss something or is it just classic?

Thanks for your time

Gman

"To love you must want to be loved in return"
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 14th Mar 2007 14:45
no worries, i'll figure it out, i'm gonna write up a short text game today, thanks for the help

"To love you must want to be loved in return"
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 14th Mar 2007 20:12
Thanks Burnman and Zombie 20 I'm really happy it's helping everyone so much. I really want to write more of it.

Zombie 20- the error might be because its classic, and not pro.

Burnman- I'm glad this is helping you get back into coding

-Mansoor S.
Burnman
17
Years of Service
User Offline
Joined: 4th Mar 2007
Location: New England
Posted: 14th Mar 2007 20:19
A big help it is, too! It's one thing to read about the language in a book or the help files, but it's a whole different animal to have it explained in context. Sort of takes all of the data I've been stuffing into my head and make sense of it.

Keep up the great work!
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 15th Mar 2007 13:23
No thank you, i'm happy that there are coders that are taking the time out the rest of their scheudles to help and answer our questions. You don't have to but you do, and that is why this community means so much to me. Thank you

"You can't expect to weild supreme executive power just because some watery t**t throws a bl***y sword at you..."
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 15th Mar 2007 23:47
No Problem

I'm thinking of having a 'ask me a question about programming' section on my site.... or maybe make a thread on it on these forums

-Mansoor S.
Burnman
17
Years of Service
User Offline
Joined: 4th Mar 2007
Location: New England
Posted: 16th Mar 2007 00:21
One can never have too many resources of information when attempting to learn a new programming language.
XxX emerson lol xoxo
17
Years of Service
User Offline
Joined: 14th Mar 2007
Location:
Posted: 17th Mar 2007 05:10
Yay! This is exactly what we need! Thank you man!

Hay, hay hay! I am teh besttorz! Did you know that 99% of all people are dummer then me??
Spotaru
17
Years of Service
User Offline
Joined: 3rd Dec 2006
Location: Over the next rise.
Posted: 17th Mar 2007 08:36
Xenocythe, do you mind if I post your tutorials in a downloadable pdf format? I have already compiled the complete set (1-14) into a pdf for easier use. If you don't mind I will post here.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 17th Mar 2007 15:26
Well, you could e-mail it to me and I could post it in the first post. Thanks Spotaru

-Mansoor
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 22nd Mar 2007 05:57
Quote: "it had a problem with Move Object 1,-MSframe#

It said that it was a syntax error:unrecoginized paramter, did I miss something or is it just classic?"


Try:

Move Object 1,0.0-MSframe#

TDK_Man

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 23rd Mar 2007 02:42
Nice TDK, thanks for clearing that up

-Mansoor
shadow 1993
18
Years of Service
User Offline
Joined: 5th Apr 2006
Location:
Posted: 11th Jun 2007 22:53 Edited at: 12th Jun 2007 17:48
hi this helped me kick off into programming a big thanks! I started exsperimenting and now i got "pisonic's world famous dwarf lol" move with animation and i added sound as he walked as if hes walking on grass. only probs im having at the moment is finding the next limb on the model so i can then make it kill stuff, and i have a animation prob but im gonna work on it anyway thanxs alot xenocythe that was a awsome tut for newbies like me. Only wish the tut could be complete
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 13th Jun 2007 18:42
No problem shadow I'm glad, as always, that I could help.

culmor30
17
Years of Service
User Offline
Joined: 16th Jun 2007
Location: In my head.
Posted: 2nd Jul 2007 07:57
Quote: "
I'm thinking of having a 'ask me a question about programming' section on my site.... or maybe make a thread on it on these forums
"


Euh... no. You mean, "...having a 'ask me a question about programming for $1.00 USD via paypal' on my site..."
JackKnife Zero
17
Years of Service
User Offline
Joined: 17th Jul 2007
Location:
Posted: 20th Jul 2007 04:26
Hey Xenoscythe,

Great tutorial! I found it very helpful!
I can't wait for you to put more up.
Thanks for all the help.



JackKnifeZero
Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 18th Aug 2007 22:57
All I can say is more please

even if the next chapter only has how to texture your matrix and or how to load a simple model in place of the box.

unless youdon't mind someone else continuing the thread on, on your behalf.

'Ooh 'eck chief'...'crumbs'
Kronos
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Chernobyl
Posted: 3rd Sep 2007 20:01
Thanks man, but I would like to have an PDF for this!

The Earth is full, go home!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 3rd Sep 2007 20:08
Ahh.

Looks like I have no choice but to continue this.

Penfold
20
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 3rd Sep 2007 22:28
Oh good I was hoping you were going to

like I said - more simple stuff would be nice.

Quote: "even if the next chapter only has how to texture your matrix and or how to load a simple model in place of the box."


You could do a small chunk every week and you could even ask us which bits we would like to see next (if you weren't sure of course )

Were not asking for MEGA-code just a bit of advancement

'Ooh 'eck chief'...'crumbs'
Gunn3r
18
Years of Service
User Offline
Joined: 12th Jun 2006
Location: Portland, OR
Posted: 26th Sep 2007 03:04
This was super helpful and I will be continuing to watch to see if you update this... THANK YOU!

Draglan
17
Years of Service
User Offline
Joined: 7th Oct 2007
Location: In the mirror
Posted: 7th Oct 2007 09:06
Thank you so much for this tutorial! I love it. I'm a complete and utter newbie to DarkBASIC. When I used to look at code like that I thought, "Woaha... that is extremely complicated and confusing!", now I think "Ahh... this looks simple. Okay, lets see... this does this, this does that.. simple!" Thank you so much.

Game making is so wonderful. Why? Because you can create your own world, however big or small, sweet or mean, just the way you want it so you can play out your own fantasy.
Eevil Weevil
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location: Wherever you are, I wil follow
Posted: 10th Oct 2007 23:29
Quote: "And they get the angles of each axis for the specified object. Understand?"

Five words: Are you a maths teacher?

Excuse me. Yes you. Stop reading my siggy! It is private. Stoppit! Now! I'll kill you! Bleurgh! Go away or I'll format your C-drive! You are dead! I am dead! Yes! Ahem.

Login to post a reply

Server time is: 2024-11-25 08:31:08
Your offset time is: 2024-11-25 08:31:08