actually i was trying to demonstrate a getmouse x,y,,c compatible routine (for simplicity)

by mennonite (no login)

i'm used to using getmouse, but you should reconsider scaling the screen 0 so that the above code isn't compatible, and i'll tell you why...

right now, the programmer can detect whether you're moving over the upper half of an ascii row or a lower one. it can also detect whether you're moving over the right side or left side. this will only work in sdl mode, not pure ascii mode (or would it also work in pure ascii mode?)

but there are ascii characters that allow you to "draw" up to 160 by 50 (width 80, 50 in screen 0) or, 80, 100 (width 80, 50 in screen 0.) with getmouse this is impossible, but it's possible in qb64 0.79.

it is still possible in screen 1 to 13, and there are very few applications for this in screen 0, but nonetheless, the information is available in version 0.79.

Posted on Jun 2, 2008, 3:20 AM
from IP address 85.195.119.14

Respond to this message   

Return to Index


Response TitleAuthor and Date
i also think it would have been a little more "basic" to have the do while in your codemennonite on Jun 2
RE: reconsider scaling the screen 0 so that the above code isn't compatible... on Jun 2
 ah, you have a point there. but is there any way to make qb64 "itself" take on your loop?mennonite on Jun 2
  Perhaps a dofferent approach might help here. on Jun 2
   that wouldn't actually make any dofferencemennonite on Jun 2
  Imagine surfing the net, but every third click your mouse didn't work... on Jun 2
   there's a one way understanding heremennonite on Jun 2
    here is how getmouse worksmennonite on Jun 2
     And this is why getmouse is bad... on Jun 2
      Wouldn't CALL INTERRUPT 33 also have that problem? on Jun 2
      but inkey$ will capture the esc keypress...mennonite on Jun 2
       totally plain and concise english is not my first language, it takes a while....mennonite on Jun 2
        I understand exactly what you are saying Mennonite on Jun 3
         i'll have to concede for practical reasons thenmennonite on Jun 3
          There's no reason you couldn't code your own "getmouse" routine on Jun 3
           isn't mousewheel just a button that you can click over and over?mennonite on Jun 3
            oh except that it is also a button, not just a wheelmennonite on Jun 3
             RE: Isn't the mouse wheel just a button? on Jun 4
              * Wouldn't ABSOLUTE and INTERRUPT code ignore that? on Jun 4
              *More mouse buttons than the normal 3? Oh! Those fancy ones with Back/Forward buttons? :-Prpgfan3233 on Jun 4