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.026s
<1…3456789…34>
  • Wireframe GraphicsI'm trying to get my head round 3d / wireframe graphics and not really having much luck. I've had a good look on google, but mostly come up with wir…

    I'm also interested in this, but I wanted to know how to do it in Basic, with variables and DRAW. X and Y is the easy part, but handling Z is another story.
    zxbruno zxbruno January 2009 Development
  • Wireframe GraphicsI'm trying to get my head round 3d / wireframe graphics and not really having much luck. I've had a good look on google, but mostly come up with wir…

    ... variables and DRAW. X and Y is the easy part, but handling Z is ...
    Rickard Rickard January 2009 Development
  • DRAW x,y,a Algorithm - how does the ROM do it?Hi all, Getting on with SpecOS, and one of the things I would love to do is to preserve the original ROM's behaviour when drawing Arcs. This is don…

    ... "X value ";X: PRINT "X = ";X;
    40 INPUT "Y value ";Y: PRINT TAB 10;"Y = ";Y;
    70 LET Z=ABS ((ABS X+ABS Y)/SIN (G/2))
    Z)+0.5)/8)+4
    500 REM 'DRAW A LINE' from lastposition to X,Y
    510 LET ...
    Marcelo Marcelo September 2010 Sinclair Basic
  • Birthday PlotsHello all; When browsing the web, I stumbled across an oddity known as Birthday Plots. In effect somebody enters a numeric date and the computer prin…

    ... ; max coords along the X & Y axes so that the plotter ... may actually mean "DRAW a line to" or "DRAW dx,dy from ... ]

    LOGZ is "LOG Z" as in base 10 log ... of z. It's computing the number ...
    Alcoholics Anonymous Alcoholics Anonymous July 2011 Sinclair Basic
  • Birthday PlotsHello all; When browsing the web, I stumbled across an oddity known as Birthday Plots. In effect somebody enters a numeric date and the computer prin…

    ... (NUMERIC) MMDDYY"
    30 INPUT z: CLS
    40 LET c ... =INT (LN z-7)*0.01
    50 ... RANDOMIZE z/10
    60 LET i ... )*ymod: PLOT x,y: DRAW px-x,py-y: LET px=x: LET py=y
    270 ...
    Battle Bunny Battle Bunny July 2011 Sinclair Basic
  • 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. …

    ... />
    [LIST]
    [*]X & Y input location
    [*]Input length ... LET i4=o: LET i5=z: LET i$="Paddy": GO ... VAL "4": LET i5=z: LET i8=z: LET i$="": GO ... 570 REM
    580 PRINT #z; PAPER o; INK VAL "7 ... ";"i"; PAPER z;" Program End"
    600 ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • line, plot and circle in whole 256x192 displayhi! are there some way to draw lines, or whatever, in the whole 256x192 display, than just the above 256x176 part? (this is the msx1 version i made o…

    ... /> JR Z,plo1
    CP 68 ;"D" = draw
    NEG ;distance X negative
    dod1 LD ... A,C ;compare distance Y
    CP B ... ;no swap if X>Y
    LD ...
    roko roko September 2011 Sinclair Basic
  • Is Doctor Who the best that it's ever been?I'm surprised that there's been no Doctor Who thread recently, especially given the revelations we've seen recently. I've loved this last series (and…

    ... It also risks doing an X-Files/Lost thing, where you ... of the arc needs to draw them in to conclude ... on, what happened about X, Y and Z?" even when those stories ... did what was needed to draw in enough of a ... bit pants but necessary to draw in an audience that ...
    AndyC AndyC October 2011 Chit chat
  • real value of some of these books as learning aids?Ok, I admit perhaps it was a late night and frustration. :???: I could have been hallucinating when i was doing the typein. But I think not.. [url]…

    ... setorigin
    160 DIM X(30): DIM Y(30)
    170 INPUT ...
    200 LET X(I)=COS ALPHA: LET Y(I)=SIN ALPHA ... /> 250 LET XPT=X(I): LET YPT=Y(I): GO SUB moveto ...
    260 LET XPT=X(J ... ): LET YPT=Y(J): GO SUB lineto ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... LET NXPEN = FN X(XPT)
    9420 ... Y(YPT)
    9430 PLOT XPEN,YPEN
    9440 DRAW ... Y(0)
    9640 RETURN
    9650 DEF FN X(Z) = INT ((XORIG + Z ... )*XYSCALE + 0.5)
    9660 DEF FN Y(Z ... ) = INT ((YORIG + Z)*XYSCALE + 0 ...
    wibble wibble August 2013 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... setorigin
    160 DIM X(30): DIM Y(30)
    169 REM ... regular N-gon in arrays X and Y.
    170 INPUT "TYPE ...
    200 LET X(I) = COS ALPHA: LET Y(I) = SIN ALPHA ...
    wibble wibble August 2013 Sinclair Basic
  • Pseudo-3D map renderingHave been mulling this over for a while, until that isometric thread prompted me to ask. I'm not sure if this is officially classed as 2D, 2.5D, or 3…

    ... br />
    Perhaps having x, y AND z-order for each sprite could ... max y of your sprite and goes from 0 - 192. Draw affected ... areas by drawing sprites with lower z-order first ... sprite with highest z-order. This is how you draw GUI elements ...
    tstih tstih January 2014 Development
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... continued for a routine to draw a filled rectangle on ... [CODE]1 DEF FN a(x,y,h,v)=USR 63000
    z=0
    7001 FOR ... (b+i),a: LET z=z+a
    7003 NEXT ...
    7004 LET z=INT (((z/l)-INT (z/l))*l)
    ... be able to supply the x,y,h,v and attribute ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Snowfall effectHow do you go about creating a snowfall effect like the one in Yeti? Now don't laugh, I'm currently printing 32 UDG's of dots OVER the top of my gam…

    ... so we don't draw the snowflake, only ... br /> call cord_to_scadd ;z, ok we're in ... /> ;
    snowtab ;x (0-256),y (0-192) of each ... ;arrive with IX addressing x,y, return with HL pointing ... ld a,(ix+0) ; x coordinate.
    rrca ; only ...
    R-Tape R-Tape December 2014 Development
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... X pixel coordinate to DRAW relative X pixel coord
    DEF FN e(y,z ... )=(175-z)-(175-y ... ): HPLOT ... TO -> DRAW
    Convert ...
    Battle Bunny Battle Bunny August 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... $: IF A$="Z" THEN GO TO 380
    170 READ X,Y
    X=+ve, Y=+ve
    240 REM F=1 - DRAW, X=+ve, Y=+ve ...
    250 REM F=2 - DRAW, X=-ve
    DRAW, Y=-ve
    270 REM F=4 - DRAW, X=-ve, Y=-ve
    Paddy Coleman Paddy Coleman October 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... $: IF A$="Z" THEN GO TO 390
    180 READ X,Y
    X=+ve, Y=+ve
    250 REM F=1 - DRAW, X=+ve, Y=+ve ...
    260 REM F=2 - DRAW, X=-ve
    DRAW, Y=-ve
    280 REM F=4 - DRAW, X=-ve, Y=-ve
    Paddy Coleman Paddy Coleman October 2016 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... values but DRAW uses relative values for x & y.
    ... x=y+USR p191: REM = PLOT191 (x,y)
    24 BRIGHT (z-x)=(191-2*Y ... ;Full Screen PLOT & DRAW, Y=0 to +191
    ... PLOT: defw Plot191
    DRAW: defw Draw191

    Battle Bunny Battle Bunny January 2018 Sinclair Basic
  • im looking for a fill routine written in basici know this would be slow but i want to tinker with it to produce something else.

    ... x=SQR ((r*r)-(y*y))
    320 PLOT cx-x,cy+y: DRAW x*2,0: DRAW ... OVER 1;-x ... *2,0

    330 IF x0 THEN PLOT cx+z ... ,cy+y
    370 NEXT z

    380 NEXT y ... of the circle (2 x X) is zero.
    ...
    joefish joefish July 2018 Development
  • Artillery - projectile motion gameI started writing this around 25 years ago and abandoned it due to performance issues, and a lack of physics knowledge. Bandersnatch on Netflix fille…

    ... clash problems.
    2. The draw time of the terrain. I ... then draw it all quickly using
    PRINT AT y,x; TAB z
    patters patters March 2019 Brand new software
  • Artillery - projectile motion gameI started writing this around 25 years ago and abandoned it due to performance issues, and a lack of physics knowledge. Bandersnatch on Netflix fille…

    ... clash problems.
    2. The draw time of the terrain. I ... then draw it all quickly using
    PRINT AT y,x; TAB z
    draw the terrain using lines, or ...
    IvanBasic IvanBasic March 2019 Brand new software
  • Pseudocode for CIRCLE algorithm?Can anyone provide me with the pseudocode for the Spectrum's CIRCLE algorithm? My machine code knowledge isn't up to reading the ROM routine. I'm try…

    ... the Spectrum's curve DRAW command in SpecBAS which ... /> Procedure SP_DrawSpeccyCurve(X, Y, Angle: aFloat);
    Var
    Z, W, F ... />
    Z := Abs((Abs(X)+Abs(Y))/Sin(Angle/2));
    Z < 1) Then
    SP_DrawLine(X, Y)
    Else ...
    Dunny Dunny February 2020 BASIC
  • Matchpoint ball algorithmAnyone has any idea how Psions Matchpoint ball algorithm works? Are they calculating the balls' parabola (floating point for just the ball doesn't se…

    ... the gravity from the y component of the velocity.< ... Make a table of various z values you would divide by ... (range of z the ball can be drawn ... at), store 1/z and turn your division into ... 2) Cheat and draw it isometric where x, y on screen is just ...
    Paradigm Shifter Paradigm Shifter July 2021 Development
<1…3456789…34>

Latest Posts

  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 8
  • 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
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6

HitBox

Word Docs Hits
draw 5.6K 8.5K
x 14K 31.7K
y 6.2K 15.7K
z 4.6K 11.6K

Related Threads

  • DRAW x,y,a Algorithm - how does the ROM do it?Hi all, <br /> <br /> Getting on with SpecOS, and one of the things I would love to do is to preserve the original ROM's behaviour when drawing Arcs.…
  • X*Y*Z - A community project?Five years ago I wrote a game called [B]W*H*B[/B] ([URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0023478"]http://www.worldofspectrum.org/inf…
  • X=Y=ZFirst public outing of X=Y=Z for the 48K Spectrum, a 4-level demo which can be download from:<br /> <br /> [as TZX]<br /> [URL="http://www.bobs-stuff…
  • New Game : X=Y=ZFull version of X=Y=Z is now available from my site at:<br /> <br /> [URL="http://www.bobs-stuff.co.uk/extras/x=y=z.zip"]http://http://www.bobs-stuff…
  • Spectrum 4Ever : X=Y=ZIts Monday and its time for a new video.<br /> [youtube]U1iW5NhaLug[/youtube]
  • Spectaculator 5.x/6.x And Multiface 3Hi there, anyone had any trouble with this at all? The instructions say that it will auto-switch between a Multiface 128 and a Multiface 3 when choos…
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?
  • Getting attribute location from a screen coordinates (x,y)I am having trouble figuring out how to convert an x,y coordinate pair (pointing to a specific pixel) to the location of the attribute for the block …
  • X-10 or X-20 schematics wantedDoes anyone have schematics for the Sinclair X-10 or X-20 amplifiers ?<br /> <br /> These amp-kits were sold back in 1964/65, and when I read about t…

Related Searches

  • y first project
  • x files
  • asm draw character
  • x uno
  • draw line
  • as a zx spectrum inter networking enthusiast y
  • fuse for mac os x
  • draw command
  • x y z
  • x y
  • attr y x
  • screen address to x and y
  • screen x y r tape
  • screen x y
  • 2000 let atr attr y x tinta 8 int papel 63 return
  • draw x y a algorithm
  • calculate pixel position from x y
  • spectrum z x
  • z x v m
  • x y to screen position

Copyright © 2024 World of Spectrum