01-04-2026, 09:21 PM
STEP is the simplest command in the world. It's just that number of pixels in X/Y change.
(100,100)- STEP (10,10)
This would start at pixel (100,100) and end up 10 pixels right, 10 pixels down.
It's the equivalent of (100,100)-(110,110)
All STEP does is add the value inside the step to the last plotted point used.
Easiest example in the world. Start with changing the PSET a few times to experiment. See where you use it (in this case) to set the graphic pointer somewhere on the screen?
Then the line command here will draw you a box 100 pixels right and 100 pixels down from that point you PSET. Change those values to change the size of that box.
That's all that STEP is. Step(yourX, yourY) is just (previousX + yourX, previousY +yourY)
(100,100)- STEP (10,10)
This would start at pixel (100,100) and end up 10 pixels right, 10 pixels down.
It's the equivalent of (100,100)-(110,110)
All STEP does is add the value inside the step to the last plotted point used.
Code: (Select All)
Screen _NewImage(800, 600, 32)
PSet (100, 100)
Line -Step(100, 100), , BF
Easiest example in the world. Start with changing the PSET a few times to experiment. See where you use it (in this case) to set the graphic pointer somewhere on the screen?
Then the line command here will draw you a box 100 pixels right and 100 pixels down from that point you PSET. Change those values to change the size of that box.
That's all that STEP is. Step(yourX, yourY) is just (previousX + yourX, previousY +yourY)


Kidding, +1