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 / I am noob help me!

Author
Message
Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 4th Jul 2004 04:00
I am such a n00b how do you place an object at "800,900"

Please tell me in n00b langauge!

I AM THE THICKEST N00B EVER!
Represent
22
Years of Service
User Offline
Joined: 24th Dec 2003
Location:
Posted: 4th Jul 2004 09:44
u mean 800 pixels by 900 pixels???? so your game or whatever is in 1024x768? if so then...

do something like this


or something along those lines.
Cian Rice
22
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 4th Jul 2004 12:19
If it's 3D and the first is x and the second is y then


Got anime?
I do.
Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 4th Jul 2004 17:29
what you mean
and whats the z for?

I AM THE THICKEST N00B EVER!
Arkheii
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 4th Jul 2004 17:34 Edited at: 4th Jul 2004 17:37
Consult the manual first.

(I suspect that this is just some other guy deliberately spamming the forum. He knows how to use the code tags but doesn't know anything about BASIC syntax.)

Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 4th Jul 2004 17:44 Edited at: 11th Jul 2004 17:52
i have been using darkbasic for 2 and a half years!

I AM THE THICKEST N00B EVER!
DeepBlue
23
Years of Service
User Offline
Joined: 17th May 2003
Location: A little box in the UK
Posted: 4th Jul 2004 17:57 Edited at: 4th Jul 2004 17:57
Would suggest you read the tutorials & newcomers resources threads at the top of this board.

They were made for people just like yourself with very little experience & you should find them very helpful. After that I would suggest you look at the pong thread & make a pong game.

The above should give you a good start & also stop you having to ask very simple questions on the forum.

Hope you find your programming in DB enjoyable & we look forward to seeing a game of yours at some stage.

DeepBlue

The coder formerly known as Twynklet.
Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 4th Jul 2004 18:45
but i know how to do a load of things i am just stuck on this one thing,can somebody give me an example over msn or aim?

msn:[email protected]
aim:qwik trick

I AM THE THICKEST N00B EVER!
Don Malone
23
Years of Service
User Offline
Joined: 27th Apr 2003
Location: Birmingham, Alabama
Posted: 4th Jul 2004 22:29
Quote: "FROM DARKBASIC PRO HELP FILE

POSITION OBJECT
This command will place the specified 3D object in 3D space. In order to see your 3D object, you must ensure the camera is pointing in the right direction and that both camera and 3D object are within 5000 units from each other. The object number should be specified using an integer value. The 3D Coordinates should be specified using real numbers.

SYNTAX
POSITION OBJECT Object Number, X, Y, Z

"


Object Numbers are one of the first concepts learned in 3D tutorials so go back and reread the tutorial in the manual or some online beginners tutorials. You will be better off for having done that.

Wasting CPU Cycles since the 286 was a hot machine.
Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 6th Jul 2004 01:41
cant find any online tuts with object postion

I AM THE THICKEST N00B EVER!
hyrichter
22
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 6th Jul 2004 04:55 Edited at: 6th Jul 2004 04:56
I don't know if you are using DBC or DBPro, but here are two excellent tutorials for DBC. Go completely through both of them, and you'll be well on your way to making something of your own.

http://darkbasic.thegamecreators.com/?f=tutorials

Don Malone
23
Years of Service
User Offline
Joined: 27th Apr 2003
Location: Birmingham, Alabama
Posted: 6th Jul 2004 05:02 Edited at: 6th Jul 2004 05:05
here it is.

From the Binary Moon tutorial

Tutorials -
http://developer.thegamecreators.com/?f=t02/bm_tutorial_index

3D positioning:
http://developer.thegamecreators.com/?f=t02/bm_tutorial_19

2D positioning starting with the basics
http://developer.thegamecreators.com/?f=t02/bm_tutorial_9

enjoy

Wasting CPU Cycles since the 286 was a hot machine.
Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 10th Jul 2004 01:55
that does not tell me how to position x objects

I AM THE THICKEST N00B EVER!
hyrichter
22
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 10th Jul 2004 04:52
What, exactly, do you mean by "position x objects"? Are you trying to load in a .x model and position it?

Mystic Death
22
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: England
Posted: 10th Jul 2004 22:01
yes

I AM THE THICKEST N00B EVER!
hyrichter
22
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 11th Jul 2004 10:07


That's some code to load an object and allow you to rotate it. Make sure your 3d model is in the same folder that you save your source code in.

Indian Homie G
22
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: San Jose, CA
Posted: 11th Jul 2004 11:42 Edited at: 11th Jul 2004 11:43
well explained hyrichter, but this guy is too n00bish to understand what you said.

Okay, Mr. Sgt n00b Sir, I will explain to you. Alright, when you load a 3d object, you have to give it a number. This number is sort of an identification for that 3d model, for future commands that "do stuff" with the object, in your case, positioning the object (ill get to that). Here is an example:



here you see 2 numbers, one and one-hundered. the 1 is the object id. the second number is the radius of the sphere you are creating. now, positioning objects.



okay, im also assuming you dont understand what X,Y,and Z values are. think of X coordinates as side-to side (horizontal), Y coordinates as up and down (vertical), and Z coordinates as, well, like, in FRont of you, and behind you. now onto positoning this object. when you want to positon an object, you must tell darkbasic 4 things: the number (identification) of the object you want to position, where along the X axis you want to position it, where along the Y axis you want to position it, and where along the Z axis you want to position it, in that order.

So, when you are saying "position object 1,800,900,0" you are basically positioning it, (assuming you are at 0,0,0) 800 units to the right of you, 900 units on top you, and 0 units in front of you.

Hope that made sense

PS-How old are you?? Grasping these concepts cant be that hard, i was 12 when i got DB.

PPS- did you read the user manual? did you do the tutorials? Jeez man, i wasted like 10 minutes writing this, it had better matke sense
Indian Homie G
22
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: San Jose, CA
Posted: 12th Jul 2004 11:40
you dumbass, now you wont even respond

Login to post a reply

Server time is: 2026-07-25 16:43:02
Your offset time is: 2026-07-25 16:43:02