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.

DarkBASIC Discussion / starfield.

Author
Message
Evarcha
20
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Preston, England
Posted: 28th Apr 2005 03:36
Hi there, i have been reading the snippets of code for bits of information and found several starfield generators, all are 2d though. I wondered how hard is it to make a 3d starfield and can you rotate it using the mouse? Is there anyone who has done this so i can see their code? Thanks guys, I am sorry to keep posting questions but I am new and full of curiosity. I saw the movies of that incredible game Mercenaries 2 that has been programmed in dark basic, it blew my socks off...I am more than convinced of Dark Basic's potential.
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 28th Apr 2005 09:30
this is a very simple 3D starfield I made just now.You can edit it to make it much better then this.


NARUTO IS THE NINJA.......not really
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 28th Apr 2005 15:09 Edited at: 28th Apr 2005 15:10
Evarcha,

Here is also another form of a starfield using two images of a type of star. I have made the stars to face the camera alway, as to say, this is a method of creating 3D sprites. Both methods in this post are great, and either can be used as needed, depending on the look of the environment needed. The two images I have uploaded to here.




+NanoBrain+

Attachments

Login to view attachments
Evarcha
20
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Preston, England
Posted: 28th Apr 2005 20:24
Thanks guys! I'll have a good ol' look through these and see what I can do with them. Like I have said, I have been reading the code snippets and examples and bit's and pieces are becoming clearer, I still wonder whether or not programming is a natural talent, haha...mine is art but jeeez, i wish right now it was programming.

I appreciate the help!
Evarcha
20
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Preston, England
Posted: 29th Apr 2005 02:06
...I would like to make my stars appear to be bright because they look dull even though i have used white on the .bmp. I would also love to know if u can make a glow around them that is transparent because the halo of my .bmp (included with this post) occults the stars behind. Is there a way of solving these problems?

Thanks again.

Attachments

Login to view attachments
Muncher
20
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 29th Apr 2005 02:43
I added some code to place the starfield directly in front of me, and move it at different speeds until the stars pass me, and then they are moved to the back. However, my code will not work.
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 29th Apr 2005 12:14
Evarcha can you tell me more about who used and published this game using Dark Basic and was it LucasArts with Merenaries? and Pandemic?
Evarcha
20
Years of Service
User Offline
Joined: 7th Jan 2005
Location: Preston, England
Posted: 29th Apr 2005 18:19
Hi Vampyre, the mercenaries game I am talking about was programmed in Dark Basic Pro, I was mistaken in thinking it was simply Dark Basic. Here's a link to the forum posting where you can download the trailer for the game, I recommend you do as it looks like it's going to be an excellent title:

http://forum.thegamecreators.com/?m=forum_view&t=42686&b=8


I take it no one can help me with my stars? I downloaded the demo for Evochron also, and I still find it hard to believe it's a D.B game, no offence to D.B intended in the slightest, but it just goes to show just how much you can do if you put your mind to it. It also answered my previous posting when I asked if you could make a space trader using d.b, the answer would appear to be a resounding yes!!!
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 29th Apr 2005 20:04
Thanks Evarcha that was an amazing demo
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 30th Apr 2005 09:39
there is an example on light and shadow. It uses the sun which is a star.go to the examples then go to the light section then click shadow effect.

NARUTO IS THE NINJA.......not really

Login to post a reply

Server time is: 2025-05-22 23:55:36
Your offset time is: 2025-05-22 23:55:36