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


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

Re: Saving animated sprites from a simple BASIC graphic program

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Richard Ashbery <basura@invalid.addr.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Saving animated sprites from a simple BASIC graphic program
Date Thu, 19 Mar 2020 13:34:13 +0000 (GMT)
Organization None
Lines 47
Message-ID <5853b30d57basura@invalid.addr.uk> (permalink)
References <5852bdfc1cbasura@invalid.addr.uk> <mpro.q7d0hi02ez29u026f.news@stevefryatt.org.uk> <5853462123basura@invalid.addr.uk> <0a9d965358.Matthew@sinenomine.freeserve.co.uk>
X-Trace individual.net Sx0Lfivo34GgKpRYCrhL6QSwvsYIBKG8JmYjVgbB/PEgDlmsJe
X-Orig-Path uwclub.net!richard.ashbery
Cancel-Lock sha1:S1SWyp2iFSYF3tVty8NGCCLePvM=
User-Agent Pluto/3.16 (RISC OS/5.25) NewsHound/v1.52-32
Xref csiph.com comp.sys.acorn.programmer:6038

Show key headers only | View raw


In article <0a9d965358.Matthew@sinenomine.freeserve.co.uk>, Matthew
Phillips <spam2011m@yahoo.co.uk> wrote:
> In message <5853462123basura@invalid.addr.uk> on 18 Mar 2020
>  Richard Ashbery  wrote:

> > In article <mpro.q7d0hi02ez29u026f.news@stevefryatt.org.uk>,
> > Steve Fryatt <news@stevefryatt.org.uk> wrote:
> > > On 17 Mar, Richard Ashbery wrote in message
> > >     <5852bdfc1cbasura@invalid.addr.uk>:
> > 
> > > > How should I do this please? Some simple code examples would
> > > > be appreciated.
> > 
> > > Is there any chance of seeing your current code? 

> [snip]

> > As suggested by Chris I've eliminated CLG and substituted the EOR
> > GCOL 3,63. Running program displays an offset square as expected
> > but when the sprites are saved the offset is missing and clearly
> > absent when viewing sprites in !Paint. Could this be a problem
> > with the way the program collects the sprite data?

> It sounds like it is.  I think Steve was hoping for the complete
> code: if you can send the whole lot it will be much easier to tell
> where the problem is. The code you copied into the message was
> just for drawing the graphics.

It is complete honestly Matthew. You've missed the bit where the
sprite group is created.

Ensure System sprites memory is set to 16.384 Mbytes in Tasks; Run
program; Open a TaskWindow; type slist to check that the sprite group
is created; type ssave [filename] to save it to root. Open the sprite
to display the group in !Paint but I'm sure you know all this!! 

Although Steve has posted a working modification run his program not
mine and you will see it works correctly.

Apparently my method of generating the sprites is deprecated (went out
with the arc I believe) - I'll have a look at Druck's SWI, OS_SpriteOP
though I suspect I might need help understanding it.

I'll get back to other posters.

Richard

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


Thread

Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-17 16:57 +0000
  Re: Saving animated sprites from a simple BASIC graphic program "John Williams (News)" <UCEbin@tiscali.co.uk> - 2020-03-17 17:28 +0000
    Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-17 20:30 +0000
      Re: Saving animated sprites from a simple BASIC graphic program "John Williams (News)" <UCEbin@tiscali.co.uk> - 2020-03-17 21:12 +0000
        Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-17 21:23 +0000
      Re: Saving animated sprites from a simple BASIC graphic program News <chrisjohnson@spamcop.net> - 2020-03-17 23:39 +0000
  Re: Saving animated sprites from a simple BASIC graphic program Steve Fryatt <news@stevefryatt.org.uk> - 2020-03-17 22:44 +0000
    Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-18 17:44 +0000
      Re: Saving animated sprites from a simple BASIC graphic program druck <news@druck.org.uk> - 2020-03-18 20:55 +0000
      Re: Saving animated sprites from a simple BASIC graphic program Steve Fryatt <news@stevefryatt.org.uk> - 2020-03-19 00:08 +0000
        Re: Saving animated sprites from a simple BASIC graphic program Steve Fryatt <news@stevefryatt.org.uk> - 2020-03-19 07:38 +0000
          Re: Saving animated sprites from a simple BASIC graphic program News <chrisjohnson@spamcop.net> - 2020-03-19 10:17 +0000
          Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-19 20:05 +0000
            Re: Saving animated sprites from a simple BASIC graphic program Steve Fryatt <news@stevefryatt.org.uk> - 2020-03-19 21:10 +0000
              Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-19 21:59 +0000
      Re: Saving animated sprites from a simple BASIC graphic program Matthew Phillips <spam2011m@yahoo.co.uk> - 2020-03-19 08:23 +0000
        Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-19 13:34 +0000
          Re: Saving animated sprites from a simple BASIC graphic program Matthew Phillips <spam2011m@yahoo.co.uk> - 2020-03-19 21:10 +0000
            Re: Saving animated sprites from a simple BASIC graphic program Richard Ashbery <basura@invalid.addr.uk> - 2020-03-19 21:40 +0000
  Re: Saving animated sprites from a simple BASIC graphic program "Derek.Moody" <derek.moody@casterbridge.net> - 2020-03-17 18:05 +0000

csiph-web