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 Professional Discussion / I just had a DBPro epiphany

Author
Message
GregA
15
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 18th Jul 2012 09:55
So I first cut my teeth in XNA for hobby game design. Wow, XNA, what a PITA, it looked like a good idea, but wow. I always had to make sure my code returned back to the Update and Draw Loops to make sure the screen would update.

Now, I realize this wouldn't work for those of you making games that I would call a simulation pattern, and I am working on turn based games, but...

Lets say I am deep off in a branch in my code and I place a game piece, I can launch the animation right there, and just loop a sync command a bunch of times until the animation plays out, and I don't have to return to the main program loop at all. I don't have to mess with states, I don't have to make huge hunks of my code re-entrant. I just make it animate right there!

Anyhow a bunch of you guys have probably been around a lot longer than me, but just wow.
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 18th Jul 2012 10:27
DB Pro is only really limited by speed. Apart from that I think that everything is possible.

GregA
15
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 18th Jul 2012 13:56
In a world where the hottest indy game going on 3 years now is built upon Oracle's Java language...

I find it hard to get to concerned that the language is not as fast as native c code... So far all my games would be happy with 3-5 fps
aerostudios
17
Years of Service
User Offline
Joined: 20th May 2009
Location: Oklahoma City OK (USA)
Posted: 25th Jul 2012 00:06
So GregA I'm confused. Are you saying XNA is a good thing or a bad thing?

Russell B. Davis/aerostudios
GregA
15
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 25th Jul 2012 06:20 Edited at: 25th Jul 2012 06:21
Its a good thing if you want to program games, and you want total control of where every pixel goes on the screen. Its a bad thing if you are looking for an environment to prototype simple games in, because even simple projects of mine grew into thousands of lines of code...
Andrew_Neale
16
Years of Service
User Offline
Joined: 3rd Nov 2009
Location: The Normandy SR-2
Posted: 25th Jul 2012 10:25
It is hard to tell from just the comments so far, but it sounds like you potentially weren't making the best use of state management. I personally never used XNA's built in state manager and built my own to handle it with some extra features but I'm fairly sure proper use of it would get around the issue you mentioned.

However, I would definitely say that DBPro is excellent for prototyping games. I certainly have used it to prototype before building in XNA and more recently to prototype before rebuilding in C++. The ability to add your own DLL plugins to DBPro as well has meant that, once I have built a library of code in DBPro as a prototype, I can then rebuild it with the advantages of speed and OOP available in C++ and turn it into a DLL to use in DBPro giving the best of both worlds.


Previously TEH_CODERER.

Login to post a reply

Server time is: 2026-07-07 14:23:34
Your offset time is: 2026-07-07 14:23:34