View previous topic - View next topic |
Author |
Message |
SJ_Zero Pretty, Pretty Fairy Princess
Joined: 25 Apr 2003 Posts: 13
|
Posted: Thu Mar 10, 2005 4:44 pm Post subject: Anyone up for a 48 hour compo this weekend? |
[quote] |
|
I'm planning on having a 48 hour FreeBASIC game development compo this weekend. Would anyone here be interested in trying to make a game?
|
|
Back to top |
|
|
tcaudilllg Dragonmaster
Joined: 20 Jun 2002 Posts: 1731 Location: Cedar Bluff, VA
|
Posted: Fri Mar 11, 2005 12:56 am Post subject: |
[quote] |
|
FreeBASIC? I dunno. 48 hours sounds kinda... well, mmm.. short.
Isn't FreeBASIC still in beta?
|
|
Back to top |
|
|
SJ_Zero Pretty, Pretty Fairy Princess
Joined: 25 Apr 2003 Posts: 13
|
Posted: Fri Mar 11, 2005 1:26 am Post subject: |
[quote] |
|
1. Nobody has more than a couple days to dedicate to something like this.
2. Freebasic is in beta, but it's quite stable and far more usable than QB ever was or ever will be. Then again, I'm biased by liking it. :P
|
|
Back to top |
|
|
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
Posted: Fri Mar 11, 2005 8:59 am Post subject: |
[quote] |
|
Not interested.
Edit: sorry, that's been rude. I wanted to say: I didn't code Basic since ages, so I most likely can't do it anymore. Also, this weekend I'll be busy with some other things so I don't have time to join the competetion.
I didn't mean that the idea of such a competiton is bad by itself.
Last edited by Hajo on Fri Mar 11, 2005 1:02 pm; edited 1 time in total
|
|
Back to top |
|
|
Verious Mage
Joined: 06 Jan 2004 Posts: 409 Location: Online
|
Posted: Fri Mar 11, 2005 12:11 pm Post subject: |
[quote] |
|
Unfortunately, this weekend won't work for me. I have to finish portfolios for my last two classes and there are a couple of parties going on.
EDIT:
On a side note: Why limit it to freeBASIC? Many people may not want to devote time (during a 48 hour competition) to learning the nuances of a new programming language and would preferred instead to program in a language they are already acclimated with.
|
|
Back to top |
|
|
SJ_Zero Pretty, Pretty Fairy Princess
Joined: 25 Apr 2003 Posts: 13
|
Posted: Fri Mar 11, 2005 2:13 pm Post subject: |
[quote] |
|
Because it's being held by QBXL, and one of the goals of the contest is to expand the understanding, and available programs in FreeBASIC. If someone here would like to enter in something that isn't a BASIC, I won't stop you(FreeBASIC is a big boy now. :P), but I'd rather not have the already small pool of BASIC programmers divided between the ridiculously weak QB and the ridiculously powerful FB, which is why it's a FreeBASIC compo first and foremost.
|
|
Back to top |
|
|
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
Posted: Fri Mar 11, 2005 2:18 pm Post subject: |
[quote] |
|
Hmm. I think I stopped using Basic 1990 and switched to C.
I'm wondering why Basic still exists and even is popular for among RPG developers?
|
|
Back to top |
|
|
Verious Mage
Joined: 06 Jan 2004 Posts: 409 Location: Online
|
Posted: Fri Mar 11, 2005 2:41 pm Post subject: |
[quote] |
|
Quote: | I'm wondering why Basic still exists and even is popular for among RPG developers? |
Because it is easy to learn, quick to write programs, and very powerful when combined with good coding practices, optimization, and other advanced techniques. Additionally, there is an immense wealth of examples and information for most BASIC derived languages on the Web.
|
|
Back to top |
|
|
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
Posted: Fri Mar 11, 2005 2:59 pm Post subject: |
[quote] |
|
Except for the "easy to learn" I think C (and nowadays C++) have all the other features as well.
Admitted, today I'd recommend Java instad of C or C++, because it's less prone to coding mistakes.
Please don't get me wrong. I don't want to advertise my favorite languges. I just want to understand why this community favours Basic so much.
"Optimization", "good coding practises", "advanced techniques" - I assume those will help you in any language, they are no tied to Basic.
C has a big collection of libraries readily available, compilers exists for almost everything that can compute, and there are probaly more people knowing C and people knowing Basic, so you have a much larger community to ask for help.
I can't say much about the wealth of examples. I never had problems finding examples for C, given my own needs. But when I started to move away from Basic and learn C (1988-1990), I didnt even know about the internet, so I learned from books.
Honestly the code and tutorials that I find on site like this and similars most often doesn't look very sophisticated, and I wonder why the authors advertise it so proudly ... I know that sounds pretty arrogant, but it's really my impression.
OTOH I admit that some of the games created by the community look pretty nice and play well - better than mine, really.
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Fri Mar 11, 2005 4:48 pm Post subject: |
[quote] |
|
48 hours to develop games in a beta development tool that nobody uses doesn't sound like a very good idea to me. Most of the entrants will probably need two or three days just to be able to figure out how to develop basic systems in freeBASIC... I guess if you're allowed to use pre-existing code, it wouldn't be so bad.
|
|
Back to top |
|
|
PhyrFox Tenshi's Bitch (Peach says "Suck it!")
Joined: 19 Nov 2004 Posts: 64 Location: New York, USA
|
Posted: Sat Mar 12, 2005 7:12 am Post subject: |
[quote] |
|
Does FB run in Linux? If so, count me in. I have a weekend to spare.
~= phyrfox =~
|
|
Back to top |
|
|
SJ_Zero Pretty, Pretty Fairy Princess
Joined: 25 Apr 2003 Posts: 13
|
Posted: Mon Mar 14, 2005 4:25 am Post subject: |
[quote] |
|
You guys are just being wussies. :P For the 24 hour qbxl compo back in January I had barely touched FreeBASIC (It had only been out since November!!) and I managed to churn out Star Phalanx, even though there was nothing anywhere and I had to learn how to use SDL for the first time. :P
Anyway, compos over, here's my entry: http://www.qbxl.net/downloads/KillQuest.zip
If anyone is interested I'll post about the voting thread when it's all done and over with.
Hajo:
I'm wondering why Basic still exists and even is popular for among RPG developers?
For all it's strengths, C is a beast. For all the sample code on the internet, you'll find that most of it won't compile. For all the people who know it, you'll find that getting basic information on how to get started with basic tools is like getting blood from a stone. To make matters worse, most questions regarding such tools are met with "You're using the wrong tools!". Yes, I want to use OpenGL to blit bitmaps to the screen, even though I'm having problems in SDL or Allegro(hypothetically, of course).
Conversely, I could post the source code for Star Phalanx, Rambo vs. Kitty Cat and Quest for a King in a post here, you could copy and paste it into a file, and FreeBASIC will compile it. In fact, you could do the same under Linux, and the two newer ones would definitely compile without major incident. There are a number of forums where basic, fundamental questions are answered on a daily basis, and requests for help don't turn into flamewars over what libs you're using.
Furthermore, there are significant flaws in the design of C which, while logical once you know them, raise the bar for entry and make things like pointer bugs far too easy for someone who isn't using pointers. The best example is how you don't need to throw @ in front of any variables to use a command in the standard fb lib. If this was C, you'd have the scanf situation, where a newbie will write scanf("%d",x);, crash his program, and never really know what happened.
Personally, I also find the fundamental design of modern BASICs to be much more intuitive than C. I don't think in symbols. If a=0 then do stuff make sense to me. If a = 0 then...end if does as well. If (a == 0) { ... }, while not incorrect by any means, is an unnessessary obscuring of the code. In this respect, the way that freeBASIC hides pointers until they're needed is a work of art, allowing the use of advanced libs like SDL which live on pointers, without requiring them for basic tasks.
On the other hand, I'm a person who just seems to be stuck to basic. I've coded Java in a professional capacity, and I've done my share of C/C++ code, but for what I use a programming language for, basic is more intuitive, faster and easier, and more cohesive as a whole.
|
|
Back to top |
|
|
Hajo Demon Hunter
Joined: 30 Sep 2003 Posts: 779 Location: Between chair and keyboard.
|
Posted: Mon Mar 14, 2005 8:39 am Post subject: |
[quote] |
|
SJ_Zero wrote: |
Furthermore, there are significant flaws in the design of C which, while logical once you know them, raise the bar for entry and make things like pointer bugs far too easy for someone who isn't using pointers. The best example is how you don't need to throw @ in front of any variables to use a command in the standard fb lib. If this was C, you'd have the scanf situation, where a newbie will write scanf("%d",x);, crash his program, and never really know what happened.
|
My compiler gives a warning in this case. But I agree that pointers/memory management is a very error prone area of C and C++. That's why I favor Java instead. But since I'm a professional Java code, I need a change for my private projects, and try to keep my C++ skills alive with my privtae work.
Thank your for your explanation. Maybe I'm too long into C and C++ to notice the problems, but I sure remember that in the beginning I had very big troubles to understand how C works. I gave up the first time, and tried again a year later, with some success. So probably you're right that it is very hard for newbies.
|
|
Back to top |
|
|
LeoDraco Demon Hunter
Joined: 24 Jun 2003 Posts: 584 Location: Riverside, South Cali
|
Posted: Mon Mar 14, 2005 8:41 am Post subject: |
[quote] |
|
SJ_Zero wrote: | You guys are just being wussies. :P For the 24 hour qbxl compo back in January I had barely touched FreeBASIC (It had only been out since November!!) and I managed to churn out Star Phalanx, even though there was nothing anywhere and I had to learn how to use SDL for the first time. :P |
No, I think they are just being practical. However, a good programmer should be able to pick up any language in under a week, assuming that he has a firm understanding of good practices. So, I can sympathize with your position.
Quote: | For all it's strengths, C is a beast. For all the sample code on the internet, you'll find that most of it won't compile. For all the people who know it, you'll find that getting basic information on how to get started with basic tools is like getting blood from a stone. To make matters worse, most questions regarding such tools are met with "You're using the wrong tools!". Yes, I want to use OpenGL to blit bitmaps to the screen, even though I'm having problems in SDL or Allegro(hypothetically, of course). |
Whenever I look for C/C++ source, I find code that works. You're probably using an out of date compiler. On the other hand, it's more the reasoning behind the code that is important, not the code itself; API bindings are (I have found) pretty easy to pick up. And, in any case, books tailored to the subject material are generally better reads than internet tutorials.
Quote: | Conversely, I could post the source code for Star Phalanx, Rambo vs. Kitty Cat and Quest for a King in a post here, you could copy and paste it into a file, and FreeBASIC will compile it. In fact, you could do the same under Linux, and the two newer ones would definitely compile without major incident. There are a number of forums where basic, fundamental questions are answered on a daily basis, and requests for help don't turn into flamewars over what libs you're using. |
That's nice. The same is true of just about every language. Your problem, I would assume, is that you are looking for "correct" code over a medium notorious for being filled with self-taught idiots.
Quote: | Furthermore, there are significant flaws in the design of C which, while logical once you know them, raise the bar for entry and make things like pointer bugs far too easy for someone who isn't using pointers. The best example is how you don't need to throw @ in front of any variables to use a command in the standard fb lib. If this was C, you'd have the scanf situation, where a newbie will write scanf("%d",x);, crash his program, and never really know what happened. |
There are reasons why using C++ is preferable to C; one of those is that there are marginal safety features in the C++ wrappers that prevent logic-bugs like that from occuring (as much). However, in any good documentation on C-standard library functions (such as GNU manpages, for instance), the format of the functions are well documented. I hardly think it's the languages fault that a person doesn't take the time to read the documentation. What you obviously want is hand-holding, and that (usually) requires that the language be hampered down speed-wise. Plus, there exist utilities (such as gdb) which allow for backtraces of the program to be performed. Ignorance is hardly an excuse.
Quote: | Personally, I also find the fundamental design of modern BASICs to be much more intuitive than C. I don't think in symbols. If a=0 then do stuff make sense to me. If a = 0 then...end if does as well. If (a == 0) { ... }, while not incorrect by any means, is an unnessessary obscuring of the code. In this respect, the way that freeBASIC hides pointers until they're needed is a work of art, allowing the use of advanced libs like SDL which live on pointers, without requiring them for basic tasks. |
Personally, I have always hated ugly, redundant syntax. One of the horrors of BASIC programming (or bash-scripting, for that matter) is the need to have ugly syntax such as you describe. While braces are not necessarily better, they do require fewer keystrokes to accomplish the exact same thing. I favor simplicity over redundancy. _________________ "...LeoDraco is a pompus git..." -- Mandrake
|
|
Back to top |
|
|
Joakim Tenshi's Bitch (Peach says "Suck it!")
Joined: 05 Apr 2004 Posts: 64
|
Posted: Mon Mar 14, 2005 9:34 am Post subject: |
[quote] |
|
What is redundant is a matter of taste. For ugly, redundant syntax, I think a?b:c is a good example. And the { might be fewer characters, but require you to press two keys that are placed uncomfortably (on my keyboard at least, it's alt gr and 7), which makes "then" less than significally harder to type, yet it's much more intuitive. In my opinion.
But to get back on topic, I'm parcipiating in this contest with a RTS game based on the Turret Wars / Defence maps in Warcraft 3. It is at the time far from playable, but I'm hoping to get it to a playable state before the 12 hour extention is out.
|
|
Back to top |
|
|
|
Page 1 of 2 |
All times are GMT Goto page 1, 2 Next
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|