Home | Reviews | GUIpedia | Forum | Fun500
atrocity | DOS Doors Update (Build 0009)Hey all,
Just an update where I am with DOS Doors since the last update. Build 0009 isn't complete yet. The biggest feature I've added (besides upgrading my 2.5 year old FreeBASIC compiler to the build from a few weeks ago (solving a TON of bugs in the process) and having a ton more graphics primitives to draw with now) is that I have per-window keyboard handling now! This is exciting to me because now when I get window messaging implemented (so the windows/programs can talk to each other), I have have each window be able to receive keys pushed from other programs and stuff. Anyway, here's a current screenshot (don't mind the nasty-red background in the statistics window. It was there to test graphics primitives, lol!):
[caption id="attachment_854" align="alignnone" width="150"] DOS Doors Build 0009 (non-complete)[/caption]
The following code is what I'm using to read the keyboard handle (in the statistics window in the screenshow) to show the keyboard buffer:
Let Y = 35
Let X = 1
Let Caption = System.OS.Display.Windows.Active.Name
PrintString (X, Y, Caption, Name)
Let Y = 43
ReadKeyboard Name, Keyboard
PrintString (X, Y, Keyboard, Name)
The ReadKeyboard command will read the keyboard from Window Name and store it in a variable named Keyboard (in this case). If anybody wants to see the full program for the Statistics window, let me know. My language I created for applications is very BASIC-like, but it's different at the same time. | 2013-08-11 | 9:45 AM |
Brandon | Re: DOS Doors Update (Build 0009)When are we going to see a downloadable version to try ourselves? | 2013-08-14 | 7:47 AM |
atrocity | Re: DOS Doors Update (Build 0009)Sorry, it's just a simple question of weight ratios! A five ounce bird could not carry a one pound coconut. Er, that and when I probably finish this build completely (basically I want to add if/then/else statements to my programming language, and maybe get a few VERY simple controls built in). I just need to stop being lazy, lol! Stupid Warcraft... | 2013-08-18 | 6:36 AM |
Brandon | Re: DOS Doors Update (Build 0009)That sounds like a good plan, I suppose it makes sense to get it to a point when there is actually something to be tested before letting people test it :P | 2013-08-20 | 9:47 AM |
Blog
2021 Brandon Cornell