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 / Real time game making.

Author
Message
Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 10th Aug 2006 06:44
The title might sound a bit eh.. but i've been thinking for a few days about something TGC could do. You know in certain HTML programs when you type the code and click on the page it shows you if the code u entered "compiled" ok where leaving the code window opened? Well what if you could do that with DB? that way you don't have to run the program abd not see the code. you could see the Code and the result at the same time. you know what I mean? Thoughts, comments.

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 10th Aug 2006 08:09
as in like constantly designing your program in the CLI?

If so, do - loops would be fun...
Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 10th Aug 2006 09:06
something like that but u see the whole code it's like having a small window open where u see ur game. then the code. who knows if it's possible

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 10th Aug 2006 09:24
Hi there,

You can compile the code and check it while remaining in the code window. Just press F4. But you can't see the results, hmmmm

I almost got a display and the code at the same time by making the output windowed and using Code Keeper to write the source. Maybe using windowing, it can be done...

Enjoy your day.
Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 10th Aug 2006 09:55
Maybe, it sure would make programming easier to see ur results in real time, instead of having to compile.

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Krilik
19
Years of Service
User Offline
Joined: 16th Mar 2006
Location: Arizona, USA
Posted: 10th Aug 2006 12:14
You could do that with DBC, but I wouldn't recommend it. To do it, you would have to write an interpreter program using DarkBASIC and then write your actual code in a text file. The interpreter program would read individual lines in a text file and execute the code in semi-real time, you would have to save the text file before the interpreter would do anything.
entomophobiac
22
Years of Service
User Offline
Joined: 1st Nov 2002
Location: United States
Posted: 10th Aug 2006 13:09
There are professional game making tools like that. I've only had the opportunity to test one, namely RenderWare Studio. And in my honest opinion it's terrible.

Why?

Well, in the Studio's case because it's buggy. But the theory is superb. You play the game and can drag-and-drop enemies, functions, features and similar things into a 3D environment not unlike most map-making programs.

So it's an interesting notion. But in the case of RenderWare Studio, it's badly executed.
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 10th Aug 2006 13:11 Edited at: 10th Aug 2006 13:12
The difference is that HTML is a markup language, so all it is is designing how something looks.

DBC/DBP are programming languages, there is no way you could get it to work because too much stuff is dependant on other things. Html is always rendered in the same way (theoretically) where DB is interactive, so it's just not possible

[Edit: Just read post above move, this is a different concept, Drag and drop vs real-time previewing]

Lover of games
20
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 10th Aug 2006 16:19
Hmmmmm, well A guy can dream.......I would just find it find it easier to do that but if it's not possible, it's not possible........Damn it......... oh well, back to trying to make a game that's the most awesome ever.........

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Cash Curtis II
20
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 10th Aug 2006 16:34
You could make an editor that positioned all of your objects in your 3D world. In that sense, it would be sort of like HTML. You could see your object positions in real time and manipulate them.

However, you couldn't execute your program like this. You would have to load the object positions into your own program and then have it do whatever.


Come see the WIP!
the_winch
22
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 12th Aug 2006 01:44 Edited at: 12th Aug 2006 01:46
Quote: "DBC/DBP are programming languages, there is no way you could get it to work because too much stuff is dependant on other things. Html is always rendered in the same way (theoretically) where DB is interactive, so it's just not possible"


There are lots of languages that can be used in this sort of interactive way so it is certainly possible. Lisp , Smalltalk and the more recent Ruby are some examples.

By way of demonstration, he emitted a batlike squeak that was indeed bothersome.
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 12th Aug 2006 02:46
Actually, there are programs kinda like this already for DBC:

Matedit, WorldMaker, 3dMapEditor... The difference is they have a user interface that is based on mouse commands and GUI interaction mostly.

One could for instance, make a series of functions that were bundled commands, and create a sort of script language. Then, split the screen, and have one side be the inputs for the user script commands, and the other side the visual result. Instead of using the mouse to click and stretch an area to make a cube as in MagicWorld, the interface could be a script language. All the inputs are saved in memory (or as a file) in the form of the script language and when the edits are done, the script is broken back down to DBC code and saved as a file.

Enjoy your day.

Login to post a reply

Server time is: 2025-05-25 08:21:06
Your offset time is: 2025-05-25 08:21:06