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! / first game

Author
Message
sadsack
21
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 4th Apr 2004 22:03
Hello,
I have been playing around with Dark Basic Pro for about 5 months now. I am going to need alot of help on makeing my first game. It is going to be in the format like "Total Annihilation" where the camera move around the world.
What I need to know now is: What is the best way to make my world?
matrix or some other way? I have made a few righting code and useing matedit 1.6. I know that is 3D, can it be useed in 2D?
One other thing, the camera, I need it pointed down at the world. I been looking and reading about how to do this. There three 0,0,0 after the camera com. which one will put it looking down, and what deg. is down. Is it 180 deg. or something other that 180? Putting it over the world I can do that. Thank you all for all the help you have giving in the past renny
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 4th Apr 2004 23:30
You don't really want to use Matedit for 2D games, it's a waste of speed. Just draw your ground in 2D with an art package. you can make it from small squares which are used like jigsaw pieces, or just draw the whole thing. To point the camera down, you don't move it at all. Just point it at the jigsaw pieces which will be textured onto 3D plains.

You move the ground away from the camera z = 500.

Set camera to Object orientation....ground.

I don't know what Total anhillation is.

Morloc
21
Years of Service
User Offline
Joined: 21st Mar 2004
Location: UK
Posted: 5th Apr 2004 16:27
For a res of 1024x768 ive found that z=641 fits best, although this doesnt matter if your map is a scrolling map.

Morloc
sadsack
21
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 5th Apr 2004 22:31
hi
well I made a battle field in matedit and I think I found how to put the camera in looking down over the field. I try to put a sprite on the field. so far i had no luck in doing so. can you put a sprite in a 3D map? If so what is the best way to do it?
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 5th Apr 2004 22:41
Sprites should be the same in 3D as 2D, not sure of the DBPro syntax for sprites, but DBClassic just uses

Sprite SpriteNo,X,Y,ImageNo

Image is a .bmp file that you load. Can use other things like png too.

sadsack
21
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 5th Apr 2004 22:56
Thank you I will try it.
Tapewormz
22
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 6th Apr 2004 00:39
Total Annihilation was a 3D game... And a very good one for it's time. The terrain was 2D, but all the units were 3D.

Quote: " Timesoft - Your wife is death. How? NO idea.
But it is murder. REVENGE!!!!!!!!!"

Hands down the funniest synopsis for a game ever. All your base are belong to us!

Login to post a reply

Server time is: 2025-05-14 09:46:08
Your offset time is: 2025-05-14 09:46:08