|
Pages: [1] 2 3 4
|
 |
|
Author
|
Topic: QB Express Celebrates One Year: Issue #12 Released (Read 11818 times)
|
Pete
Ancient QBer
   
Posts: 439

|
QB Express Issue #12 has been released, which marks the magazine's one year anniversary! In this special issue, we look back over the past year of QB Express and give special recognition to QB Express's contributors. Adigun A. Polack brings us two retrospective articles on QB Express's first twelve issues, and I also share my thoughts on QB Express's first year. Other articles include reviews of The Griffon Legend, Pixel Snake Gem Hunt and Trek, "The Evolution of GUIs" by MystikShadows, QB GUI news by Jacob Palm, two articles about the QBasic.com forum community and an interview with Nekrophidius. Tutorials include Part 6 of Na_th_an's I.F. series, Music Composition Pt. 3 by Matt2Jones, dumbledore's second FB WX-C tutorial, "Useful QB Algorithms" by Moneo, a tutorial on Database Design by MystikShadows, and "Coding a Parallax Scrolling Platformer Chapter #2" by Na_th_an. This is the largest issue of QB Express ever, weighing in at nearly 150 pages! Check it out: QB Express Issue #12
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adigun A. Polack
Ancient Guru
   
Posts: 691

|
To Pete and all contibutors of QB Express: Up front, I want to *truly* congratulate all of you for making the first 12 issues of QB Express the absolute best there ever is in FreeBASIC/QuickBASIC magazine publication history, and for that, my hats are totally off to all of you!!! d= =b !One concern though, Pete: in the QB/FB Site of the Year announcement, there was a problem in the way that I wrote it when it was published for this 12th issue of your mag. It is not your fault, however. Rather, the little clickable text problem was in the way that I tried setting up the linked text and bolding it simultaneously! Silly me there ( :oops: ! ). Other than that though, man, a lot of the articles and text styles within them ran perfectly!! :cool: All in all, congrats on the first phenomenally successful year of QB Express, and be seeing you all real soon!!! :king: MY BEST AND WONDERFUL THREE CHEERS TONIGHT,  Adigun Azikiwe Polack One of the Founders of “ Aura Flow” ::: Continuing Developer of “ Frantic Journey” Current Developer of “ Star Angelic Slugger” ::: Webmaster of the “ AAP Official Projects Squad” Original Creator of the “ The New FreeBASIC 8-Bit Palette Machine” P.S. I *sincerely* hope all of you have enjoyed such wonderful retrospectives that I have just presented about this mag as you were reading this very issue, too. 
|
|
|
|
|
Logged
|
url=http://dhost.hopto.org/aapproj/]  [/url] Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!!  !
|
|
|
|
|
|
|
na_th_an
*/-\*
    
Posts: 8238

|
There's no indentation in IE. I would do this, which could work in all browsers: Create a style for div which uses a monospaced font, and the overflow = auto and stuff, and then write a little parser in fB which turns spaces into 's and that adds a <br> at the end of each line. That way you won't need <pre> and it will get rendered correctly in both IE and FF (gray boxes aside, which are after all a bug which will be fixed anytime soon). The code is still usable as copying from the browser then pasting to notepad or whatever gives spaces and line feeds correctly. I'm checking it out with FF right now from a Linux box and the code boxes look ugly 'cause it's using 8 spaces per tab and I used 4, for example, thus the indentation gets garbled. A simple program which substitutes spaces by 's and tabs by would work nice, I think. Most people use 3 or 4 spaces for indenting. Also, using this smaller tab jumps would solve the issue of hyper-horizontal code snippets  This seems to work. The CSS bit is something in the lines of: #codebox { overflow: auto; font-family: monospace, courier; font-size: 12px; background-color: #ccccff; color: black; border: 1px solid black; margin-left: auto; margin-right: auto; width: 600px; } And the <div> containing the code snippet looks something like this: <div id='codebox'>For i = 0 To 255<br> Get #1, , myDatum<br> myDatum = myDatum * 2<br> For j = 0 To 127<br> Print averageData (myDatum, j)<br> Next j </div> It's ugly but it works. And the fB program to "translate" spaces to 's, tabs to 4* 's and linefeeds as <br>'s is quite easy to code 
|
|
|
|
|
Logged
|
|
|
|
Pete
Ancient QBer
   
Posts: 439

|
Adigun: I fixed the formatting problem. Thanks for letting me know! rpgfan: The overflow: auto is so that code boxes can scroll to the right if the width of the code exceeds the box. This is necessary because otherwise the layout would get messed up. Na_th_an: I appreciate your suggestion, man. You're right, it would fix the problem. However, I'm not sure I want to implement it because of how much manual labor it would entail... copying and pasting dozens of code blocks every issue. I think there's got to be an easier way. I actually tried using this solution in the past, before I started using the overflow: auto method. (I quit doing it because it took way too long.) Look at this code box from some of the earlier issues... DarkDread's tutorial from Issue #3 is a good example: <blockquote class="code"><font face="Courier" size="-1"> ELSEIF PlayerDir$ = "E" THEN<br> IF Map%(PlayerX% + 3, PlayerY% - 1) > 9 AND Map%(PlayerX% + 2, PlayerY% - 1) < 10 THEN<br> PutSprite "T3.BSG", Cell3LeftX, CellY, 0<br>
ELSEIF Map%(PlayerX% + 2, PlayerY% - 1) > 9 THEN<br> PutSprite "LW3.BSG", Cell3LeftX, CellY, 0<br> END IF<br> IF Map%(PlayerX% + 2, PlayerY% - 1) > 9 AND Map%(PlayerX% + 1, PlayerY% - 1) < 10 THEN<br> PutSprite "T2.BSG", Cell2LeftX, CellY, 0<br> ELSEIF Map%(PlayerX% + 1, PlayerY% - 1) > 9 THEN<br> PutSprite "LW2.BSG", Cell2LeftX, CellY, 0<br> END IF<br>
IF Map%(PlayerX% + 1, PlayerY% - 1) > 9 AND Map%(PlayerX%, PlayerY% - 1) < 10 THEN<br> PutSprite "T1.BSG", Cell1LeftX, CellY, 0<br> ELSEIF Map%(PlayerX%, PlayerY% - 1) > 9 THEN<br> PutSprite "LW1.BSG", Cell1LeftX, CellY, 0<br> END IF<br> IF Map%(PlayerX% + 3, PlayerY% + 1) > 9 AND Map%(PlayerX% + 2, PlayerY% + 1) < 10 THEN<br> PutSprite "T3.BSG", Cell3RightX, CellY, 0<br> ELSEIF Map%(PlayerX% + 2, PlayerY% + 1) > 9 THEN<br>
...and so on.
I'm not trying to blow off your solution, I just can't justify all the time it would take. (Call me lazy.  ) My theory at the moment is that FireFox has some kind of conflict with having a <div> tag (with overflow: auto) within a <pre> tag... but when I reverse the order of these tags, vertical scroll bars begin to appear (and we don't want those, only horizontal ones). There's got to be some simple CSS fix that will alleviate all of our problems, but I haven't found it yet.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|
|
|
Pages: [1] 2 3 4
|
|
|
|
|