Pixel
ZXNet echo conference «real.speccy»
From Ivan Pirog → To All 19 November 2000
How are effects created where dots fly to form an object (for example
a circle)?
And if I want to move them along a trajectory, then what is the best way to store the coordinates in a
table? address and offset in a byte or just x, y coordinates.
And if possible a procedure that would quickly throw points from the table onto the screen.
Regards, Ivan. valtr...@mail.ru
Valtron/Complete Failure Hackers Group/Freedom
[ZX] [Alasm] [Beer] [Girls]
From Kirill Frolov → To All 20 November 2000
19 Nov 00 16:06, Ivan Pirog wrote to All:
IP> How are effects created where dots fly to form an object (for example
IP> a circle)?
Using the formula, the coordinates are calculated and displayed on the screen.
IP> And if I want to move them along a trajectory, then what’s best store
IP> coordinates in a table?
Is it even needed?
IP> address and offset in a byte or just x,y coordinates.
If needed for recalculation, then in X and Y, and if only for output, then
in the address and bit mask. Or you can have both options at once.
IP> And if you can, a procedure that would quickly throw points
IP> from the table to the screen.
Well, Failure-Hacker, you don’t know this!
From Ivan Pirog → To All 21 November 2000
IP>> object (for example, a circle)?
KF> The formula calculates the coordinates and displays them on the screen.
Well, wow!!! Thank you for saying that. If they hadn’t told me that I needed to calculate using the formula, I wouldn’t have guessed!
Now I know what I need to do using the formula. But, as you know, there is only one formula in the world. Thank you for solving the problem.
By the way, if you just increase the x coordinate of a given point, you need to take its
coordinate, erase the point, increment the coordinate, check whether it goes off
the screen, throw it on the screen, and remember the coordinate back in the table.
From Kirill Frolov → To All 22 November 2000
21 Nov 00 13:38, Ivan Pirog wrote to Kirill Frolov:
IP> Yes, I can rivet something like this without a market. But everything will turn out slow. There
IP> you need to process 512 points and also tweak the effects. And because I'm a beginner
IP> coder, so I'd rather learn from other people's mistakes rather than my own.
You still haven't written what you want. As I understand it, you need to output it 2 times,
also recalculate it 2 times. There is a memory that stores coordinates separately, and separately
bytes with a mask.
From Ivan Pirog → To All 23 November 2000
IP>> Yes, I can rivet something like this without a market. But everything will turn out slow
IP>>. There you need to process 512 points and also apply
IP>> effects. And because I’m a beginner coder, so it’s better
IP>> to learn from other people’s mistakes, not from my own.
KF> So you still haven’t written what you want. It is necessary to output as I
KF> understood 2 times, and also recalculate 2 times.
I did not say that. It is necessary to display them many times.
Simply, there must be a procedure that recalculates the coordinates of all points, and
the second one displays all this on the screen.
KF> There is a memory that stores the coordinates separately, and separately the bytes
KF> with a mask.
In principle, you can throw them by xor. And then wash it in the same way.