Click here to LOGIN
Site Info
Home
Tutorials & Articles
Downloads
Extra Stuff
Feedback
 
2 users online

Home  
Last Update:
March 11, 2012

 
Recent Forum Posts
 
Got it April 1, 2012
Nevermind, I wrote the code like this:


CHARX = 5
CHARY = 5
KEY$ = ""
DO
    DO
        KEY$ = INKEY$
    LOOP UNTIL KEY$ <> ""

    SELECT CASE KEY$
        CASE "w"
            CHARX = CHARX - 1
        CASE "a"
            CHARY = CHARY - 1
        CASE "s"
            CHARX = CHARX + 1
        CASE "d"
            CHARY = CHARY + 1
        CASE "q"
            END
    END SELECT
    CLS
    LOCATE CHARX, CHARY: PRINT "@"

LOOP


So that it sort takes notice of which button you press BEFORE it actually determines whether you go up, down, left,or right. It worked. My goal was to eliminate screen flicker, but still have it move as soon as you press a button, but without using a SCREEN command.
Trying to make a character move March 31, 2012
I'm working with this code right now:


DO
    IF INKEY$ <> "" THEN
        SELECT CASE INKEY$
            CASE "w"
                CHARX = CHARX - 1
            CASE "a"
                CHARY = CHARY - 1
            CASE "s"
                CHARX = CHARX + 1
            CASE "d"
                CHARY = CHARY + 1
        END SELECT
        CLS
        LOCATE CHARX, CHARY: PRINT "@"
    END IF
LOOP UNTIL INKEY$ = "q"

END


There's more code than that (defining CHARX, etc), but that all works correctly. When I press "q", the code ends as it should, but when I press one of the WASD keys, nothing happens. I don't get an error, nor does the screen flash as if "CLS" worked.

Any help is appreciated. Thanks.
Instant Message System is on the list March 29, 2012
Yes, I have plans to create an instant messaging system so that members can chat live on the site, starting by clicking on the persons name under the 'members online' section.  I may even be creating another public chat room, since there seem to be enough people online often enough.

It may take a while to do, what with real life and all, but it's in the works.
I mean... March 27, 2012
I know that it is there, I was referring to the ability to click on the names of the online users an go a PM page. Is that function already there? I haven't been on when more than one user has been online. I know about the online users column I was more referring to an idea to improve its usefulness.

Cheers
'freak
What do all of you people use? March 18, 2012
What operating systems do you use for your QB45 programs? Do you run it on Windows 7/Vista and deal with the lack of support? Do use use a program like DosBox or maybe even use a virtual machine? Or do you simply have an old box laying around that you do all your Qbasic programming on? Let me know. I'd like to get back in to the language just for retro sake and I'd like to know your thoughts on the matter.

 
Recent Additions
 
General Fix-Up March 2012
    After far too long, I am finally fixing the probelms on this site, like the login and user signup, and in general upgrading the back-end code of the site to newer industry standards.
QBS Games (feature) Dec 3, 2008
    The points system on the QBasic Station is being revamped to be a little more interesting. The first installment is the QBS Games page. Right now, only the quiz is operational, but as things develop, there will be more ways of earning points.

You can add your own questions to the quiz too, so get creative and try to come up with some good brain-racking QB trivia questions.
Farewell to DOS (song) November 25, 2008
    Since DOS has all but disappeared from practical use, I decided to write a farewell song for the pioneer of computer operating systems.
MoonBugs: Respawned (Game) September 10, 2007
    In honor of the 1983 game by Windmill Software, I have recreated and improved this unique game. You are a mobile turret defending the mines from the attacking moonbugs, who try to carry off the cargo.

 
Recent Member Uploads
 
Star Navigator Ver. 1 - 3.zip(Games)
by nazracMarch 6, 2012
    It is the Age of Aquarius. Wright is an Alien Bird-Man on Martian Colony SR-1. The alien god protects the human race from the Zeta Force. Updated 6/6/2012 Now contains versions 1 - 3.
NFL2012.zip(Utilities)
by bunkerbillFebruary 3, 2012
    NFL handicapper program. 2012 version. With QBasic source and QB64 executable.
MazezaM4Dos.zip(Games)
by Glass FractalDecember 23, 2011
    A puzzle game which I have ported to DOS using QBasic in glorious cga-O-Vision. For further background info please visit the game's site at: http://www.glassfractal.com/games/MazezaM/
DNDOOR50.ZIP(Games)
by eoredsonDecember 14, 2011
    The DnD RBBS Door v5.0a1
DNGEON12.ZIP(Games)
by eoredsonDecember 14, 2011
    The Dungeon v12.0
qb45.zip(Utilities)
by joeDecember 13, 2011
    QB v4.5
qb11.zip(Utilities)
by joeDecember 13, 2011
    QB v1.1
copyit53.zip(Utilities)
by eoredsonDecember 10, 2011
    The DOS Copy utility
sic80a.zip(Utilities)
by eoredsonDecember 10, 2011
    The Symbolic Instruction Code Interpreter
hexxit78.zip(Utilities)
by eoredsonDecember 10, 2011
    The DOS Hex Editor
EURO2012.zip(Games)
by jazzy17December 2, 2011
    I HAVE JUST WROTE A SIMPLE PROGRAMME WHERE EURO 2012 COUNTIES ARE DRAWN POLAND ARE IN GROUP A & UKRAINE GROUP D THEN THE REST ARE DRAWN BASED ON THERE SEEDING ALLOCATION ANY IDEAS OR SUGGESTION MESSAG...
Space Core.zip(Games)
by nazracSeptember 20, 2011
    Space Core Outer space is the last frontier humans have yet to explore. In the year 2076 A.D., the space ship, Zebulon, is the first to employ nano-photonic thrusters, opening up the doorway to the...
The QBasic Station, (C) Copyright 1997-2012. All rights reserved.