123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|622|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Question of the Day -> QOTD - C++ Graphics Libraries

Page : 1 Prev 2
Next
Fri, 31 Jul 2009, 17:06
Afr0

I also don't agree that the limitations in BB don't matter for games. For example you cannot create a local array, pass arrays into functions or return them. Wanting to do these are pretty common for all programming tasks.


I haven't advocated Blitz in a long time, and I'm not really about to do it now either, but when I write in C# I like to use List<> as opposed to arrays. I imagine it wouldn't take too long to knock out a List<> like structure in Blitz that you could return from and pass to functions.

Edit: The speedhit shouldn't be that expensive either, so long as you don't use Bubble Sort to sort the elements. But that goes for arrays as well.

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Fri, 31 Jul 2009, 18:17
JL235
As it happens, here is a Linked List code snippet I implemented in Blitz Basic. Fixed size arrays however are very useful for certain tasks, especially for storing large amounts of data which require multiple dimensions, like a grid of tiles in a game.
Sat, 01 Aug 2009, 12:08
Phoenix
I'm not suggesting that C++ is the end-of-all language, as I certainly don't believe this, but I am curious though what language you would like to offer as an alternative for the industry developers. D would be nice, but it lacks decent development tools, and I've been given the impression that it's practically dead.

C# is already being used extensively in the industry, for in-house tool development. Python/Lua has also been used in many games to create the bulk of the gameplay. But I think that C++ won't be phased out anytime soon in the industry, partly because of legacy code, partly because of the amount of developers who already know it, partly because the lack of alternatives is big.

I don't like C++ being referred to as "more powerful." There's no extra power in there. I'd even argue that it's less powerful than many languages, such as C#. The reasons that I use C++ for are that it requires no dependencies for the end-user, there's heaps of support/libraries available, there's the excellent Visual Studio, and there's potential for cross-platform development. It might not be single-click porting, but it's there, given that you've set your mind onto it from the start. Cross-platform development isn't as problem-less as it sounds, I am aware of that. But it's there. If you can give me a free language which does all of the above, then I'm switching instantly.

That said, I do see your point Nolan. If you're not pursuing an industry career, then the reasons are few. Not non-existant, but few. As I said, I'm contemplating making a switch to C#, at the cost of being tied to .NET.
Mon, 03 Aug 2009, 10:12
dna

Now that you mention Irrlicht, does it support networking?

-=-=-
DNA
Page : 1 Prev 2
Next