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 / How do use have DB communicate to another program by using data files? <DBC or Pro>

Author
Message
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 15th Apr 2007 21:46
When I create a particle using the smoke image I can't see the image. I think it is some sort of alpha setting because the image is white and you can barely see the image.

Also I want to be able to make the white transperent leaving the smoke cloud as the visible image.

Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 26th Apr 2007 23:04 Edited at: 26th Apr 2007 23:06
I have a scaling problem. When I try to scale an object on one axis using it's size like this:

x = x + 1


I end up with 0's?????

I have attached an example(.dba script).

I just want to scale on one axis. What did I do wrong?

Edit: I would be nice if someone would respond to my question above. I have been waiting a while... Thanks to anyone who could help!

Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 27th Apr 2007 01:13
Your script looks like DBPro.

In DBC, object size is referenced with a single index
OBJECT SIZE X(index).

Scale, in DBC is in percentages. So if you want to scale an object up, you start at 100% and go from there. 200% would be twice the objects size, 50% would be half the obect's size, etc.



Enjoy your day.
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 4th May 2007 04:06
@ Latch - When combining objects you could just have the main object with a bunch of limbs,then save it as a static object and the limbs will be a part of the saved static object?

Also texturing would the texturing be preserved?

Anyway I just want the users to have a final build of the world by just having to load one file just to make it easier.

I have several cool examples and documentation done that I could send of the project. I have examples for most of the program. Most of them were version 1.0.

I could also send over the Dark World Toolkit (New name) over with the save feature disabled.

Let me know of a secure way to send it...I don't think email will work because it has a 10 mb limit.

Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 20th May 2007 02:38
The thing about a static object is once it's converted and saved, you can't reload it and separate out the individual objects. Limbs will disappear and become part of the mesh, and individual objects become part of the static world. If you have a city scape, you might have all the buildings and city itself as a static environment. But if you have a robot that walks around, you don't want to make it into a static object. And yes, the texturing is preserved. You should study the static commands to get more information. I believe if the number of objects and poly counts go up very high, the performance hit is greater than the equivalent of non static objects.

To transmit it, you might set up a secure FTP site and email me the info. Though, I think my direct x is a bit out of date. I'm not sure I can update it any further using windows 98.

And just a note:

You've obviously put a lot of time and effort into this project. Even though DarkBASIC is an excellent product, you may be limiting the potential of your project - unless your goal is to distribute it to those that already own DarkBASIC. To widen your market, it might be time to take what you've learned and start converting it to a more platform independent language - including opengl as a base instead of directx. You could also untie your hands in terms of proprietary limitations. You seem to be basically recreating DarkBASIC but with a push button interface instead of typing lines of code. The obvious problem is that you want to be able to distribute your product and have others create their own executables - which basically means distributing the DarkBASIC compiler. You may be able to work out a deal with TGC in that regard - but more beneficial to you in the long run would be to create your own package entirely, that has your own 3d engine and scripting. Although, that could be a more difficult route.

Enjoy your day.
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 23rd May 2007 23:44 Edited at: 23rd May 2007 23:49
@Latch

Here is my idea:

Three levels using the Dark Basic Engine.

The first level is the developer. The developer owns Dark Basic Professional and can create his own unique setup for his game.

The second level is the MOD. The MOD is a user who uses my Dark World Script that will modify the game in someway. The MOD would be able to change all the properites of objects and be able to load and position his own with the Dark World MOD application.

The third level is the user. The user is somewhat limited to what they can do, but can build their own unique game with existing scripts, MODS, and game templates.

I feel that making levels of difficulty it would encourage everyone in the gaming market.

I would also like to send you some demos around the summer that will appear in the Dark World Beta 0.30. These would include the levels of development that I was talking about.

For the Files (Dark World Beta):

I haven't put together a fully functional Dark World Beta 0.20 yet because of finals at school, but will have it a few weeks into the summer.

I will put my files on box.net when I get the time.


Extra ideas I will use later in my project:

I want to learn Directx and learn how to use it to extend the functionality of my project, but I have been having trouble figuring out how to draw Directx in the Dark Basic Professional window. As soon as I figure that out the rest will just be a matter of learning Directx.

I was also looking into OpenGL and another language that I can't remember.

gamersforsale

Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 4th Jun 2007 20:10
@Latch:

I need some help will an access client program I am creating in Visual Basic .Net.

I am using access automation using Visual Basic .Net by adding a reference to micrsoft access.

I can't find anything on how to create a new table.

To get this to work you have to add a reference under the drop down menu somewhere. You want to add Microsoft Access Object Lib.

To get you up to speed on how I set this up so far check out this code snippet:




I found out how to create a new form. The code is:



I think it may be under accessapp.docmd.

Anyway I just need a site that would explain how to do this.

I already tried looking up for Microsoft Access Automation with Visual Basic .Net and couldn't find much. It was hard to find anything even on the microsoft's website.

Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 5th Jun 2007 11:17
Hello,

You can start out here :

Visual Basic for Applications - MS Access

but not having tooled around with it for some years now, I think the general process is - though my info may not be reliable:

After you Dim your variable as an Access Application, I thought you also would have to set it equal to an existing database

set accessapp=OpenDatabase("Name of database.mdb") but this might only be from within access - I can't quite remember.

Anyway after that, you have to add a table to the database
accessapp.Execute "CREATE TABLE GFSTable" ("Field1 DATATYPE, Field2 DATATYPE ... ")

Enjoy your day.
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 5th Jun 2007 19:45
@Latch would an example in VB.Net help?

Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 6th Jun 2007 17:08
An example might show what you're after.

In order for this to work, don't you have to have MS Access installed on the the machine that's going to use the VB app? Or a run-time version of the database that you will distribute with your app?

The process is basically
1. Reference the application
2. Create an object of type database
3. Use methods to create forms, tables and whatnot in the database

You might want to research a bit on Microsoft Jet

Also for the CreateTableDef method, take a look here:

http://msdn2.microsoft.com/en-us/library/bb220949.aspx

Enjoy your day.
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 2nd Jul 2007 07:03 Edited at: 2nd Jul 2007 07:14
@Latch: Check your email.

It is just a log of what I am currently working on.

To big to post here, don't want to give away anything!

GFS

Dark World Website Launched! http://www.darkworldengine.co.nr
[/href]Blog with updates of Dark World Launched! http://www.darkworldengine.blogspot.com
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 4th Jul 2007 01:09
checked

Enjoy your day.
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 7th Jul 2007 21:18
@Latch - Secret Project I am starting.

Check your mail.

GFS

Dark World Website Launched! http://www.darkworldengine.co.nr
[/href]Blog with updates of Dark World Launched! http://www.darkworldengine.blogspot.com
Gamers for sale
19
Years of Service
User Offline
Joined: 19th Nov 2005
Location: Some where beneath the elements
Posted: 26th Jul 2007 01:01 Edited at: 26th Jul 2007 01:01
@Latch -

I sent out more emails. Check your mail.

GFS

Dark World Website Launched! http://www.darkworldengine.co.nr
[/href]Blog with updates of Dark World Launched! http://www.darkworldengine.blogspot.com

Login to post a reply

Server time is: 2025-08-08 08:23:21
Your offset time is: 2025-08-08 08:23:21