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.017s
<1234567…34>
  • Sprite RoutineI was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented. The screen …

    I was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented.

    The screen layout confuses me so much!
    sekrets sekrets October 2010 Development
  • WIP: Another demoIt's a couple of months already since I've released something, so I thought it's fun to show a demo of the thing I'm currently working on: [url]http…

    ... write your own sprite routines. A pre-shifted XOR routine is probably your ... special weapons. Everything was pre-shifted, and applied using a ... loop as the ROM interrupt routine increments this byte (I ... That's the sort of sprite routine you need, 13 16x16 ...
    jonathan jonathan July 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... of it! The sprite routine has some indirect ... coded routine to XOR pre-shifted 8 x 8 pixel sprite on ...
    ; --------------------------------------------------------------------------


    ; Pre shifted sprite definitions (8 x 8 pixels ...
    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... /> ; Hard coded routine to XOR pre-shifted 8 x 8 pixel sprite on screen ... />

    ; --------------------------------------------------------------------------


    ; Pre shifted sprite definitions (8 x 8 pixels ...
    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... /> ; Hard coded routine to XOR pre-shifted 8 x 8 pixel sprite on screen ... />

    ; --------------------------------------------------------------------------


    ; Pre shifted sprite definitions (8 x 8 pixels ...
    ASM ASM November 2010 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... like a slightly more fancy sprite routine, but I'll do that ... a pre-shifted XOR routine. Just set up the registers for the old sprite ... your registers for the new sprite. Draw a byte or line ... you're using an interrupt routine which increments the FRAMES system ...
    jonathan jonathan August 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... to delete the old sprite line by line (or ... really easy, especially for a pre-shifted XOR routine.[/QUOTE]

    ... br /> My graphics aren't pre-shifted, but if I don't ... I'l look into pre-shifting them when the ... my on-the-fly-shifted sprites. Thanks for the ...
    Sokurah Sokurah August 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... simple, non-optimized routine to move a sprite across the screen from ... the screen with then next pre-shifted sprite
    jr face_loop0
    ;and ... the actual meat of the sprite routine and all it really is ... just a very simple PRINT routine that is going to
    Turkwel Turkwel November 2011 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…

    ... the number of pre-shifted graphics for a particular sprite frame from eight ... to four) or only using pre-shifted graphics ... .

    [code]
    // Create Pre-Shifted Sprite Frames

    memcpy(0xf200 ...
    Alcoholics Anonymous Alcoholics Anonymous May 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…

    ... between the unshifted sprite frame address and the pre-shifted frame we actually ... "e_offset", the sprite draw functions will use the pre-shifted sprite frame we created ... to store the 7 additional pre-shifted sprite frames is 1008 bytes. The ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 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…

    ... ' Revenge could be implemented using pre-shifted sprite tiles for the player's ...
    Einar Saukas Einar Saukas September 2012 Development
  • Sprite RotatingI was looking (actually at Everyone's a Wally), and noticed that all the graphics for the main characters are left facing, and two characters wide. …

    ... sprites as part of the sprite routine?

    I thought that ... too slow for games, and pre-shifted sprites was the way to ...
    Gedlion Gedlion June 2010 Development
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... br />
    Basically the routine works by redrawing the tiles ... .

    The routine is designed to detect blank ... bytes.
    * Tiles are pre-shifted into 4 positions, giving 2 ...



    * This routine shifts tiles into 4 positions ...
    dmsmith dmsmith September 2004 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... the program enters this "move sprite" block?

    ... rickardberglind.se/zx/move-sprite-1.z80"]here[/URL ...
    [B]loadloop[/B] ;routine to write graphic into screen ... c=number of columns in "sprite"
    ld e,8 ... e=number of rows in "sprite"
    ld d,31 ...
    Rickard Rickard May 2007 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 …

    ... programmers don't use generic sprite routines.

    [/quote ... I'm not suggesting the routine is fast or the best ... optimisation of another WOS members routine, who didn't want ... them pre-shifted. The overhead for handling different sizes of sprite is ...
    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 …

    ... /> I'm not suggesting the routine is fast or the best ... optimisation of another WOS members routine, who didn't want to ... store them pre-shifted. The overhead for handling different sizes of sprite is ... as a criticism of your routine, which as you say does ...
    AndyC AndyC 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 …

    ... bytes within the sprite. Drawing a sprite without the shifting ... one to use pre-shifted sprites), which this routine has special code ... by updating the player sprite on every frame. How ... things missing to make the routine into something 'professional' -- ...
    Alcoholics Anonymous Alcoholics Anonymous August 2004 Development
  • z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…

    ... cell's "sp1_update" ordered sprite list according to its plane ... can be used for pre-shifted sprites but sprites are also ... of optimizations in the move sprite routine that tries to avoid ... CONS

    - The move sprite function has an overhead associated ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • Little Sprite DemoI've managed to make a little headway with my fooling around with sprites, so I thought I'd stick a snapshot demo thing somewhere for anyone who is i…

    Nice one mate. You got masking in there too.
    My sprite routines are generally all pre-shifted to save all those RR calls etc. If you are not drawing a lot of sprites at the same time however then a pixel perfect sprite routine is great.
    BloodBaz BloodBaz December 2009 Development
  • shifting spriteshi. have anyone experience with shifting sprites by table ? some neat tricks ? i don't want to see complete code (really don't want, it trashes thr…

    ... whole shifted byte, so that's 4K for the table. Pre-shifting ... 2 pixels. So, they are pre-shifted and they animate as they ... 't written a pixel-positioning sprite routine for the Speccy myself, only ... or 4-pixel positioning with pre-shifted sprites on the Speccy.
    joefish joefish February 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... a general PRINT routine, not a Sprite routine, which should take ... for a general purpose sprite routine. What would your recommendation ... spites. Obviously a good sprite routine needs to be pixel ... but asking them to design pre-shifted sprites and masks, might ...
    Gedlion Gedlion June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... opinion - a general purpose sprite routine should be character based, include ... know why a good sprite routine needs to be pixel ... to a general purpose sprite routine a character based one ... pre-shifted sprites then just let the (presumably PC-based) sprite ...
    Turkwel Turkwel June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... are all held in memory, pre-shifted...that's a lot of ... seems to be a 2X4 sprite, that makes 8 positions horizontally ... - such as expanding sprites into pre-shifted blocks as you change screen ... that might be passable - a routine that does the shifting by ...
    Gedlion Gedlion June 2010 Development
  • Sprite RotatingI was looking (actually at Everyone's a Wally), and noticed that all the graphics for the main characters are left facing, and two characters wide. …

    ... sprites as part of the sprite routine?

    I thought that ... too slow for games, and pre-shifted sprites was the way to ... best way, the completing bits shifted out of byte with next ...
    Fikee Fikee June 2010 Development
  • Sprite RotatingI was looking (actually at Everyone's a Wally), and noticed that all the graphics for the main characters are left facing, and two characters wide. …

    ...
    put byte A down pre-shifted 6 pixels is something like ... /> ld a,(de) ;read shifted byte
    and #01 ;mask ... /> ld a,(de) ;read shifted byte again
    and #fe ... to write complete and working sprite routine, you run into problems ...
    Fikee Fikee June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... [/URL]

    It uses pre-shifted bytes via tables, but it ... shown it here, the main sprite routine needs a bit of polishing ... be done to the mirrored routine. There's no raster tear ...
    Turkwel Turkwel June 2010 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…

    ... the source code for the pre-shift table sprites demo. To ... minor adjust to the main sprite routine - but if anyone wants ... be fast enough compared to pre-shifted sprites. As such there are ... IM2 interrupt routine, and provided you synch up your sprite positions ...
    Turkwel Turkwel 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 …

    ... he did have fast large sprite routines. Methods like those aren ... to write a simple interrupt routine that just does a RET ... . Then make your main routine HALT and wait for it ... the screen is drawn from pre-shifted block data (for a blank ...
    joefish joefish 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 …

    ... use a table of pre-rotate bytes for going ... then you will need to pre-shift the sprites. The ... the numbers 0->255 shifted by 0 in the ... is to pre-store the graphics themselves as pre-shifted. This is ... of 13, getting my first sprite routine to work - it was ...
    bobs bobs January 2012 Development
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... you want a xor-based sprite routine you're welcome to take ... the routine I used in Byte Me ... sprites. It's designed for pre-shifted 18x18 sprites, but shouldn't ... modification to cope with different sprite sizes.

    You'll ...
    jonathan jonathan May 2012 New game ideas
<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
pre 5.1K 6.1K
shifted 827 1.1K
sprite 5.5K 11.1K
routine 9.5K 14.8K

Related Threads

  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: <br /> As a child I never learned anyt…
  • Sprite RoutineI was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented.<br /> <br />…
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • Klass of 99 Spectrum version - pre alphaAs some of you may know, James McKay, author of the excellent DOS Spectrum emulator X128, is converting Rich Jordan's PC remake of Skooldaze/Back to …
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…
  • 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…
  • The Pre 85 threadMost of our memories are of games that were from 85 and onwards when the programmers had got to grasps with the Speccy and were coding more efficient…

Related Searches

  • fastest screen routine
  • screen routine
  • xor sprite
  • sprite interrupts
  • sprite sheet
  • basic scroll sprite
  • sprite
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • joe gunn sprite routine
  • simple sprite routine
  • 128k sprite routine
  • pre shifted
  • sprite routine
  • animated sprite routine maske
  • animated sprite routine masked
  • pre shifted spirte

Copyright © 2024 World of Spectrum