Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #159

Re: Weird scaling bug - any ideas ?

From Martin <News03@avisoft.f9.co.uk>
Subject Re: Weird scaling bug - any ideas ?
Newsgroups comp.sys.acorn.programmer
Date 2011-04-06 10:53 +0100
Message-ID <51bf9f5c32News03@avisoft.f9.co.uk> (permalink)
References <31efb046-01a1-4bb9-a833-d897cf321997@r14g2000vbm.googlegroups.com> <48f052bf51.martin@bach.planiverse.com> <65056d5d-b1f8-4a01-82be-6660a4c7b1d2@v8g2000yqb.googlegroups.com> <4d9bdca5$0$7701$ba4acef3@reader.news.orange.fr> <123615df-90b2-4419-b59a-9e9e87301bfe@m7g2000vbq.googlegroups.com>
Organization None

Show all headers | View raw


I wonder if you are over-complicating the issue?

You have a sprite (a variable one, depending on the volume setting) that
you want to plot in a window. So why not decide which one you want, where
you want it, then plot it? As it is in a redraw loop, anything outside
the rectangle being re-redrawn will be ignored by the wimp - which means
that until you get the co-ords correct, you may not see anything! 

Your use of
    SpriteOp 60  TO ,r1,r2,r3,r4
MUST be followed by
    SpriteOp r1,r2,r3,r4 
to revert back to normal.

But this is only used when you want to CREATE a sprite by writing or
drawing something in to it. You already have the sprite you want to plot!

<plug>
If you are trying to write and debug a Basic program, I would strongly
recommend using !Reporter so you can see what is going on, display
variables, etc. Available from http://www.avisoft.f9.co.uk/  Without it
you are working in the dark!
</plug>

Martin

-- 
Martin Avison 
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received. 

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-05 12:28 -0700
  Re: Weird scaling bug - any ideas ? Martin Wuerthner <spamtrap@mw-software.com> - 2011-04-05 21:59 +0200
    Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-05 17:30 -0700
      Re: Weird scaling bug - any ideas ? Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-04-06 05:23 +0200
        Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-06 02:23 -0700
          Re: Weird scaling bug - any ideas ? Martin <News03@avisoft.f9.co.uk> - 2011-04-06 10:53 +0100
            Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-06 03:59 -0700
              Re: Weird scaling bug - any ideas ? Martin Wuerthner <spamtrap@mw-software.com> - 2011-04-06 14:50 +0200
                Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-06 09:31 -0700
                Re: Weird scaling bug - any ideas ? Steve Fryatt <news@stevefryatt.org.uk> - 2011-04-06 18:19 +0100
                Re: Weird scaling bug - any ideas ? Martin Wuerthner <spamtrap@mw-software.com> - 2011-04-07 13:14 +0200
                Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-07 09:49 -0700
          Re: Weird scaling bug - any ideas ? Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-04-06 14:23 +0200
          Re: Weird scaling bug - any ideas ? Steve Fryatt <news@stevefryatt.org.uk> - 2011-04-06 18:20 +0100
  Re: Weird scaling bug - any ideas ? Gerph <gerph@gerph.org> - 2011-04-09 05:06 -0700

csiph-web