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
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 2nd Jan 2006 19:43
Keep adding to it!! Im using it!!!!
I "tryed" to post before but that didnt come through...
anyway i have a problem... When ever the program reaches Wait 3000 it shuts down.... Im using the DBPro Demo
Frozen Flame
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location:
Posted: 2nd Jan 2006 20:56
^looks like he still wants them..

@The one noob to rule them all.. i cant read your code put it in a code box.
using the command [ code][ /code] without spaces.


Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 2nd Jan 2006 21:32
K i hope this code box works!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 3rd Jan 2006 00:01 Edited at: 3rd Jan 2006 00:05
Ok, so that's 2 out of 5. Thanks for them

@The one noob to rule them all-
I read the code in your e-mail and tested it out. I understand what's happening. This is the code you posted:

Healthwords$="Your health is"
Blank$=" "
health#=100
Print HealthWords$+blank$+str$(health#)
Wait 3000
Inc Health#,1
Healthwords$="Your health is now"
Print Healthwords$+blank$+str$(health#)

Everything there is correct. There is nothing wrong with that code. However, there is some thing you forgot, or maybe didn't know. Once DBPro reaches the end of your code, it automatically turns of without wait. The problem is, you didn't put a wait at the end of your program. So what DBPro is doing is turning the program off right when it hits the last line, because you didn't tell it to wait. Add 'Wait 3000' to the end of your program and it will work:

Healthwords$="Your health is"
Blank$=" "
health#=100
Print HealthWords$+blank$+str$(health#)
Wait 3000
Inc Health#,1
Healthwords$="Your health is now"
Print Healthwords$+blank$+str$(health#)
Wait 3000

Also, I see that you have:

Healthwords$="Your health is"
Blank$=" "
health#=100
Print HealthWords$+blank$+str$(health#)

To tell you the truth, you dont need a 'blank$' variable. Take out
' Blank$=" " ' and look at where you have
' Print HealthWords$+blank$+str$(health#) '. Since there is no
' blank$ ' variable anymore, replace ' +blank$+ ' with ' +" "+ '. It's the same thing and it will work. Your final code is:

Healthwords$="Your health is"
health#=100
Print HealthWords$+" "+str$(health#)
Wait 3000
Inc Health#,1
Healthwords$="Your health is now"
Print Healthwords$+" "+str$(health#)
Wait 3000

Run it, and it works the same. Another method is adding a space after ' Your health is ' and ' Your Health Is Now '. I changes your code for you again, and this is what it looks like:

Healthwords$="Your health is "
health#=100
Print HealthWords$+str$(health#)
Wait 3000
Inc Health#,1
Healthwords$="Your health is now "
Print Healthwords$+str$(health#)
Wait 3000

So there, thanks for looking at my tutorials, and good luck!

EDIT: I forgot to tell you how to put code on the forum the correct way. First, look above the typing space for your post. Look over to the right where it says ' code '. Click that, and put you code right
after the tag the comes up in your post. Once your code is in, press
' code ' again and another tag should appear but it should look slightly different than the first. When you post, look at your post and it should look like this:
Jerok
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Mars. Wait a sec I\'m on MARS. OMG
Posted: 3rd Jan 2006 00:40
i think its a good tutorial so far i hope you keep working on it

Frozen Flame
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location:
Posted: 3rd Jan 2006 02:46
thats 3.


John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 3rd Jan 2006 04:10
Nice one, I started doing this a long time ago but quit because no one was appreciative. Keep up the good work!

Sorry, spilled some glue on your thread >_<


Join Our Forums and get game updates faster!
Frozen Flame
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location:
Posted: 3rd Jan 2006 05:28
Xenocythe... Would you look at that!

I think by me brining back a dead thread, got some more people wanting your tuts.. and helped a mod realize this was sticky material!

Ahem.... Anyways.. i think a mod counts as 2. Hope to see you at Galekus soon?


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 3rd Jan 2006 23:06
Woot! Sticky! *Walks away and comes back* Woot! Double Sticky! Thanks so much RPGamer, I guess this means I'll continue these since a sticky counts as about 10 votes Thanks again everyone! Back to work for me!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 4th Jan 2006 00:48
Well, the incredible... long... tutorial 12 is done!
Frozen Flame
20
Years of Service
User Offline
Joined: 22nd Jul 2004
Location:
Posted: 4th Jan 2006 04:36
Easy come easy go..


Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 4th Jan 2006 21:05
Hey i have some suggestions for future tutorials...(I havent looked over tutorials 8 - 12 yet so...)
How to load maps!!!
Also i dont know if this is to complex but to create a control panel
Where a compus/wepon used/bullets left/health/items you have would be displayed..
Also How to create AI for the characters (this one has me stumped)
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 12th Jan 2006 01:21
what is the whole code because i bought dbp today and i need to good things
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 15:26
i did
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 17th Jan 2006 20:12
you did what?

[href]http://snowfall.homestead.com [/href]
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 17th Jan 2006 23:31 Edited at: 17th Jan 2006 23:31
snuck on you its a tutorial you dont just ask for the code you read it and learn from it if you just ask for the code you wouldnt learn any thing (yes you could look at the code and figure out what it does but its not as good)

Stop double posting use the edit buton its in the botom left cornor of your post


www.crazyprogrammer.bravehost.com
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 18th Jan 2006 16:31
yeah snuck. LOL. your asking in almost 5 threads for tutorials and you want people
to post their code! first off heres a tutorial! follow it and learn. 2nd off
getting people to post the code will do you NO good. here is an incrediably simple
2d RPG im working on. try remming out each line and if your right i might forgive you:



[href]http://snowfall.homestead.com [/href]
Merrie
18
Years of Service
User Offline
Joined: 18th Jan 2006
Location: PA
Posted: 19th Jan 2006 16:35
Thank you very much for the tutorial, its great to see a start to finish RPG, just for beginners tutorial. Most often it is discouraged to start off with an RPG because of the complex nature of it and the planning.

One thing I learned, get a new notebook, take it with you and as you get ideas write them down. It helps alot with the planning. I've run alot of tabletop games so this is a old trick but an very effective one.
ThomasFN
20
Years of Service
User Offline
Joined: 26th Aug 2004
Location:
Posted: 1st Feb 2006 17:57
can't wait until you get to the multiplayer part of all this...

apart from that, coming along nicely. If only i saw this whwn i first got DBP - it would have saved me a whole load of trouble

=ChrisB=
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 1st Feb 2006 18:12
This post is worse then umans! I feal like i just read a novel!

Your signature has been erased by a mod, because the mod was so jealous of it that he couldnt bare looking at it.
x1bwork
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 1st Feb 2006 18:31
should be called "how not to write an rpg"
Blitz the Hedgehog
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Behind you.
Posted: 2nd Feb 2006 18:10
Thanks Xenoscythe!!! I'm making an RPG and your tutorial really helped me!!! Thanks again!!

Quote: "This post is worse then umans! I feal like i just read a novel!
"


Of course it's long. But if you actually learn from it, then it's best. So hush!
Blitz the Hedgehog
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Behind you.
Posted: 8th Feb 2006 00:15
Thanks Xenoscythe!!! I\'m making an RPG and your tutorial really helped me!!! Thanks again!!

Quote: "This post is worse then umans! I feal like i just read a novel!
"


Of course it\'s long. But if you actually learn from it, then it\'s best. So hush!

Xeno, are you working on #13? That\'d be awesome!!!
Blitz the Hedgehog
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Behind you.
Posted: 8th Feb 2006 00:15
Thanks Xenoscythe!!! I\'m making an RPG and your tutorial really helped me!!! Thanks again!!

Quote: "This post is worse then umans! I feal like i just read a novel!
"


Of course it\'s long. But if you actually learn from it, then it\'s best. So hush!

Xeno, are you working on #13? That'd be awesome!!!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 10th Feb 2006 17:08
Merrie, ThomasFN, Blitz the Hedgehog,
Thank you all very much for your comments. Tutorial 13 is coming soon, and I will be back to work on all the rest in a couple of days, right now I'm just sorting things out for my own game and helping others out.

ChrisB,
It is long, but you can't make an rpg in 3 small steps can you?

X1b,
I am getting tired of your comments, cursing me off on MSN, and whatever else your doing for no appearent reason that I see. Why in the world are you so pissed off at me?

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
x1bwork
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 10th Feb 2006 18:05 Edited at: 10th Feb 2006 18:12
[edit]

you know what,no. such a waste of breath.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 10th Feb 2006 18:13
Didn't mean to make it sound like a fit, I was only trying to ask what you meant by '?'. Maybe you were annoyed, angry, or maybe it was just a response in place of 'hey'. So all I did was ask. Maybe it didn't sound like that, but I did try not to get you to get angry.
Ok, I guess I'm sorry, truce?

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Game Programming Beginner
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: USA VA
Posted: 19th Feb 2006 01:11
hey i like what you are do hear, keep up the good work as im sure that its helping out a few others that are new to programing. like me thanks for the info

WindowsXP Professional, AMD Athlon 2.500+ GHz CPU, 512 MB of RAM, GEForce2 MX 64mb of RAM. Let the Game's Begin...
Artaures
19
Years of Service
User Offline
Joined: 23rd Nov 2005
Location:
Posted: 19th Feb 2006 02:41
how is 13 coming along?!
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 21st Feb 2006 21:38 Edited at: 21st Feb 2006 21:39
Like what artaures said...how is 13 comming???..the rest of 13 i mean...

Yea im back from the dead....
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 21st Feb 2006 22:48
Tutorial 13 is in progress, sorry for all the wait, been really really busy... Lol, I have about 5 projects and school, and some games I like to play, and only about 15 hours for all of it. Not that I'm quitting this, of course.

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 21st Feb 2006 23:47 Edited at: 21st Feb 2006 23:47
But who cares, its done now!

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Hoose
18
Years of Service
User Offline
Joined: 15th Feb 2006
Location: Lost in the corners of my Mind!
Posted: 24th Feb 2006 06:25
Appreciate the tutorial, I'm finding it very useful.

Hoose
Artaures
19
Years of Service
User Offline
Joined: 23rd Nov 2005
Location:
Posted: 25th Feb 2006 04:03
You are trully a god send, we need more of you people.

So how is 14 coming along? jk.......but really?


and X1B sounds like he is a heavy RPGer, too bad this forum doesnt have an optiion to view peoples earlier posts, but i would love to see all the great RPG makers to band together, make a book or somethin :p
spiffy
18
Years of Service
User Offline
Joined: 3rd Jan 2006
Location: why r u askin
Posted: 26th Feb 2006 12:02
i have the 1st dark matter howcould you replaese the little box with a knight or something

im a noob which ways up?
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 27th Feb 2006 02:37
That will be covered in the next few tutorials, actually.

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Riothamus
18
Years of Service
User Offline
Joined: 28th Feb 2006
Location: The Nether Region of Thought
Posted: 1st Mar 2006 04:27
I really enjoy the first tutorial that you have posted, and I appreciate the professional tone that you convey with the way you present it. Keep up the good work.

I am used to programming in C and C++, and this is a nice quick way to jump into the DB language.
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 7th Mar 2006 02:18
Xenocythe im going to try out the rest of tut 13 as soon as I get DBPro
I bought it and it should be comming some time soon (online download one) Then again somtimes things are just as slow as the mail..
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 12th Mar 2006 20:05
I made a 2 storie house that will be free to use, and in tutorial 14 you will load , scale, and position that house. Then with the free version of NGC, you will set up sliding collision and you will be able to go up and down the stairs. Still workin on it though.

"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: 13th Mar 2006 18:08
I'm finding these tutorials extremely helpful. I like the way you write them Xeno. BTW do you know if 3ds Max can export to .3ds files, or if there's a plugin for DBPro that allows it to use .max files?
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 14th Mar 2006 00:44
Hmm try looking on the catography shop forum...
Profit
18
Years of Service
User Offline
Joined: 19th Feb 2006
Location: United States
Posted: 14th Mar 2006 23:27
blitz the hedgehog, of course 3ds max can export .3ds files. File->Export->3ds

common people are walking in line.
Blitz the Hedgehog
19
Years of Service
User Offline
Joined: 11th Aug 2005
Location: Behind you.
Posted: 17th Mar 2006 22:34
Oh phew, thank god. Any idea where i can get it free, or very cheap?
(I have the demo, you see.)
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Apr 2006 04:33
Its impossible to get it free.

And guess what, I just made fire on a plain. Its awesome. I can use it anywhere and it will be uber awesome fire. Its animated fire.

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 2nd Apr 2006 05:47
do you have any screenies i want to see what it looks like before i write it.

visit my site (unfinished)
www.freewebs.com/dbnewbie
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Apr 2006 18:57
Not yet, I just found a problem with it...

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Apr 2006 20:43
The fire is done, and I decided to release it and make a project out of it. There is a "FireScript Animation" thread on the WIP board

"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: 17th Apr 2006 03:51
Xeno, are you still working on the tuts? It'd be good to see #14 out. Oh, and how come you don't use MSN Messenger?
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Apr 2006 04:14
nice tutorials!

I hope 14 comes soon! (will 14 or 15 have enemies and leveling up?)

This looks sweet! I'm gonna keep on watching this thread (I dont usually do that with other ones. You can ask any one of the spyware makers that sent spyware to my computer, and they'll tell you i dont. lol.)

Seriously, good tutorials. Nice work. etc...

You can try, but you wont get anywhere.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 17th Apr 2006 22:19
Yess, definetly still working, just stuck between Basketball, playing outside like everyday, parties, then its my main MMORPG project, FireScript, and then mainly animating for a friend that leaves little time for this.

Its still going though... THANKS for all the comments!

"Forgiveness is a good thing"
"Forgiveness is between them, and God. I set up the meeting"
-Man on Fire

Login to post a reply

Server time is: 2024-11-24 09:02:17
Your offset time is: 2024-11-24 09:02:17