-
You've got the Programming skills, I've got the Ideas lets make lots of moneyYou know those tank games, one tank on either side of a hill where you choose angle of fire and strength, well can someone tell the the BASIC instruc…
... />
You're looking to plot the trajectory of an object ... *a*t*t
80 PLOT x,y
90 NEXT ... . That's a bug (negative coordinates plot mirrored in Y on the ... -
BIFROST* Advanced Programming - part 4In previous posts I demonstrated how to move multicolor tiles up and down smoothly by a single pixel, and sideways by an entire char (8 pixels). Thi…
... 255, just like the standard PLOT command. In this case, the ...
int px, py; // "abstract" coordinates
int f; // generic counter ... -
PLOTTER - display file utilityI've been disassembling Gyron and needed something to help with working out where things were being put on the screen, so I wrote this program. I was…
... 2 display or attribute coordinates or addresses, and the ... value]]
V = verify coordinates
+ = relative value (+ or ... A = attributes file address
C = character r,c coordinates
... at top left.
Plot coordinate lines: -16:+175 ... -
Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…
... is called to return the *plot coordinates* (row is 0..4 and ... " and "col" will hold the plot coordinates.
And then ... 3x3 character plot being drawn (the plot's screen coordinates were previously ... we must remember to store attributes in the 9 byte ... -
Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…
[QUOTE=Dock;774114]Experimenting more has lead me to realise the limitations in my own code, so I'm going to try to keep it as simple as possible. Next step is to get the game responding to certain tiles as collectables or switches.[/QUOTE]
... -
Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…
[QUOTE=Battle Bunny;774142]Here's some extracts from a program which I've been working on recently, which illustrate some methods to consider. An exhaustive commentary follows ...
[code]
35 LET j1= 0: LET j2=-1: LET s=1: RETURN
... -
Change PAPER and BORDER colours from machine codeHow do you go about changing PAPER and BORDER colours from machine code? I've forgotten the system variables for border and paper.
... the screen with the current attributes. The HALT at the beginning ... screen without touching the new attributes.[/QUOTE]
This routine ... ROM CLS routine, PRINT and PLOT coordinates aren't reset. -
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…
... the first row in the attributes file, so it's out ... />
This BASIC routine can "PLOT" (using POKE) to any point ... statements convert the x,y coordinates into a display file address ... -
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…
... graphic is identified by four attributes, the distance to the object ... GOSUB stack, and converts the coordinates from Apple-II ranges to ... Spectrum ranges to do the PLOT/DRAW sequence specified in the ... -
Editorless AGD Now for Spectrum as well as Next/TimexI've updated the editorless version of AGD to 0.3, fixing the Next/Timex CLS routine and adding a Spectrum engine and compiler. For those not alread…
... whereas the Timex/Next has attributes interleaved with bitmap data for ... double height or standard text, PLOT and a command for redefining ... on the screen also requires coordinates.now and JUMP.requires an ... -
SpecBAS really needs a manual!That Word doc that I converted to an RTF for you Dunny and ASH-II, is still somewhat sparse. I spent bloody hours PLOT/DRAWing a landscape to steer m…
... with its properties recognized as Attributes?
Or perhaps ... help a lot in planning PLOT/DRAW if one knew how ... /> In SpecBAS there are no "attributes". They exist on the Spectrum ... the pixel colour at those coordinates - rather than trying to ... -
ArtistryIn my younger days (and to a certain extent, now) I was always intrigued about how the loading screens were constructed. Back then I'd assumed it was…
... was with a lot of PLOT and DRAW statements. Not being ... an expert on PLOT and DRAW in those days ... /> ...where x and y are coordinates to start painting from, c1 ... -
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 …
... that wasn't in the attributes but was in the screen ... -
the Plot - how to play?anyone tried to play this thingy? even with kempston chosen can't find the proper way to use the controls and to do anything :confused: just able …
... .... is this all of the plot down there?
(no passing ... -
Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…
... be used to cover the attributes section randomly, until all 704 ... it work without using random coordinates or stored data. Robocop, for ... -
Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…
... ]y[/I] would be the coordinates for PLOT, and [I]a[/I ... the parameters for DRAW. Since PLOT is only necessary if the ... thought of using non-existing coordinates to determine different things. If ... , 256, the routine would skip PLOT, DRAW a,b and jump ... -
[SpecOS] Question about OVEROk folks, this one has me (and a few friends) stumped. How would you implement OVER in SpecOS? Bear in mind that I'm after an algorithm which I appl…
... commands like CIRCLE, ELLIPSE, DRAW, PLOT etc), and information available is ... we're plotting and the coordinates. Also it's important to ... -
Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…
... />
To allow the original attributes to be restored I take ... -
A fast DRAW routineI was investigating how to speed up the line drawing for the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=20225"]BASIC compiler[/URL]…
... every call to the PLOT routine, the coordinates were being store ... system variable COORDS.
[*]Plot address and pixel mask were ... being calculated on each plot, but on a line ... , h ;
exx ; recover coordinates
jr z, __DRAW4 ; if ... -
Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…
... I wanted to "plot" pixel at screen coordinates 50,50 how would ... -
The display of the ZX SpectrumI'm trying my hand at putting a simple emulator together, but I don't quite remember exactly how the screen works... I have a (void) function that ta…
... the screen memory without the attributes) and the byte at that ... how to work out the coordinates of the 8 pixels from ... -
Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…
... then redisplay a line of attributes from the screen. For example ... the ability to restore the attributes in some way - another USR ... -
Some issues with my UDG programFor the sake of remembering how to do some things in Basic, I started coding a small program that could be used to create UDGs: [url]http://db.tt/tt…
... black square, otherwise clear the coordinates x1,y1 (to delete the ... if 0 and vice-versa, plot pixel with over 1 in ... -
(part of) screen to UDGHere is a routine to copy a Y,X-position on screen to a UDG. 0<=y<=23 0<=x<=31 144<=udg<=165 (UDG "A" to UDG "U") [code] ; start code with ; PRINT …
Here is a routine to copy a Y,X-position on screen to a UDG.
0 -
SpecBAS 0.743 Now available!Hey Guys - SpecBAS has been updated again. A shedload of bugs have been fixed, and a couple of "just for fun" commands have been added! You all sa…
... array of 2d or 3d coordinates to roate, scale and translate ... of 2d coordinates from it ready for displaying
Updated PLOT to ... -
SpecBAS 0.747 Now available!Hiya folks - it's update time again! SpecBAS has had a load of new fixes, as well as some new additions! Firstly, as you all wanted it, SpecBAS can…
... fun. Imagine you want to plot a graph using a specific ... graphics commands (PLOT, DRAW, CIRCLE etc) will use coordinates in those ranges ... -
BIFROST* Advanced Programming - part 1In BIFROST*, it's much easier to just make changes in the tile map and let the engine automatically draw & animate everything in multicolor for you. …
... ;
[*]Adjust their coordinates;
[*]Draw them ... int px, py; // "abstract" coordinates
int f; // generic ... />
// clear multicolor attributes (no glitches since BIFROST* is ... -
BIFROST* Advanced Programming - part 2This second demo shows animated and moving tiles together, and also how to implement collision detection. This knowledge should be enough to implemen…
...
int px, py; // "abstract" coordinates
int f; // generic counter ... ;
}
// clear multicolor attributes (no glitches since BIFROST* is ... -
ZX-Paintbrush version 2.2.9 releasedDear forum readers and ZX-Spectrum emulator friends, today I released ZX-Paintbrush version 2.2.9 with interesting new features (small ones but I th…
... pixels and 32 bytes colour attributes). Kindly powered by Einar Saukas ... /> [LIST]Added the option "use PLOT coordinate range" in the options ... bars". On Y axis like PLOT, this option subtracts 16 to ... -
New ZX Spectrum emulator for Jupiter AceProject page (sorry in Spanish) [url]http://retrolandia.net/foro/showthread.php?tid=36[/url] Try it in a Jupiter Ace emulator [url]http://jupiler.re…
... . PLOT, CIRCLE and DRAW are also emulated but only shows attributes to ...