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.
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)
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.. , was letting it go at the present, it a Beta ne way, lol..
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.
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. ,. still a ASM wont hurt.
#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.
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)
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!
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. 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).
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!