Qbasicnews.com
January 23, 2021, 12:52:07 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Back to Qbasicnews.com
|
QB Online Help
|
FAQ
|
Chat
|
All Basic Code
|
QB Knowledge Base
Home
Help
Search
Login
Register
Qbasicnews.com
>
QBasic
>
QB Projects
>
Ascii Block Game
Pages: [
1
]
« previous
next »
Print
Author
Topic: Ascii Block Game (Read 3218 times)
whitetiger0990
__/--\__
Posts: 2964
Ascii Block Game
«
on:
April 05, 2004, 11:07:43 PM »
Hiya!
I made an ascii version of Diroga's block game
it's here
http://mywebpages.comcast.net/whitetiger0990/qbasic/block.zip
if you find a glitch or have a suggestion post it
OH! and in the program there is a variable called path$... i originally made the game on a floppy ( =P ) so it's set to that. you are going to have to change it. XP
Logged
[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
Pyrodap
Senior Member
Posts: 166
Ascii Block Game
«
Reply #1 on:
April 06, 2004, 02:43:58 AM »
Yeah... I had to rem out path$
eh it works
recomendation?
first, use WIDTH 80, 50
It makes the blocks smaller, but it makes them square. THEN, rather then put one block, do 4 or more
instead of
Code:
X
try
Code:
XX
XX
just a thought
Logged
TheBigBasicQ
*/-\*
Posts: 4550
Ascii Block Game
«
Reply #2 on:
April 06, 2004, 04:14:52 AM »
Very nice game indeed. But it is difficult to get the character to face whichever direction you want.
Logged
whitetiger0990
__/--\__
Posts: 2964
Ascii Block Game
«
Reply #3 on:
April 06, 2004, 08:28:09 AM »
Quote from: "Pyrodap"
first, use WIDTH 80, 50
It makes the blocks smaller, but it makes them square. THEN, rather then put one block, do 4 or more
instead of
Code:
X
try
Code:
XX
XX
just a thought
hmm I'll try that and see how it works
Quote from: "TheBigBasicQ"
But it is difficult to get the character to face whichever direction you want.
I'm thinking about having the first press in the opposite direction only turn you. then the next moves you.
edit ((Whoops))
Logged
[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
TheBigBasicQ
*/-\*
Posts: 4550
Ascii Block Game
«
Reply #4 on:
April 06, 2004, 02:13:46 PM »
That would be appropriate.
P.S.: You have quoted your response in my quote block =P.
Logged
Pc72
Forum Regular
Posts: 101
Hmmh...
«
Reply #5 on:
April 30, 2004, 08:03:44 AM »
Instead of saying WIDTH 80,50 and use
XX
XX
you can say WIDTH 40,25 and use
X
Got it...?
Logged
url=http://www.google.com/search?q=%22Ain%27t+I+weird%3F%22&start=10]Ain't I Weird?[/url]
Pyrodap
Senior Member
Posts: 166
Ascii Block Game
«
Reply #6 on:
May 01, 2004, 05:31:44 AM »
you missed my point completely.
40,25's text size is rectangular.
80,50's text size is square.
I think.
am i right?
i'll go check.
Logged
whitetiger0990
__/--\__
Posts: 2964
Ascii Block Game
«
Reply #7 on:
May 01, 2004, 01:13:50 PM »
i made them 80,50 (or something like that) and made the maps 30by20 (or something like that) I keep forgeting to upload the current version I'll do that later
edit:
maybe i should take ver9 and rename it ver8.... in ver8 you can't beat level 7.
Logged
[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
whitetiger0990
__/--\__
Posts: 2964
Ascii Block Game
«
Reply #8 on:
May 01, 2004, 03:02:29 PM »
sry for the double post but i have a problem.
after I beat a few levels I get a
"Out of stack space" when calling a sub. If I use CLEAR is kills my variables....
Logged
[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
na_th_an
*/-\*
Posts: 8244
Ascii Block Game
«
Reply #9 on:
May 01, 2004, 08:05:58 PM »
You stack may be full for some recursive calls. Check that.
It can also be a colateral effect of you running out of memory. If you are DIMming any arrays in your SUBs and your program is using '$DYNAMIC, you have to ERASE those variables _before_ you exit the SUBs. Otherwise new memory will be allocated each time you call the SUB and never freed.
Logged
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
whitetiger0990
__/--\__
Posts: 2964
Ascii Block Game
«
Reply #10 on:
May 01, 2004, 08:13:54 PM »
no i dont think it is dimming the arrays every call.
but it IS going to the same subs over and over and over and over. How can I fix this?
Logged
[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forum has moved
-----------------------------
=> Forum has moved
-----------------------------
QbasicNews.Com
-----------------------------
=> QB/FB News
=> Site/Forum Issues
=> Challenges
-----------------------------
QBasic
-----------------------------
=> QB Discussion & Programming Help
=> QB Projects
-----------------------------
Qbasic "like" compilers/interpreters
-----------------------------
=> General QB "like"
=> QB64
=> FB Discussion & Programming Help
===> FB Projects
===> FB Documentation
-----------------------------
General
-----------------------------
=> General/Misc
===> Art & Music
===> General Programming
Loading...