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.009s
<1234567…34>
  • Best method for sprite collision detectionHi, I have been trying to incorporate collision detection into a sprite routine I writing. The following is what I have come up with so far: POP D…

    ... incorporate collision detection into a sprite routine I writing.
    The ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ... /> NC0:
    LD A,(HL) ; draw sprite as normal
    AND E ...
    dmsmith dmsmith August 2005 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…

    ... }
    }
    }

    // draw stairs
    for (f = 4 ... /> }

    // erase player sprite
    if (HRC2OFFSET(hrcPlayer) == ... /> } else {
    // draw player facing to the left ...
    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…

    ... /> }

    // erase player sprite
    if (HRC2OFFSET(hrcPlayer) == 3 ... }
    } else {
    // draw player facing to the left ... br /> }

    // draw enemy at new position
    Einar Saukas Einar Saukas September 2012 Development
  • Sprites flickeringI am trying to write a Spectrum game in machine code. I am still a beginner in programming, however I did much progress recently, i believe. Now I am…

    ... /> 1. Store background
    2. Draw sprite into background
    3. Delay ...
    4. Draw stored background into sprite
    5. Change sprite coordinates
    sprite at a time -- erase it, then draw it at ...
    Alcoholics Anonymous Alcoholics Anonymous October 2004 Development
  • 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 ... XOR to draw the sprite, then another XOR to erase the sprite.
    < ...
    joefish joefish February 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 …

    ... : 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 ... before the raster begins to draw the first scan of my ...
    mcleod_ideafix mcleod_ideafix January 2012 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 …

    ... mcleod_ideafix;592693]Well... My first sprite routines work this way: for ... every sprite, I have a routine to erase it from the ... 1 to N
    - Erase the sprite from screen, restoring previous contents ... before the raster begins to draw the first scan of my ...
    Spiky16384 Spiky16384 January 2012 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 …

    ... mcleod_ideafix;592693]Well... My first sprite routines work this way: for ... every sprite, I have a routine to erase it from the ... 1 to N
    - Erase the sprite from screen, restoring previous contents ... before the raster begins to draw the first scan of my ...
    climacus climacus January 2012 Development
  • Disable interrupts?Well, I've read the bits from the David Webb book about interrupt modes and (vaguely) appreciate the principles behind having a vector table, after r…

    ...
    When you make a sprite movement at the screen it ... />
    A) erase sprite at old position
    B) draw sprite at new position ... the process (you erased the sprite at old position or started ... it at new position), the sprite will dissappear.
    It ...
    Ralf Ralf February 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…

    ... }

    // erase player sprite
    if (HRC2OFFSET(hrcPlayer) == ... }

    // draw enemy at new position
    // draw player facing to the left ...
    Einar Saukas Einar Saukas September 2012 Development
  • What would you do with four joysticks?Anyone got some inspiring ideas for four-player games, or twin-stick two-player games..? I can think of, for four players: [I]Warlords[/I] (Atari) […

    ... steps. So, you could draw a fixed 8x2 pixel ... pixel coloured blocks) and draw all your scenery blocks using ...
    The intention is to draw as many sprites as possible ... an easy way to draw 4x2 or 4x4 player ... on too. So to erase a sprite, I patch the pixels ...
    joefish joefish October 2013 New game ideas
  • 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 …

    ... estimate about 1000 cycles to erase a sprite, so we have 3000 ... cycles to both paint/erase and a ... - i.e. the border - erase stuff, draw stuff, in that order.
    erase/draw, process each buffer in order ...
    Hikaru Hikaru December 2013 Development
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... the demo to enable a sprite to be moved around
    slenkar slenkar August 2014 Brand new software
  • New Game - Pietro Bros [z88dk/Nirvana+][b]PIETRO BROS[/b] Pietro and Luizo were transported to pipe world after eating some rancid mushrooms on his pizza. Help them to escape from th…

    ... avoid this problem is, never draw anything yourself in NIRVANA. ... you will be able to draw 50*8=400 multicolor tiles ... Also method "fill" (to erase previous sprite positions when moving them) can ... ESCAPE uses sprites instead of draw/fill for everything, except ...
    Einar Saukas Einar Saukas December 2016 Brand new software
  • ZX GameDev tools consolidatedHello WoS! It's been a while, yet with a plenty of decent gamedev tools (including new ones!), is there a [i]single/pivot table[/i] or some datash…

    ... flicker.

    Most sprite engines will not work like ... try to coordinate background and sprite erase/draw to the current raster ... Scrolling programs will need to draw the entire display in a ... which also need to draw synchronized with the raster ...
    Alcoholics Anonymous Alcoholics Anonymous January 2017 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 …

    ... left and right sides of sprite.
    DB %00000000
    ... into draw procedure (right side)
    LD A,(SPRXCO) ;taking sprite X ... to draw sprite
    LD DE,(SPRSRC) ; source of sprite in memory (sprite is ...
    moroz1999 moroz1999 August 2004 Development
  • Sprites flickeringI am trying to write a Spectrum game in machine code. I am still a beginner in programming, however I did much progress recently, i believe. Now I am…

    ... am trying to make sprite movement routine. Actually I ... did it, however my sprite
    flickers terribly while ... . Store background
    2. Draw sprite into background
    3. Delay ... 4. Draw stored background into sprite
    5. Change sprite coordinates
    Ralf Ralf October 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 …

    ... draw sprite
    LD SP,(SPRSRC) ;source of sprite in memory (sprite ... A,(SPRYLEN) ;taking height of sprite (pixels)
    SRL A ... />
    * Draw second line of sprite: right to left
    draw sprite in unshifted position
    ...
    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 …

    ... draw sprite
    LD SP,(SPRSRC) ; source of sprite in memory (sprite ...
    *Draw second line of sprite: right to left< ... br />

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

    dmsmith dmsmith August 2004 Development
  • Best method for sprite collision detectionHi, I have been trying to incorporate collision detection into a sprite routine I writing. The following is what I have come up with so far: POP D…

    ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ... /> NC0:
    LD A,(HL) ; draw sprite as normal
    AND E ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ...
    NC0: LD A,(HL) ; draw sprite as normal
    AND E ...
    Dr BEEP Dr BEEP August 2005 Development
  • Best method for sprite collision detectionHi, I have been trying to incorporate collision detection into a sprite routine I writing. The following is what I have come up with so far: POP D…

    ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ...
    NC0: LD A,(HL) ; draw sprite as normal
    AND E ...
    dekh dekh August 2005 Development
  • Best method for sprite collision detectionHi, I have been trying to incorporate collision detection into a sprite routine I writing. The following is what I have come up with so far: POP D…

    ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ...
    NC0: LD A,(HL) ; draw sprite as normal
    AND E ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ...
    Dr BEEP Dr BEEP August 2005 Development
  • Best method for sprite collision detectionHi, I have been trying to incorporate collision detection into a sprite routine I writing. The following is what I have come up with so far: POP D…

    ... /> POP DE ; e=mask, d=sprite image
    LD A,(HL ...
    NC0: LD A,(HL) ; draw sprite as normal
    AND E ...
    Dr BEEP Dr BEEP August 2005 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... its Y position and draw firstly sprites of first ... sprite
    if (sprite.y < screen.height/2) then draw sprite ...
    endfor

    for every sprite
    if sprite. ... y >= screen.height/2) then draw sprite ...
    Fikee Fikee June 2006 Development
  • 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, ... DD's (masked) sprite takes about 5000T to draw. sprite routine which have ... T (including amortized overhead of sprite routine).

    ... 64 x 48 pixel sprite could cost about 18000 T ...
    Fikee Fikee March 2010 Development
  • Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…

    You are making great progress. I remember your thread when you asked not so far ago how to draw sprite at any pixel position :)

    I'm looking forward to your next releases.
    Ralf Ralf December 2010 Development
  • 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
  • smooth movement in basicWas trying to figure this out myself but i would like to be pointed in right direction now :-). How do I make something move in Basic without gettin…

    ... . You have to optimize your erase/draw routines as much as you ...
    Arda Arda October 2012 Sinclair Basic
  • Type-in BASIC contest on Reddit.Not sure how WOS-legal it is to mention/link to other forums, but Reddit is having a contest on r/retrobattlestations, asking readers to type a speci…

    ... /> 300 REM Load background and draw on screen
    310 GO ... /> 1580 RETURN
    2000 REM Draw sprite in p$ at X,Y ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • 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 …

    ... background graphics under each sprite separately, and then erase the sprites using ... estimate about 1000 cycles to erase a sprite, so we have 3000 ... cycles to both paint/erase and a ...
    antoniovillena antoniovillena December 2013 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
draw 5.6K 8.5K
sprite 5.5K 11.1K

Related Threads

  • 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…
  • 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…
  • 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…
  • Best Sprite on the SpectrumWhich sprite or character from any Spectrum game do you think is the best? I personally like both the Miner and Jet Set Willys, because of thier sim…
  • Sprite Graphics Tutorial - additionsHi Folks,<br /> <br /> Just made some additions to the tutorial I started ages ago. <br /> <br /> Link is:<br /> [url="http://members.aol.com/derekm…
  • 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…
  • Best method for sprite collision detectionHi,<br /> <br /> I have been trying to incorporate collision detection into a sprite routine I writing.<br /> The following is what I have come up w…

Related Searches

  • xor sprite
  • sprite interrupts
  • asm draw character
  • sprite sheet
  • basic scroll sprite
  • sprite
  • sprite resources
  • joe gunn sprite routine
  • draw line
  • xor erase
  • sprite editor
  • erase sprite
  • erase masked sprite
  • xor masked sprite erase
  • asm draw sprite
  • in place sprite erase
  • draw erase sprite line
  • sprite erase
  • how to erase sprite
  • how to erase masked sprite

Copyright © 2024 World of Spectrum