|
Post by hartnell on Jan 9, 2007 21:13:42 GMT -5
The new console mode is great. There's just a small problem. It can only be a console. If it could also be represented as a newer text window, that would make it quite a bit more popular. All the interactive fiction languages now have clients that look like text windows. This is because most novices have never used a console window. While we get a warm fuzzy feeling, they think "Man, this is ugly. This is the worst TEXT WINDOW I've ever seen." -hartnell
|
|
|
Post by hartnell on Jan 10, 2007 15:24:09 GMT -5
I'm writing the Brutus2D CoreProg now, and I've realized that an inkey or waitkey (actually both) would be really nice in the console mode. A superstition keeps me from mixing the keyboard object with the console object. -hartnell
|
|
|
Post by hartnell on Jan 10, 2007 15:28:18 GMT -5
And a prompt too. what is your name ?> Shawn, you know, just some guy. < HP:130 MP:323 > Kill monster. -hartnell
|
|
|
Post by Guilect on Jan 10, 2007 16:53:58 GMT -5
There should be no problem using the key object with the console object.
But, I can add an inkey function. (a waitkey is an inkey function that you just don't care what the returned value is).
|
|
|
Post by Guilect on Jan 10, 2007 18:37:58 GMT -5
Done.
added both 'inkey' and 'wait'.
|
|
|
Post by hartnell on Jan 16, 2007 23:11:33 GMT -5
|
|
|
Post by hartnell on Jan 21, 2007 14:59:17 GMT -5
it would be nice if console.WriteLine printed a blank line with no argument. Secondly, it would be nice to have a tab() function : console.WriteLine tab(3) + "Zapp!"
-hartnell
|
|
|
Post by Guilect on Jan 21, 2007 19:51:59 GMT -5
.WriteLine "" Prints a blank line (as you know) I don't think its to much of an argument to put "".
This is how you print tabs .WriteString Chr(9)+ Chr(9)+Chr(9) + "Zapp!!"
or
Function tab(howmany) dim x For x = 1 to howmany tab = tab + Chr(9) next end
I'll see about making the argument optional.
|
|
|
Post by hartnell on Jan 21, 2007 21:17:41 GMT -5
I found a better way.
console.WriteLine space(x) + "text"
-hartnell
|
|
|
Post by hartnell on Jan 23, 2007 10:55:59 GMT -5
It would be nice to be actually able to resize the actual size of the console window. This would help in making ASCII racing game and "frogger" games. -hartnell
|
|
|
Post by Guilect on Jan 23, 2007 19:41:13 GMT -5
noted.
|
|
|
Post by hartnell on Jan 23, 2007 20:34:17 GMT -5
BTW you were right. Using the keyboard object is great for ASCII games. -hartnell
|
|
|
Post by hartnell on Jan 24, 2007 11:23:00 GMT -5
console.Clear does not clear background colors. -hartnell
|
|
|
Post by Guilect on Jan 24, 2007 19:25:25 GMT -5
I will look into it.
|
|
|
Post by hartnell on Feb 8, 2007 10:03:19 GMT -5
How about aliases for some console methods? For example, console.Print could be an alias for console.WriteLine. This would help make it more user friendly and natural for BASIC programmers.
-hartnell
|
|