Space Warp INKEY$ VS Space Warp Mouse!!

Announce and discuss the progress of your various programming-related projects...programs, games, websites, tutorials, libraries...anything!

Moderators: Pete, Mods

Which is better INKEY$ or Mouse?

Poll ended at Mon Jan 31, 2005 5:44 pm

Space Warp INKEY$
0
No votes
Space Warp Mouse
3
100%
 
Total votes: 3

Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Space Warp INKEY$ VS Space Warp Mouse!!

Post by Rattrapmax6 »

:) I've recently released a demo of my Seek'n'Destroy A.I.. Quickly Mit made the suggestion to make it mouse controlled. I took his advice, and some help, and now I have a Mouse Beta, or demo.

I'm holding a comparo on what the other QBers think, altho I'm really liking this mouse one.. I'm courious which one is better in a wide stand point.

Download the INKEY$ one:
http://members.aol.com/rattrapmax6/QBFiles/SWDEMO.ZIP

Download the Mouse one:
http://members.aol.com/rattrapmax6/QBFiles/SWBETA.ZIP

Then vote on the poll!
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Oooo...I CAN'T Wait!!!! :D :D :D

So lets see here....
"But...It was so beutifully done"
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ok...I like it....much better... :D

But if I may make a suggestion, or two (oh on another one lol)

1. Put Up/Down back in.
2. Also when mouse goes to the right, It "sticks" because the limites of the mouse are not same with the limits of the ship. (you can change this with another mouse function)

Need any help on either of these just ask... :wink:
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Mitth'raw'nuruodo wrote: Oooo...I CAN'T Wait!!!!

So lets see here....
:lol: I know that already, it was your idea. lol :wink:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

I did vote, try, and suggest. But we replied at the same time so you didn't see it. hmmm.... :)
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

Mitth'raw'nuruodo wrote: 1. Put Up/Down back in.
2. Also when mouse goes to the right, It "sticks" because the limites of the mouse are not same with the limits of the ship. (you can change this with another mouse function)
1. Up & Down,. I was leaving this out because of arc movment. The mouse naturaly moves in a arc. I didn't try it, but I'll give it a swing..

2. Ok,. your a month old to ASM,. I'm new.. course I could ratio the Mouse X Y the my limit X Y, but is there a ASM that will do that for me?? I noticed that little stick myself.. :wink: , was letting it go at the present, it a Beta ne way, lol..

Glad you liked it, :D , I did too!!! :D :D
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ok, here I go:

1. Since the Mouse moves in an arc(I didn't know that) there is a way to get around this. Every other LOOP you update ship.x, and every other LOOP (not while doing ship.x), you update ship.y. See how simple that is?
Instead of an Arc, it will be a boxy movement (if that's what you want).

2. Yes ther is a function for that I believe (inregs.ax) but I'll have to look at the tutorials for that. Worste case senario-->you'll have to ratio. Here just search the tutorials(on this site) and you'll find what your looking for eventually.
"But...It was so beutifully done"
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

1. Yeah, the movement of your hand pivoting on your wrist causes a arc,. Yeah, if only move x or y code, never thought of that, but I get how to do it,..

2. Ratio's wont be that bad, lol, I've got right good with 'em in algebra. :wink: ,. still a ASM wont hurt. :)
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Hmmm...Look at the restults so far....100% to 0% mouse [granted only 2 have voted] looks like people like the mouse!
"But...It was so beutifully done"
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

INKEY$ sucks. Use a proper keyhandler.
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

#1: Get the comps speed! It runs way to fast on 1 of mine.
#2: Very nice, I like it! Mouse gives better controll.
#3: Thats not how you spell controll.
Image
User avatar
Pete
Site Admin
Posts: 887
Joined: Sun Dec 07, 2003 9:10 pm
Location: Candor, NY
Contact:

Post by Pete »

Nekrophidius wrote:INKEY$ sucks. Use a proper keyhandler.
I agree with Nek on this one. Go with keyboard controls (mouse controls suck), but don't use INKEY$.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Really, there's something besides INKEY$?
Like what, INPUT LINE?
INPUT$ mabey?
I have never used those are they better?(Please say they're better because I don't like INKEY$ either, too slow for me)

Is there a Tut?
"But...It was so beutifully done"
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

well when you do a console application, you can access window's keyboard handling API....which offers a true threaded keyboard handling service to your apps :-).

I don't know the API calls from memory...but I know they exist :-)
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ok....I'm not that familiar on my terminology, console application? Is that a normal .BAS runnage? Or is it .EXE? (As Nek knows, from my module/function posts. :D I'm only new here talking to other people on this and I have had my own terminology when I was programming solo for the past 1 1/2 years).

So API keyboard handling....Is there a Tut here? :D
"But...It was so beutifully done"
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

well I thought we were talking FB...a windows console application is a DOSBOX in windows hence it's a windows application that looks like a dos program. and in that case you can get the windows keyboard handling API functions.
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Ummm...No we weren't. Space Warp is a QB app.

But...So is there any other input goodies in QB beside INKEY$?
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

INP(96)
Or:
Milos keyhandler
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Hmm...I'm liking INP(96), I'm making a table with the keys and what is returned by it right now. :D thanks
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

It returns the scancode.

You can find key scancodes in the QB help.
I have left this dump.
Post Reply