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 / everything a newbie needs

Author
Message
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 15th Jan 2006 03:59
i have seen many things that experts on db or dbp have made. one thing that i really need to learn is how to make a ball for sake and make it so you can move it or how to have a stickfigure in 2d run back and forth. or a first thing that will help us on are way to makeing small programs.thx
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 15th Jan 2006 11:58
To make a ball you just have to type in this command before your main loop.


the first number is the object number(it can be whatever you like but if its your first object 1 seems like a good choice) and the second is the size of the ball.

you then need a matrix so again before your main loop type this


the first number again is the matrix number and the second is the x size of the matrix and the third is the y size of the matrix the matrix is split up into lots of different segment as you will se when you run the program so the fourth and fifth numbers difine the size of each segments.

next you will need to do this.



this will move your object backwards and forwards.

Hope this helps it was a bit rushed and not finished so if there is anything you are unclear about just ask I will be back soon.

BM

Our aim is to keep the loo's clean, your aim can help.
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 16th Jan 2006 02:04
wow that makes everything clear. but can you add color to this matrix and maybe to turn left and right? thx the first part was very helpful
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 16th Jan 2006 02:41
snuck, what language are you using? DBC or DBP? The Monster hunt and Binary Moon Limit Rush tutorials are excellent at getting you up to speed with DarkBASIC. They're both for DBC, but most of what they do can easily be converted over to DBP.

Don Malone
21
Years of Service
User Offline
Joined: 27th Apr 2003
Location: Birmingham, Alabama
Posted: 16th Jan 2006 02:59
There was also a conversion of Limit Rush for Dark Basic Pro. Check the CodeBase.http://forum.thegamecreators.com/?m=forum_view&t=39210&b=1

I highly reccomend the Limit Rush tutorial.

A version is downloadable here
http://forum.thegamecreators.com/?m=forum_view&t=67318&b=1
Please read all posts before starting tutorial.

I can not vouch for the quality of these tutorials, but the DBC version was excellent.
http://forum.thegamecreators.com/?m=forum_view&t=39210&b=1

In Memory of My Dad.
I miss you very much.
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 16th Jan 2006 12:43
here is a chunk of code to igo into the main loop



to give the matrix a colour it is best to texture it.





make sure when loading the image that it is in the file that your project is saved in and it is spelt right.

hope that helps I will be back here after lunch two hours.

BM

Our aim is to keep the loo's clean, your aim can help.
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 16th Jan 2006 23:35
thx i will have to try it and one more thing what about a camre postion
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 02:22
yes forgot to say but why load blah blah.bmp,1 and how do you know what to type to make it turn gust want to get what i am typing!
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 02:24
what can i type to make something go back to werer it started
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 02:25
sorry for all the questions
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 17th Jan 2006 03:43
dude! you just cuadruple posted. use the EDIT button. and you are getting
WAY ahead of yourself. you JUST bought DBPRO so quit asking everyone
to explain snippets. Read the tutorials. i coded this in one weak:



and the only reason i could was becuase of the tutorials out there.

[href]http://snowfall.homestead.com [/href]
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 05:06 Edited at: 17th Jan 2006 05:11
well sorry for asking questions but someone has to be a little picky
the sound and image won't load i can't see it and it has a date when you made it and it said 1-5-06 at 8:52 so that is 2 weeks
i think i am dead
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 17th Jan 2006 05:09
He's not being picky... and one is enough.


snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 05:11 Edited at: 17th Jan 2006 05:15
ok but i don't under stand some of the tuts so i am finding a different way to get anwsers

how do you copy your signiture i really like it
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 17th Jan 2006 05:42
The best way it to try code in the tutorials and if you have a problem ask one question at a time and post your current code in code snips. The more specific you are the easier we can understand what you want.

Code snips are like this:
[ code ]
Your code here.
[ /code ]

Just remove the spaces and we see this:



Most people don't post the media with their code so you have to replace the media with your own. You can easily make or just download you own media (or request they attach the media to their next message).


snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 17th Jan 2006 15:00
thx i think i get it now but how do i download media or where could i?
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 17th Jan 2006 19:33
dark basic comes with plenty of media to use until you become really serious about a project and then you would think about your own media.

Our aim is to keep the loo's clean, your aim can help.
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 17th Jan 2006 19:35
he uses DBP. I dont think that comes with media

[href]http://snowfall.homestead.com [/href]
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 17th Jan 2006 20:01
yeah it does.

Our aim is to keep the loo's clean, your aim can help.
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 17th Jan 2006 20:07
oh yeah. the tutorial media

[href]http://snowfall.homestead.com [/href]
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 17th Jan 2006 20:42
and some other stuff.
Go to the dbp file and then click on the media file it should all be there.

Our aim is to keep the loo's clean, your aim can help.
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 18th Jan 2006 04:25
i couldn't find any textures in there it was plank so any idea where i could get them.
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 19th Jan 2006 21:58
what sort of textures are you looking for.

Our aim is to keep the loo's clean, your aim can help.

Attachments

Login to view attachments
Shadowed Lightning
19
Years of Service
User Offline
Joined: 10th Nov 2004
Location:
Posted: 19th Jan 2006 23:53 Edited at: 20th Jan 2006 00:08
@snuck yo:

Quote: "Crogram FilesDark Basic SoftwareDark Basic ProfessionalMediaTextures"



Will be the file directory to the textures, or if you didnt install it in the C-Program Files... then whatever directory you used +
Quote: "
Dark Basic SoftwareDark Basic ProfessionalMediaTextures
"


@snuck yo:

When someone posts their media, there will be a red Download and/or View button at the bottom right of their post. Always look there when someone is posting their code, in case they have media. Another great place to find media if you dont have any, is the Free Media thread:

http://forum.thegamecreators.com/?m=forum_view&t=64205&b=1

you should probably start off with something basic like pong to get a grip on the basics of the language, and in that case, the first code snippets posted about making spheres and moving boxes will be helpful. The first thing(s) you need to do in making a basic 3d game such as pong, are these--
-- Set sync rate:



-- Load Textures, Sounds, Music, etc...



-- Make objects



-- Position Objects:



-- Make Matrices,Load Meshes,etc...



-- Position Matrices, etc...




``````````````````````


Here is a basic idea of what simple pong AI would look like, it tells
the enemy paddle to move up if the ball is above it, and to move down
if the ball is below it.



```````````````````````````````

There is ALOT you can learn from the tutorials, and most of them are easier to understand than my little tutorial is. ChrisK Has/Had (I don't know if its still there) an AMAZing "First Pong Game" tutorial that could really help you out. And if thats not there, there are plenty of tutorials and commented beginners programs for you to learn from.


You don't even have to start with pong, its just a simple suggestion,
you may just want to start out moving a box around on a matrix:



AMD Athlon 64 3200 - GeForce 6800 GT - 320GB Hard Drive
1024MB RAM
snuck yo
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location: Oregon
Posted: 20th Jan 2006 16:29
ok i will try it

Login to post a reply

Server time is: 2024-09-24 15:36:14
Your offset time is: 2024-09-24 15:36:14