[vcf-midatlantic] Applesoft game programming

Evan Koblentz evan at vcfed.org
Sat Mar 4 02:55:36 EST 2017


> but I would think the same exact method should work in hi-res graphics

Confirmed. :)

Full-screen mode is 280x192, so I adjusted the line 20 divisor to 0.914 
(256/280) and the line 30 divisor to 1.333 (256/192):

10 X=PDL(0) : Y=PDL(1)
20 X=X/0.914 : X=X+0.5
30 Y=Y/1.333 : Y=Y+0.5
40 PRINT INT(X), PRINT INT(Y)
50 HGR2:HCOLOR=1
60 IF X>279 THEN X=279
70 IF Y>191 THEN Y=191
80 HPLOT X,Y
90 GOTO 10

I appreciate that a single point, regardless of lores/hires mode, is 
hardly a real sprite. :)

How do I move around something more complicated? I assume the process is 
much more involved.



More information about the vcf-midatlantic mailing list