View previous topic - View next topic |
Author |
Message |
tcaudilllg Dragonmaster
Joined: 20 Jun 2002 Posts: 1731 Location: Cedar Bluff, VA
|
Posted: Fri Sep 16, 2005 3:19 pm Post subject: |
[quote] |
|
Well from what I understand, FB and QB have a lot in common. FB is an unofficial successor to QB, in our collective mindset at least. So, most all of your QB code should transfer directly to FB.
I'm gonna try FB for myself, I think.
|
|
Back to top |
|
|
Ren Wandering Minstrel
Joined: 07 Aug 2004 Posts: 130 Location: turn around...
|
Posted: Fri Sep 16, 2005 3:52 pm Post subject: |
[quote] |
|
Unknown wrote: | Fb seems to be slightly better than Qb but if i have already started the project then why switch in the middle of a of it??? |
Maybe you want people to play your game? Your project sounds neat, but since you're using QB with directQB people with win2k, XP and linux can't play your game. FB can compile for all these systems, including DOS. Also, there is no slightly better. Try the following within both:
Code: |
DIM sprite(130) AS INTEGER
DIM t1 AS DOUBLE, t2 AS DOUBLE
SCREEN 13
GET (0, 0)-(15, 15), sprite(0)
t1 = TIMER
FOR x = 0 TO 50000
PUT (0, 0), sprite(0), PSET
NEXT x
t2 = TIMER
PRINT "Time taken: "; t2 - t1
SLEEP
|
Note, the code is exactly the same in both. My results, in case you didn't want to get FBide yet:
QB: 2.46875
FB: 0.21561
You may want to try it against DQB too, but the results should be similar. Sorry to sound like some sort of FB door-to-door salesman or something, but it really has made my life immeasurably easier. _________________ Previous nicks: MidnightDreamer, The_Anarchist, Shroomasta.
ren-tek.net : BGC games and more!
|
|
Back to top |
|
|
Unknown Moira's Silly Little Slave Bitch
Joined: 19 Jul 2005 Posts: 82 Location: Behind you...
|
Posted: Sun Sep 18, 2005 6:53 pm Post subject: |
[quote] |
|
Ok!!! you WIN ;-) just got FB up n running(The first site I downloaded it from gave me some crap so i had ta clean up from that little problem ;) and have played around W/ it some .its like 20-30 times faster than Qb...But I'm gona have to learn another syntax which shouldn't take to terrible long...(Fb syntax is kinda a mix of both Qb and some other Langs...)
IF ANYONE wants ta help With the game PLEASE contact me
I'm gona need a little time to translate/rewrite the old code into Fb _________________ Most people would succeed in small things if they were not troubled with such great ambitions.
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
Posted: Mon Sep 19, 2005 6:05 am Post subject: |
[quote] |
|
Unknown wrote: | Ok!!! you WIN ;-) just got FB up n running(The first site I downloaded it from gave me some crap so i had ta clean up from that little problem ;) and have played around W/ it some .its like 20-30 times faster than Qb...But I'm gona have to learn another syntax which shouldn't take to terrible long...(Fb syntax is kinda a mix of both Qb and some other Langs...)
IF ANYONE wants ta help With the game PLEASE contact me
I'm gona need a little time to translate/rewrite the old code into Fb |
:\ ....another one falls to peer pressure....
well, J. I guess I wont be helping you anymore....as I steered away from FB, and I dont know its syntax fluently.
Goodluck to you. _________________ Principal Software Architect
Rambling Indie Games, LLC
See my professional portfolio
|
|
Back to top |
|
|
DrunkenCoder Demon Hunter
Joined: 29 May 2002 Posts: 559
|
Posted: Mon Sep 19, 2005 9:26 am Post subject: |
[quote] |
|
[quote="DeveloperX"][quote="Unknown"]
:\ ....another one falls to peer pressure....
[quote]
I would call 20-30times speedup a technical reason not peer pressure. _________________ If there's life after death there is no death, if there's no death we never live. | ENTP
|
|
Back to top |
|
|
Unknown Moira's Silly Little Slave Bitch
Joined: 19 Jul 2005 Posts: 82 Location: Behind you...
|
Posted: Mon Sep 19, 2005 3:08 pm Post subject: |
[quote] |
|
PERy smery nope... If you've seen ta speed than ya might switch ;-) btw y didn't ya like fb ??? it seems ta be alot better than qb so y wouldn't ya want ta switch ??? _________________ Most people would succeed in small things if they were not troubled with such great ambitions.
|
|
Back to top |
|
|
Unknown Moira's Silly Little Slave Bitch
Joined: 19 Jul 2005 Posts: 82 Location: Behind you...
|
Posted: Fri Sep 30, 2005 1:04 am Post subject: |
[quote] |
|
Ok...FB is a PIECE of CRAP!!!!! or i'm like a total reTard ....I've WastEd the last 1.5 weeks trying to learn the Syntex n stuff...
SO...Back to Qb...and the slow process of learning Cpp while trying to finsh all my School Work on time....
Thnx'S all who posted replies . _________________ Most people would succeed in small things if they were not troubled with such great ambitions.
|
|
Back to top |
|
|
tcaudilllg Dragonmaster
Joined: 20 Jun 2002 Posts: 1731 Location: Cedar Bluff, VA
|
Posted: Fri Sep 30, 2005 6:12 pm Post subject: |
[quote] |
|
...Well, hmm... I'd learn C before C++.
|
|
Back to top |
|
|
RuneLancer Mage
Joined: 17 Jun 2005 Posts: 441
|
Posted: Fri Sep 30, 2005 6:24 pm Post subject: |
[quote] |
|
I'd advise looking into SDL. It's a pretty powerful library for 2D games and you'll definately find it helps with a lot of things, multimedia-wise.
To boot, once you're ready to move forward, it integrates with OpenGL very well. Of course you don't NEED to know SDL to use OpenGL, nor do you need SDL for it, it's a good thing if you aren't familiar with any other APIs.
On top of that, SDL is easy to learn. :) Good complement to C/C++, but having a firm grasp of the basic concepts of either language should be your priority. _________________ Endless Saga
An OpenGL RPG in the making. Now with new hosting!
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Fri Sep 30, 2005 9:42 pm Post subject: |
[quote] |
|
LordGalbalan wrote: | ...Well, hmm... I'd learn C before C++. | This is bad advice, FYI.
|
|
Back to top |
|
|
DrunkenCoder Demon Hunter
Joined: 29 May 2002 Posts: 559
|
Posted: Fri Sep 30, 2005 10:26 pm Post subject: |
[quote] |
|
janus wrote: | LordGalbalan wrote: | ...Well, hmm... I'd learn C before C++. | This is bad advice, FYI. |
Let's put some emphasis on that, it's very bad advice and only serves to show the authors lack of perspective and understanding of the topic in general. Just to back that up Im not only speaking as an individual here, Im speaking as both moderator of this particular subforum and former TA for KTH (Royal Institute of Technology) one of the major technological universities in Sweden. I could elaborate on this point but I won't, for now.
Basicly it's insane advice from someone wanting to seem "leet", Im a low level person myself but learning C before learning C++ will only give you seriously bad habits that you later need to unlearn later to make proper use of one of the most complex and in many respects "free" languages around. _________________ If there's life after death there is no death, if there's no death we never live. | ENTP
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Sat Oct 01, 2005 1:06 am Post subject: |
[quote] |
|
DrunkenCoder wrote: | Basicly it's insane advice from someone wanting to seem "leet", Im a low level person myself but learning C before learning C++ will only give you seriously bad habits that you later need to unlearn later to make proper use of one of the most complex and in many respects "free" languages around. | That, and I can't overstate how useless C is compared to a more powerful language like C#, Java, Python, or even C++. The smaller set of available language constructs and the lack of expressiveness ends up making you spend tons of time writing code to do simple, stupid things. Which is lame.
That, and it's a pain in the ass to debug.
|
|
Back to top |
|
|
Nodtveidt Demon Hunter
Joined: 11 Nov 2002 Posts: 786 Location: Camuy, PR
|
Posted: Sat Oct 01, 2005 4:04 am Post subject: |
[quote] |
|
FB = QB syntax - QB dumbass runtime hacks + much C functionality - much C confusion element + cross-platform yumminess - OOP (for now). It's what VB should have become but never did.
If you can code QB, you can code FB...it's that simple. The issue is though that FB is more strict on syntax and does some enforcing of "proper" coding technique. All you have to do is get past the blockheaded mistakes you made in QB. ;)
DevX: you wouldn't want the Phantasm engine I coded then...it's written in FB. :D _________________ If you play a Microsoft CD backwards you can hear demonic voices. The scary part is that if you play it forwards it installs Windows. - wallace
|
|
Back to top |
|
|
tcaudilllg Dragonmaster
Joined: 20 Jun 2002 Posts: 1731 Location: Cedar Bluff, VA
|
Posted: Sat Oct 01, 2005 7:58 pm Post subject: |
[quote] |
|
Well, one thing you guys are completely missing, is that programming appears to be schizming into "schools". In the beginning C was considered a "gifted person's" language, because it was impossible to find beginner level books on the subject. I have one C text as recent as '88 that uses words like "homogenous aggregates", expecting the reader to understand what that means. Granted it was a college text, but few books on the subject were not at the time. Besides, try looking for words "homogenous aggregate" in any modern college C text. You won't find them, except in passing.
Question: how much does it count for in the programming industry to be on the "up and up" with the latest programming lingo? (LOL)
|
|
Back to top |
|
|
janus Mage
Joined: 29 Jun 2002 Posts: 464 Location: Issaquah, WA
|
Posted: Sun Oct 02, 2005 4:35 am Post subject: |
[quote] |
|
LordGalbalan wrote: | Well, one thing you guys are completely missing, is that programming appears to be schizming into "schools". In the beginning C was considered a "gifted person's" language, because it was impossible to find beginner level books on the subject. I have one C text as recent as '88 that uses words like "homogenous aggregates", expecting the reader to understand what that means. Granted it was a college text, but few books on the subject were not at the time. Besides, try looking for words "homogenous aggregate" in any modern college C text. You won't find them, except in passing.
Question: how much does it count for in the programming industry to be on the "up and up" with the latest programming lingo? (LOL) | What the hell does this have to do with the thread?
Anyway, if you're having trouble understanding what 'homogenous aggregates' means, maybe you should get a dictionary.
|
|
Back to top |
|
|