World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.011s
<1234567…34>
  • Help needed with drawing masked spriteI need to draw a small sprite (16 bytes) on to the screen using a mask. Its the only sprite that will be used so speed isn't too important. I was goi…

    ... need to draw a small sprite (16 bytes) on to ... the screen (based on the sprite x,y). I would ... then draw the sprite to the screen using the ... next screen update I would erase the old image with ... screen address then draw the sprite again. Does this seem a ...
    Mr Millside Mr Millside November 2004 Development
  • Any Examples of player controlled masked sprite over flip screen tilemapped rooms?Please does anyone kindly have any z80 code examples of a flip screens tile map with a masked character sprite that you can control via keyboard, ie …

    ... screens tile map with a masked character sprite that you can control ... trying to understand more about sprite animation over backgrounds and tilemaps ...
    alienbanana alienbanana February 2015 Development
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... is to XOR the sprite over the background and then XOR it again ... wants masked graphics.

    However, actually spending time to erase sprites ... background, xor #1, xor #2, xor #3.
    To erase: xor #3, xor #2, xor #1.
    Alcoholics Anonymous Alcoholics Anonymous July 2003 Games
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... is to XOR the sprite over the background and then XOR it again ... wants masked graphics.

    However, actually spending time to erase sprites ... background, xor #1, xor #2, xor #3.
    To erase: xor #3, xor #2, xor #1.
    Fraser Fraser July 2003 Games
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ...
    [code]

    ;masked sprite

    ;seems to be ... )
    or (hl) ;not XOR but OR
    ld (hl ... ;reutrn from sub
    xor a
    ld (DC5), ... ld c, a
    xor a
    ld (DC6), ...
    Fikee Fikee October 2004 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... ]
    #define SP1_ID_MASK2 1 // masked sprite 2-byte definition (mask,graph ... are five basic sprite types: MASK, OR, XOR, LOAD and ... Additonally MASK, OR, XOR and LOAD can use ... , "SP1_ID_XOR1_NR" is an xor sprite without mask that will not ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... make them.

    XOR draw functions take the same ... make the single moving sprite an occluding sprite and see the ... create sprite loop:

    [code]
    // Create Ten Masked Software ... create loop, we create a masked sprite as usual then the " ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • merging bytesPicturing three bytes with their bits identified by letters to make the visualisation easier, what's the best way to perform this transformation? [co…

    If you are writing a masked sprite routine, I'd suggest not ... would be doing a xor/or mode sprite routine instead, without masks ... the preshifted versions of the sprite.
    Timmy Timmy August 2012 Development
  • Small demo to show my sprite engine for ZX Spectrum 48KThis demo shows 13 sprites moving at 50fps totally flicker free: 12 enemies bouncing in edges and the main character, controllable with OPSA (note S …

    ... also written my own simple xor, not masked sprite routine and I only ...
    Timmy Timmy December 2013 Development
  • Small demo to show my sprite engine for ZX Spectrum 48KThis demo shows 13 sprites moving at 50fps totally flicker free: 12 enemies bouncing in edges and the main character, controllable with OPSA (note S …

    ... also written my own simple xor, not masked sprite routine and I only ...
    antoniovillena antoniovillena December 2013 Development
  • New NIRVANA+ feature: wide tiles!The size of each bicolor tile in [b]NIRVANA+[/b] is 2x2 characters (16x16 pixels), like this: [img]http://i60.tinypic.com/mw358y.png[/img] [i]* M…

    ... use for masked sprites.

    mask sprite mask sprite
    sprite mask sprite mask ... br /> inc l
    xor (hl) ;sprite
    ld (de),a< ... br /> inc l
    xor (hl) ;sprite
    ld (de),a< ... br /> dec l
    xor (hl) ;sprite
    ld (de),a< ...
    Jerri Jerri September 2015 Brand new software
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... .

    [b]1. Masked sprite draw routine from SP1[/b ... ix points to the sprite graphics of the char to ... ; h = shift table
    ; de = sprite def (mask,graph) pairs
    ; ix = left sprite def

    _SP1Mask2Rotate:
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • HELP!I'm trying to replace a bit in a byte as follows, but having some sort of brain freeze trying to get it to do what I want. A=00 if bit to replace …

    ... that. :) It is the fastest "masked sprite to screen" code I've ... then put E as your sprite pattern and HL pointing to ... /> cpl a= 00110000 (4)
    xor (hl)10011010 (7)
    and ... e 00010000 (4)
    xor (hl)10111010 (7)
    ld ...
    tstih tstih February 2017 Development
  • How does masking work?lets say you have a sprite which is 00111100 so thats the equivalent of 1+2+64+128 the mask would be the opposite? 11000011 so on screen is:…

    ... empty spaces within the sprite.
    So for example ... , if your sprite data is:
    00010100 ... varied, you can XOR the sprite rather than OR it ... pixels to the sprite that aren't masked off then ... all round in its sprite rectangle. Although in a ...
    joefish joefish October 2017 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... x coord of exit
    xor a
    ld (level_exit_y), a ... the exit, could use a masked sprite for the player I suppose ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... x coord of exit
    xor a
    ld (level_exit_y), a ... the exit, could use a masked sprite for the player I suppose ...
    Kotek Kotek July 2022 Development
  • SpecBAS 0.754 Now available!Hi all - Due to overwhelming demand from half of my userbase (That's ASH-II to you lot), BEEP has been added! It's not just any old BEEP though - y…

    ... ADSR envelope control
    Sprite cloning - creates clones of ... br /> Fixed a crash using SPRITE ERASE
    Fixed(?) a floating point ... error in sprite movement, with values too ... priority
    Fixed sprite flickering that resulted from ...
    Dunny Dunny September 2012 Sinclair Miscellaneous
  • Drawing some spritesI figured I want to draw some sprites. My target was to do a 16x16 masked sprite. There's no clearing here, just drawing the sprites. My first ite…

    ... was to do a 16x16 masked sprite. There's no clearing here ... /> With that routine, drawing a sprite takes 546 + 768 = 1314 ... bytes, with each additional sprite taking the 768 bytes more ... different shifted positions of the sprite will take different times to ...
    Sol_HSA Sol_HSA November 2015 Development
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... is to XOR the sprite over the background and then XOR it again ...
    Fraser Fraser July 2003 Games
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... table, and simply store each sprite preshifted in its eight positions ... sprites. For a small (16x16) masked sprite, it would take 768 bytes ... the data for that particular sprite. You could use a ... the sprites. Then call your sprite drawing routine.

    ...
    dmsmith dmsmith August 2004 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... /> Timing for 32 x 32 masked sprite: 16084 tstates.

    sprite in memory (sprite is stored in such ... br />

    * Draw sprite in unshifted position. Called when ... HALT
    CALL DRAWSPR ;Call sprite drawing routine

    ...
    dmsmith dmsmith August 2004 Development
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    ... :
    "Here is the finished sprite routine. As it stands it ... /> Timing for 32 x 32 masked sprite: 16084 tstates.

    No ...
    cispasoiu cispasoiu August 2004 Development
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    [quote]
    On 2004-08-25 12:40, cispasoiu wrote:
    quote:
    Timing for 32 x 32 masked sprite: 16084 tstates.
    [/quote]

    Which is why real programmers don't use generic sprite routines! :)
    AndyC AndyC August 2004 Development
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ...
    ; window frame sprite 2x2 chars
    ; extra ... kind = sp_MASK_SPRITE; /* create a masked sprite */
    for (i=0; ... br /> /* sp_ClipStruct clips sprite to full screen */
    Alcoholics Anonymous Alcoholics Anonymous April 2005 Development
  • TommyGun UsersI was wondering how many people are actively using TommyGun. I'm thinking of shelving its development as I don't think there is really a need out the…

    ... /> You should try editting a masked sprite in TG.
    1. ... Create a new sprite, make sure you click the masked option.
    masked colour options to pay with.
    3. Draw a simple sprite ... create other sprites from different sprite frames.

    Just ...
    Kiwi Kiwi February 2006 Development
  • TommyGun 0.9.1 availableMostly bug fixes, especially an annoying copy/cut and paste bug in the image editor. Should be available from the Utilities page once it has been up…

    ... /> a) People don't use masked sprites very often
    b ... only use a single frames masked sprite or worst
    c) People ...
    Kiwi Kiwi May 2006 Development
  • Wide sprites in SP1 + Z88DKThe calls to sp1_CreateSpr(); and sp1_AddColSpr(); seems to have changed. Could someone please offer help in how to create a wide (wider than 16 pix…

    ... (wider than 16 pixels) sprite (preferably starting from SevenuP) ... used sp1_SprId2Type() to convert from sprite ID to integer index). ... an example creating a masked sprite 3 characters tall and ... $ff, 0

    ; sprite definition

    ._col0
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • What are people using TommyGun to do?So I was just wondering what people are using TommyGun to do?

    ... every time I change a masked sprite I have to reverse the ... this with) I use the sprite-editor exclusively for my games ...
    bobs bobs September 2006 Development
  • What are people using TommyGun to do?So I was just wondering what people are using TommyGun to do?

    ... every time I change a masked sprite I have to reverse the ... this with) I use the sprite-editor exclusively for my games ...
    Metalbrain Metalbrain September 2006 Development
  • What are people using TommyGun to do?So I was just wondering what people are using TommyGun to do?

    ... every time I change a masked sprite I have to reverse the ...
    Kiwi Kiwi September 2006 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8

HitBox

Word Docs Hits
xor 1.9K 4.8K
masked 475 583
sprite 5.5K 11.1K
erase 749 990

Related Threads

  • Help needed with drawing masked spriteI need to draw a small sprite (16 bytes) on to the screen using a mask. Its the only sprite that will be used so speed isn't too important. I was goi…
  • Sprite Tutorial: Section on Masked Sprites addedLatest installment of my Sprite Graphics Tutorial:<br /> <br /> [url="http://members.aol.com/derekmsmith1/Spectrum/TUTORIAL.RTF"]http://members.aol.c…
  • Any Examples of player controlled masked sprite over flip screen tilemapped rooms?Please does anyone kindly have any z80 code examples of a flip screens tile map with a masked character sprite that you can control via keyboard, ie …
  • C, Z88DK and the Sprite Pack LibraryI wrote a short demo that shows a taste of what can be done from C on the Spectrum:<br /> <br /> [url="http://justme895.tripod.com/zqa/pacmen.zip"]ht…
  • UDG/sprite HelpRestore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • Sprite Graphics TutorialHi everyone,<br /> <br /> Would like some feedback on the following:<br /> <br /> I am thinking of writing a Sprite Graphics Tutorial, ie. how to bes…
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method:<br /> <br /> a) Background is copied to buffer<br /> b) Sprites drawn on…
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok,<br /> <br /> After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following:<br /> <br /> I have 2 x 6k Offsc…
  • Laser Basic Sprite GeneratorDoes anyone know how to use Laser Basic Sprite Generator? I've downloaded it from this site but I don't know what to do with it! <br /> <br /> Thanks…

Related Searches

  • xor sprite
  • xor erase
  • erase sprite
  • erase masked sprite
  • sprite xor and
  • masked xor
  • xor sprite mask
  • masked sprite animation
  • erase draw sprite
  • animated sprite routine masked
  • overlap masked sprite
  • overlapping masked sprite
  • in place sprite erase
  • draw erase sprite line
  • sprite erase
  • how to erase sprite
  • how to erase masked sprite
  • masked sprite
  • masked sprite 16x16
  • basic masked sprite

Copyright © 2024 World of Spectrum