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 / help me pleeze

Author
Message
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 26th May 2005 17:40
im a total noob to dbp

and i want to make an ip-based online game

i know how to set up a connection , but how do i design the game which will be noline itself ??

pls copy n paste this code into yur dbp and reply

Kareem

pls reply---
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 26th May 2005 22:45
I think you need to take several steps back.

1. Read the guidelines on how to post.

2. Use thread titles a bit more informative than "Help Me Pleeze"

3. Show people what you have already attempted.

4. Ask more specific questions, other than what is essentially "Give me your code, I can't be bothered to do this myself"

BatVink
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 27th May 2005 03:52
All of the above with the addition of

5. Please don’t deliberately spell things wrong, it makes you look retarded...'please' is fine 'pleeze' is stupid. Sorry to be picky I just find it so hard watching people make themselves look stupid just by spelling crappily.

zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 27th May 2005 04:03 Edited at: 27th May 2005 04:04
@baggers
At least it wasn't... "p133Z hlp 4 nuB h4xor wit da kod3z!"


@keemo
Your code didn't post in the source button. Perhaps you can re-post with your code in tags.

~zen


Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 27th May 2005 06:28
zenassem: haha very true !

Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 27th May 2005 23:58
sorry bout everything , i just want to know for a total noob, how fast can i finish a 3d offline game , and how long does it take to make an online game (hobby , not commercial) using dbp .

PS : my code was just a text which displays the summary of what i wanted.

pls reply---
Rock
19
Years of Service
User Offline
Joined: 31st May 2005
Location:
Posted: 2nd Jun 2005 05:55
Hi Keemo

Quote: "
im a total noob to dbp
"


Perhaps if you are new to DBPro then you should start with an easier game to program than a 3D online game.

I would be very happy to send you a tutorial for Pong or Breakout(which I already have prepared)

either send an email to rossaitken@hotmail.co.uk or post a message on this thread
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 7th Jun 2005 22:49
I WANT THE TUTORIALz !

oh , pls gimmie some tips on making an online game 2

pls reply---
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 8th Jun 2005 00:22 Edited at: 8th Jun 2005 00:23
This is very simple advice.

You haven't shown any attempt to do anything yourself, not one line of code. Your credibility has hit rock bottom. You need to redeem yourself by showing some effort, even if it's code that doesn't compile.

That was the nice way of putting it. You can expect far worse if you don't help yourself.

BatVink
Rock
19
Years of Service
User Offline
Joined: 31st May 2005
Location:
Posted: 8th Jun 2005 02:16
Keemo

If you give me part of your code and tell me what kind of game you are thinking of, I may be able to help you.

::ROCK::

PS. Take Baggers advice on the spelling thing, unless of course you are retarded and in that case sorry!
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 8th Jun 2005 02:16
Lol is this week, scratch that, month international stupid forum post day or something? I've seen like more than 6 posts asking for a complete game when the person has done nothing to contribute to "their" game. We need like a seperate forum for this.

Your signature has been erased by a mod because the filesize was too large.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 8th Jun 2005 04:45
I've found what you are looking for, point 4 pretty much wraps it up...

http://forum.thegamecreators.com/?m=forum_view&t=13351&b=7

BatVink
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 8th Jun 2005 07:17
except now dbp has got better compatability as long as u have dx9c
so system specs hardly even matter anymore

yes read the forum rules first and most importantly "help others help you"

but you should start small read some turtials make a few simple yet crappy games then start to do what u want basically

and if u dare use leet everyone will hate u and u will be remebered as a n00b for at least 1 year without chgance of parol(lol or not but still just dont use leet/1337)

and trust me gotos may seem the way to go but they are not there are plkaces for gotos but in most applications n00bs put it in could easily be replaced by a loop, a gosub, or a function

formerly shadows of emptiness
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 12th Jun 2005 02:35
ok , um , what is the function of the syntax and gosub commands ?

pls reply---
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 12th Jun 2005 02:59 Edited at: 12th Jun 2005 03:04
Buy that book on DarkBASIC like my dad did for me. I can't help I
can hardly make a text game, and not the cool complex ones either.
It helps with multiplayer stuff too, and to get started try the monster
hunter and limit rush tutorials. I find those two tutorials hard to
learn though. Syntax is what the system understands I think and
gosub is short for go subcommand or something and starts a function
type thing like this
This causes the computer to jump to the label
whatever and dus print's hello on the screen!
Hardly a program but something to go on.
Refer to the manual and take the built in tutorials to learn
some more commands too.
Good Luck!

Edit:
Start small and then go big go from text to 2d to 3d and then
online. It'll take months to fully be an expert and months to make
a online game even years. It takes alot of work, even for an hobby.
Start small go big then bigger and finally gigantic! That's my
plan anyways! BASIC is a good way to start the B stands for
beginner. Go easy on em!
I find forum talk very annoying though. There's nothing wrong
with being mentally ill retarded is such a crude term. It's like
saying midget to a little person.

DarkBasic Classic Owner
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 14th Jun 2005 16:01
Thanks alot , but you're saying you can hardly make a text game in dbp ? even though you've got the book ?

pls reply---
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 14th Jun 2005 23:07
Its the coder, not the book, not the langauge that makes the game. If YOU put in enough time and effort to learn the langauge, you'll be able to create something. Go try to speak a foreign language fluently, it takes time - just like learning a programming language.

Dont know what the syntax for a command is? Open up your DBP, type the command, Highlight the syntax and press F1 - voila.

If your just beginning, dont start with an online game, youll just get frustrated and end up posting a million times here and your game will be copy + pasted chunks of other peoples code, and thats no fun. Get to work on the basic tutorials, read your command manual, learn the langauge before even attempting to make a game. You want this to be fun, not frustrating (which it will always be at times, no matter how good of a coder you are)

Also, please show a bit of effort before asking for code, as in, someone elses time. And if you ARE going to be asking some code, try to use proper english and not 'internet slang' as it gives people less of a headache trying to decipher your post, and generally puts them in a better mood when deciding to help you or not.

Please take these thoughts into consideration, or a newbie slap could be in line here Just a friendly warning.

-RPGamer


Click here to join our forums and get updates on game progress sooner!
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Jun 2005 02:11
@rpggamer
isnt he still under post moderation though, so what use would a slap be

start small as everyone has said
and no 'internet slang'

formerly shadows of emptiness
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 18th Jun 2005 05:34
No. I can but complicated text RPG games which are harder then you
think. I'm still going through the book which as 700+ pages.

Here's some code on a simple name asker and printer!

This should help a bit

DarkBasic Classic Owner
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 21st Jun 2005 02:47
@keemo
Even if you do all of the above you still might not get any help here!!! Like in my post:

http://forum.thegamecreators.com/?m=forum_view&t=55804&b=7

your lucky people even replied

Intel P4 3.6Ghz
1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 21st Jun 2005 20:33
ok thanks , i am lucky !

pls reply---
dre
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: West Side
Posted: 22nd Jun 2005 15:59
Before you start on any multiplayer game, you should write a single player copy, but put bots instead of players. I can't give you many tips because you didn't state the kind of game you are planning to make...but with your knowledge of DBPro, you wouldn't get anywhere right now, so start off by looking at examples and understanding how code works and what it does. If you're a total beginner, as in you can't even put a pixel on the screen, you should consider that one book...Beginner's Guide To DB, which will help a noob, but not an intermediate or pro. Even has a CD with code reference in case DBPro help file is confusing.

Athlon 64 X2 4400+, nForce 4 Ultra chipset, 1 gig ddr400 d-channel,Radeon X850XT PE PCI-E,2 WD 74 gig Raptors in RAID
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 22nd Jun 2005 16:55
Thanks alot !

Can you give me a task or small program to code , and give me the name of commands to use ? ill try to make that program

pls reply---
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 22nd Jun 2005 23:25
I can!
I'm gonna help you with Arrays, and Basic 2D.

First I use ` instead of rem since it's a shorter way
you can also start a series of comments by using remstart
and ending a series of comments using remend
Variables are like in algebra they store things
You need to use comments and variables if you want to have
a successful program.







And here's basic 2D



Okay, I want you to find a way to change the color of this circle
and draw other things on screen.

If you need help say so on this thread and I'll help you

Soon I'll show you keyboard controls.

I hope this helps Keemo.

Peace out,
Jono
President of Magick Software

<Insert Signature Here>
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 23rd Jun 2005 12:50
Here it is , I added a gamma command , which made the whole prog crash , I read about it in the help file and it is for changing the background colour , but its still not working , as for colouring the circle itself , i couldnt find a command for that , and i tried to draw triangles and dbp didnt understand , seems like the only 2d figure dbp knows is the circle ... no square no nothing ....

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 23rd Jun 2005 13:03
@jono: here is what i did-



btw- can't wait to see what we're going to do next!!!

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 23rd Jun 2005 13:18
I think i understand a bit ...

What our next lesson ? ( I want to learn how to make simple text programs like the ones that ask you questions like (whats your name ? how old are you ? then after dbp can know my age , I want it to say something like , if you're 12 today , you will be 14 after 2 years )

Can I learn to do that ?

pls reply---
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 23rd Jun 2005 13:21
What command is used to program a certain key ?

How can I write a program such that when , say , the enter key is pressed , a new object is displayed ?

Example :-

Right key : move character right

left key : move character left ,etc

pls reply---
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 23rd Jun 2005 14:03
start with the monsterhunt tutorials and read EVERYLINE.
when that makes sense, read this:
http://home.comcast.net/~norman.perry/games/2.zip

That's just the MH TUT25, modified from DBC to DBPro with
support for 9 players online. There is some extra crap there too,
so ignore that stuff (I plan to revisit this code again and remove those things but ...) It is playable and has alot of good things in there. Since the MHT are for DBC, many people don't want to read them. But if you take the time, and compare to my DBPro code,
you'll learn how to port DBC to DBPro and other ideas too. Then,
revisit the other DBC tutorials and see if you can convert one of them ...
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 23rd Jun 2005 14:23
where can I get the monsterhunt tutorial ?


Oh , I came across this link a long time ago , do you think it will help me achieve my goal ? http://www.devmaster.net/articles/building-mmorpg/

Can it be done using DBP ?

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 23rd Jun 2005 15:58 Edited at: 23rd Jun 2005 16:11
you can view monsterhunt tutorials here:
http://developer.thegamecreators.com/?f=t01/3d_tutorial_index

i suggest you complete the task you asked jono for before going on to 3d though...( i really don't know what i'm talking about though )

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 23rd Jun 2005 16:05
thanks , do you think i should get the begginers guide to darkbasic book , or are the tutorials on the site enough ?

pls reply---
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 23rd Jun 2005 23:51 Edited at: 24th Jun 2005 00:30
The tutorials on this site no offense to the peeps who wrote them
are very complicated for beginners they drive straight in the 3D stuff.
I think you should buy the book like me and get help when needed on
this board. We're all willing to help you.
Remember practise makes perfect and if you get frustrated put it up
for awhile and we're your brave enought start again.

Start with text move onto 2D, then when your ready 3D.
You can get a cheaper price on amazon.com for the book too.

Oh to change the color use the ink rgb command.
like so ink rgb(0,255,0),1 this changes the color to green.
Experimenting with this can be very cool or odd at times.

I think you can only draw dots, lines, and boxes in Basic2D.

Below I have code for a text turned-base monster fight, and
I have other code before it


@Poisoned
Nice stuff you did.

<Insert Signature Here>
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 24th Jun 2005 00:07 Edited at: 24th Jun 2005 00:08
Here's some keyboard controls

To save you headaches you cannot use functions in loop commands
and you cannot have keyboard control without loops.
You can have input but that's different!



This prints a$ variable for 10 times.
But what if you wanted to count by 2's?



Easy when you think about it!

Now here's keyboard control, for a green circle!


You can use the return command in a loop to return to normal
or you can use the exit command to exit a loop

Other examples of loops are
while, endwhile, and if I miss any I just can't remember them.

For keyboard control on other things use keystate(scancode)

here's an example



The bad thing is that scancode's are different,if you use a france
keyboard V would probably be different.

Experiment with the keystate() command, and the main key commands
such as
spacekey()
controlkey()
etc.

<Insert Signature Here>
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 24th Jun 2005 00:11
Adding music and sounds are easy too
Like in the ink command thing use different values at the end or else
you'll change the music you might what to play again.

load music "hello.mid",1
play music 1
loop music 1
stop music 1

load sound "moo.wav",1
play sound 1
loop sound 1
stop sound 1

Bitmaps are a sure thing too

load bitmap "dog.bmp"
this pastes the bitmap on screen

or you can load images
load image "lion.png",1

Soon i'll show you how to use sprites.

<Insert Signature Here>
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 24th Jun 2005 00:29 Edited at: 24th Jun 2005 00:32
Here's a text turn-based RPG
It as different user input and stuff too!

First of all
wait, waits for a certain time in milliseconds 1000 milliseconds are
equal to 1 second.
You can use sleep instead of wait too.
The wait key command waits for a press of any key, you can also use
suspend for key instead of this.



Add another monster if you wish, or cheat and make yourself stronger
then the wolf. Or vice versia!

Here's some RPG things you might add if you made a text RPG


<Insert Signature Here>
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 24th Jun 2005 13:58
Thank you so much , Ill dedicaet my big project to you and the guys who HELPED in TGC forum , pls continue the tutorial !

PS : you might want to send it to me to my email straight away (keemo1000@hotmail.com) or you could just port it here .

pls reply---
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 24th Jun 2005 14:03
Um , just one question before we move on :_

@ Jono :-

load music "hello.mid",1
play music 1
loop music 1
stop music 1

load sound "moo.wav",1
play sound 1
loop sound 1
stop sound 1

What is the difference between music and sound commands in dbp ?

Bitmaps are a sure thing too

load bitmap "dog.bmp"
this pastes the bitmap on screen

or you can load images
load image "lion.png",1

What is the difference between bitmap and image commands in dbp?

pls reply---
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 24th Jun 2005 14:13
Hey guys, how come this code doesnt work ?

Trying to play a song by linkin park in dbp , its mp3 , but not playing.



pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 24th Jun 2005 14:50 Edited at: 24th Jun 2005 14:58
@jono thanks i'm glad you ask us to do stuff to mod the code, I'm learning a lot...
any how here is what i did:


i'm sure there is a better way to keep the circle from leaving the screen but my skills are limited and this is how i went about it

@keemo
is it mp3 or wav if mp3 then your you need to change your code to say:
blah.mp3
and make sure your saving your project in the same directory or put the complete path like this

i haven't messed with sound yet so this is what i would do...

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 24th Jun 2005 19:58
thanks

pls reply---
Briere
19
Years of Service
User Offline
Joined: 28th Feb 2005
Location: Amherst New York, United States
Posted: 24th Jun 2005 23:40
if your new to programming in general then you wont be able to
unless your have a natural talent for it, which you may.
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 25th Jun 2005 08:19
Keemo!
You need to go load sound not load music.
A Music Is like a song.
A Sound Is like a dog barking.
A image can be a bitmap, or PNG
A bitmap is only that a bitmap.
You need use the load image command to use sprites or it won't work.

Oh and for that song

load music "yoursong.mp3",1
play music 1
loop music 1
stop music 1
wait key

Here's an example of a sprite

load image "sprite.bmp",1
sprite 1,200,200,1

The first number is the sprite number which is of coarse 1!
The second number is the X cordinate position, remember X is
horizontal or across.
The third number is the Y cordinate position, remember Y must be
up and down.
The last number is the image number.

To make this sprite move you would have to do something like
the circle.

Okay tasks:
Experiment with the sprite command and make it move. The moving
circle program I made can be used as a guide.

Ask for help anytime. I'm gonna be gone for about a week on
Saturday let me know how your MMORPG is coming along too.

<Insert Signature Here>
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 25th Jun 2005 08:25
Here's a note to guys, as long as it's in your project folder you
don't need to find the path for example:

load music "c:/desktop/my music/crawling/mp3",1
If you complied this and send it to a friend this music wouldn't
load since it might not be in this path on your friend's PC

where in this example you put all your media in your project folder
you would only need to load the sound like so
load music "crawling.mp3",1
and it would work!

For example I'm working on a boulder-dash game called Dark Dash
If I had the song splash-down.mid in the project folder (Dark Dash)
then I wouldn't need to find the path or in the case of just source
code someone else could use it.

This is the best way I can explain this, I hope it's a good way!

<Insert Signature Here>
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 25th Jun 2005 12:28
I updated the circle movement code some and made the circle move with the mouse



Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 25th Jun 2005 12:57
nice , but you actually changed the cursos into thwe circle

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 25th Jun 2005 13:04 Edited at: 25th Jun 2005 15:28
whatever it still moves with the mouse... do you have something better?

- now i made the circle grow and shrink with the left and right mouse buttons



Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 25th Jun 2005 13:08
COULD NOT LOAD MUSIC AT Line 1 .

The music only plays when I use poisoned's method , how do i get jono's method to work ?

pls reply---
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 25th Jun 2005 22:31
Put the music in your project folder.
It should work.

Cool work Poisoned!

I need to think of more tutorials. Maybe a 3D pong game or something
well I'll post them when I get back from my trip.

Good luck with the music. It should have worked I'm wondering why it
didn't?

Working On Dark Dash A Remake of Boulder-Dash and
Qwest* a text RPG.
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 25th Jun 2005 22:33
Load music "crawling.mp3",1
play music 1
loop music 1

Working On Dark Dash A Remake of Boulder-Dash and
Qwest* a text RPG.

Login to post a reply

Server time is: 2024-09-24 03:14:42
Your offset time is: 2024-09-24 03:14:42