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.008s
<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
  • BIFROST* Advanced Programming - part 5In my [URL="http://www.worldofspectrum.org/forums/showthread.php?t=40437"]previous post[/URL] I demonstrated how to move multicolor images smoothly i…

    ... ; // hi-res vertical sprite movement
    int dhrcPlayer ... // hi-res horizontal sprite movement
    int ... }

    // erase player sprite
    if (HRC2OFFSET(hrcPlayer) ...
    Einar Saukas Einar Saukas August 2012 Development
  • BIFROST* Advanced Programming - part 6The purpose of this demo is somewhat different from previous ones. Instead of teaching a new technique, the main goal here is to demonstrate how much…

    ... ; // hi-res vertical sprite movement
    int dhrcPlayer ... /> }

    // erase player sprite
    if (HRC2OFFSET(hrcPlayer) == ... br />
    // erase enemy sprite
    h = hrc[ ...
    Einar Saukas Einar Saukas September 2012 Development
  • 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
  • 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
  • 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 ... /> jr nz, 50 ;check if sprite wraps
    ld a, l ... /> ld a, l ;check if sprite
    and 31 ;goes around ...
    Fikee Fikee October 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
  • 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…

    ... br /> #define SP1_ID_MASK2 1 // masked sprite 2-byte definition (mask,graph ... #define SP1_ID_MASK2_NR 2 // masked sprite 2-byte definition (mask,graph ... #define SP1_ID_MASK2_LB 3 // masked sprite 2-byte definition (mask, ...
    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…

    ... > 21) // if sprite went off screen, reverse direction ... the single moving sprite an occluding sprite and see the ... create sprite loop:

    [code]
    // Create Ten Masked ... loop, we create a masked sprite as usual then the " ...
    Alcoholics Anonymous Alcoholics Anonymous May 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
  • Ultimate earlier gamesI mean those Ultimate's games before [I]Atic Atac[/I]. Which is your vavourite? My fave, Jetpac. Very addictive, great gameplay.

    ... with a nice flicker free masked sprite engine.

    Re-definable ...
    zxspecticle zxspecticle April 2008 Games
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    ... same thing like moving small sprite.

    basically, ... mirrored data, DD's (masked) sprite takes about 5000T to draw ... the very rough estimation for masked sprites with preshifted data ... T (including amortized overhead of sprite routine).

    ...
    Fikee Fikee March 2010 Development
  • New Game: Heart StealerMy first platformer is finally released! Having a Speccy since a long time ago, I've really wanted to make a game for it. Since february, I've final…

    ... able to write my first masked sprite display function, it took me ...
    Ralf Ralf May 2010 Games
  • Sprites masterclassHi All, You guys are probably tired of explaining sprites but I'd like to clarify a few things if possible. I've sorted the vertical aspect of scro…

    ... boundaries, you can write a sprite routine that just displays the ... an inverted silhouette for every sprite frame. That is ANDed first ... the right shape, then the sprite is ORed. A less ... to draw the sprite, then another XOR to erase the sprite.

    joefish joefish February 2011 Development
  • Fuse: what do you want to see?An open brainstorm. If you had a team of programmers working on [url=http://fuse-emulator.sf.net/]Fuse[/url], what would you tell them to work on? …

    ... four frames of a 24x32 masked sprite in zig-zag format.
    kphair kphair July 2011 Emulators
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... game has all the sprite area covered with an ... . To switch on a sprite, I only had to ... do a PRINT to erase a sprite, then another PRINT to ... colourfull blocks covering all the sprite area. Just take care ... paper to not reveal the sprite bitmap behind.

    ...
    mcleod_ideafix mcleod_ideafix September 2011 Sinclair Basic
  • Kralizec, a MSX development group, publishes "MajiKazo" for ZX Spectrum[youtube]wJI30FyT7Qw[/youtube] It's a port from a MSX game called [URL="http://www.generation-msx.nl/msxdb/softwareinfo/3449"]MajiKazo[/URL] release…

    ... 'd like to see a masked sprite routine used though. Just ORing ... , the interior detail of the sprite could still be masked out.
    joefish joefish December 2011 Brand new software
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    [QUOTE=ooze48k;587857]Wow, thank you very much, that makes alot of sense now.[/QUOTE]
    Jolly good!

    When polomint comes back, he said he'd do a masked sprite routine with similar line by line commentary for you... :lol:
    ccowley ccowley December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... said he'd do a masked sprite routine with similar line by ... been nominated to do the masked sprite routine, :P
    polomint polomint December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... to do the masked sprite routine, :P[/QUOTE]

    Masked sprite routines are ... better to write your own sprite editor, then you can output ... it (pixel-based collision detection, sprite mirroring, the editor to create ...
    Turkwel Turkwel December 2011 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... />
    Well... My first sprite routines work this way: for ... every sprite, I have a routine to erase it from the ... routine is the calculate-rotate sprite. So, my interrupt routine ... 1 to N
    - Erase the sprite from screen, restoring previous contents ...
    mcleod_ideafix mcleod_ideafix January 2012 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
erase 749 990
masked 475 583
sprite 5.5K 11.1K

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
  • sprite interrupts
  • sprite sheet
  • basic scroll sprite
  • sprite
  • erase sprite
  • xor masked sprite erase
  • 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