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.

2D All the way! / Rotation Help.

Author
Message
Black Shadow
20
Years of Service
User Offline
Joined: 14th Oct 2004
Location:
Posted: 30th Oct 2004 06:10 Edited at: 31st Oct 2004 07:51
I have DarkBasic Classic and I need to know how to do 3 things.
If you can help me with even one of these I would appriciate it.
My theory for the first part is to texture a 3D object with My 2D image, Make the camera point at the object so it looks 2D, and point the object at the mouse but I don't know how to point the object at the mouse.
1 I need to make an object rotate so it points at my mouse.
2 I need to make an object shoot from the center at my mouse.
3 I need to Make some balls roll along in a track.
Click the download for a reference to what I mean.
Please Help Me.

Attachments

Login to view attachments
Black Shadow
20
Years of Service
User Offline
Joined: 14th Oct 2004
Location:
Posted: 30th Oct 2004 06:11 Edited at: 31st Oct 2004 07:45
Why Won't anybody help me!?
13e
20
Years of Service
User Offline
Joined: 20th Oct 2004
Location: Here
Posted: 4th Nov 2004 22:36 Edited at: 4th Nov 2004 22:37
I know there's 1st person mouselook code in the tutorials that are bundled with DBC, so it may be a good idea to read through them?

I'm sure this thing's come up before, so maybe you should do a search on the forum for it?
dj chainz
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 5th Nov 2004 05:35
For the 3D / 2D section look in the code base - darkforge made a 2d sprites in 3D space functions entry for DBC.

I am the lead programmer at red spark studios
I also have a blog on how to make a game engine
http://www.dbgame.blogspot.com
Black Shadow
20
Years of Service
User Offline
Joined: 14th Oct 2004
Location:
Posted: 6th Nov 2004 05:51
Quote: "For the 3D / 2D section look in the code base - darkforge made a 2d sprites in 3D space functions entry for DBC."

and what is that called?

Login to post a reply

Server time is: 2025-05-16 04:33:53
Your offset time is: 2025-05-16 04:33:53