Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Richard Ashbery Newsgroups: comp.sys.acorn.programmer Subject: Re: Instability in rectangular cursor Date: Fri, 13 Nov 2020 17:12:44 +0000 (GMT) Organization: None Lines: 32 Message-ID: <58cedbd8b0basura@invalid.addr.uk> References: <58cec65a21basura@invalid.addr.uk> X-Trace: individual.net cwGp9RI05cerKIPAW08DYQ2MB+LxvUc8hkXQXwUfbA0LJBF1/6 X-Orig-Path: uwclub.net!richard.ashbery Cancel-Lock: sha1:z34H2kCXHmnv0Wm4fezr0SFWhA0= User-Agent: Pluto/3.16 (RISC OS/5.27) NewsHound/v1.52-32 Xref: csiph.com comp.sys.acorn.programmer:6221 In article , Steve Drain wrote: > On 13/11/2020 13:17, Richard Ashbery wrote: > > The mouse overlays another horizontal rectangle but in so doing > > results in instability and spoils the rendering. Any solutions > > would be welcome. > I am not sure I get what you want, but you could try a WAIT before > one or both the RECTANGLE statements. Thanks for responding. You make a fair point and although WAIT does work in this example it dramatically slows down the program that this code has been ripped from. Please have a look at... http://www.riscosbasic.uk/problems/Kill_verticals.zip Unfortunately the program is not named but I believe it may have been created by Krzysztof Jankowski and can be found on YouTube. The original program was done in MODE 28 but I wanted to see if I could convert it for 1080p monitors. Original mouse cursor has instability issues but these are magnified in 1920 x 1080 modes. Scoring logic appears slightly odd - it takes a very short time to build up a huge score - this may require tweaking. Regards Richard