Space Warp INKEY$ VS Space Warp Mouse!!
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
I'm glad I released Beta's,. I ran into the word "Sucks" alot, lol..
Yeah, I've heard of ON KEY keyboard scanning but wasn't going to bother with it,.. as for the Mouse, I thought myself it would suck, but I'm really liking this bit of ASM Mitth has sent me..
Course, I can run a comparo over ON KEY and Mouse, and I might make it where you can chose between the two in opptions depending on out put.
But as for me, once I ratio, well realy scalefactor the mouse X Y to SCREEN 13's X Y, I'm realy rather hooked on the Mouse,.
Yeah, I've heard of ON KEY keyboard scanning but wasn't going to bother with it,.. as for the Mouse, I thought myself it would suck, but I'm really liking this bit of ASM Mitth has sent me..
Course, I can run a comparo over ON KEY and Mouse, and I might make it where you can chose between the two in opptions depending on out put.
But as for me, once I ratio, well realy scalefactor the mouse X Y to SCREEN 13's X Y, I'm realy rather hooked on the Mouse,.
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
(x.t.r.GRAPHICS)
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
That's good, I like the mouse too. Just not that "stick", and the lack of Y control.
But if I make a suggestion, I don't like the ON KEY GOSUB. It's just a event clone of GOTO. But I'm not going to get into that again. (Please don't comment on that).
You can do the same thing easily with the INP(96) statement which is accually better in this case (you wouldn't want to change the coordinates while you were in the middle of drawing you ship now would ya?)
If you are going to go with the keyboard controls (still 3 to 0 vote against that in the poll) use INP(96) instead of INKEY$ (I mean EXACTLY where INKEY$ was) and check the return with keyboard Scancodes table of them in help (must convert table from Hex to Dec) because the scancodes return a DEC or just check it to &HXX(Where XX is the Hex scancode). Then just increase/decrease certain values then update the ship like you did with the mouse.
But if I make a suggestion, I don't like the ON KEY GOSUB. It's just a event clone of GOTO. But I'm not going to get into that again. (Please don't comment on that).
You can do the same thing easily with the INP(96) statement which is accually better in this case (you wouldn't want to change the coordinates while you were in the middle of drawing you ship now would ya?)
If you are going to go with the keyboard controls (still 3 to 0 vote against that in the poll) use INP(96) instead of INKEY$ (I mean EXACTLY where INKEY$ was) and check the return with keyboard Scancodes table of them in help (must convert table from Hex to Dec) because the scancodes return a DEC or just check it to &HXX(Where XX is the Hex scancode). Then just increase/decrease certain values then update the ship like you did with the mouse.
"But...It was so beutifully done"
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
LOL!!! That stick, you know how you fix it.. I did a scale factor equation on the Mouse X to the SCREEN 13's X (The Mouse Y and SCREEN 13's Y are the same, mind) and all I had to was this...
PS: I got the Y set up, its not so bad (the arc) on the screen as I thought it be,..
Code: Select all
sx = outregs.cx * 0.5
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
(x.t.r.GRAPHICS)
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
I suggest you guys check out Milo Sedlacek's "Monospace".
It has an excellent pure-QB keyboard handler.
Here's a link to our old review:
http://www.petesqbsite.com/reviews/action/mono.html
It has an excellent pure-QB keyboard handler.
Here's a link to our old review:
http://www.petesqbsite.com/reviews/action/mono.html
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
MonoSpace,. wounder if that still on me harddrive?? hmm Cool game tho no color,.. He should have made a ColorSpace for his sequal.
I'm still really liking the mouse,. More so after:
No sticking on the right side anymore!! Yay! < Hehe! he look rather k%l,
I'm still really liking the mouse,. More so after:
Code: Select all
sx = outregs.cx * 0.5
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
(x.t.r.GRAPHICS)
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
that's great $$$. Heh, heh, Mr. Green.
I looked at Monospace (I couldn't resist playing it either). Cool game, lacks color, overly done too (lot of redundant code).
And what he did was basicaly, when a key is pressed he put it in a bolean array with the subscripts = to the keyboard scancodes (he did this all with ASM). Then all he had to do was to see if the value of the scancodes were true (nonzero) or false (zero).
I like it but I could rigg something up simular with out using any ASM!
I looked at Monospace (I couldn't resist playing it either). Cool game, lacks color, overly done too (lot of redundant code).
And what he did was basicaly, when a key is pressed he put it in a bolean array with the subscripts = to the keyboard scancodes (he did this all with ASM). Then all he had to do was to see if the value of the scancodes were true (nonzero) or false (zero).
I like it but I could rigg something up simular with out using any ASM!
"But...It was so beutifully done"
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact:
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
- Mitth'raw'nuruodo
- Veteran
- Posts: 839
- Joined: Sat Jan 22, 2005 11:04 am
- Location: Eastern Coast of US
- Contact: