New 1K hires game in progress: Artillery Duel
Re: New 1K hires game in progress: Artillery Duel
Interesting!
Also, seeing the example picture at the top of the thread made me wonder; have you ever made a 1k game that makes use of the Chroma colour facilities?
-B-
Also, seeing the example picture at the top of the thread made me wonder; have you ever made a 1k game that makes use of the Chroma colour facilities?
-B-
Re: New 1K hires game in progress: Artillery Duel
No I have not. I have added ZXPAND-joystick when possible or redefined keys, but never colour.-B- wrote:Interesting!
Also, seeing the example picture at the top of the thread made me wonder; have you ever made a 1k game that makes use of the Chroma colour facilities?
-B-
A bit dull even since the interface provides 16K memory as well.
The screen was an example of the game from an ATARI 2600.
Last edited by dr beep on Tue Nov 15, 2016 7:47 pm, edited 1 time in total.
Re: New 1K hires game in progress: Artillery Duel
In development:
The display of the screen is already ok, but the building of the screen had a few flaws.
Most are now solved. Still 1 that needs attention.
Not such a big thing. Most of the time the display is correct, but I still need to find the bug.
The display of the screen is already ok, but the building of the screen had a few flaws.
Most are now solved. Still 1 that needs attention.
Not such a big thing. Most of the time the display is correct, but I still need to find the bug.
Re: New 1K hires game in progress: Artillery Duel
Final displaybug solved.
The displaybuffer got filled when RND was 25. Now max value of RND is 24.
Time to code the actual gameplay.
The displaybuffer got filled when RND was 25. Now max value of RND is 24.
Time to code the actual gameplay.
Re: New 1K hires game in progress: Artillery Duel
Starting on shooting the cannonball.
First test on movement and display look promising.
A bit slow to get the tension how the cannonball will fly to the opponent.
Are you right and will he meet doom or do you miss completely.
First test on movement and display look promising.
A bit slow to get the tension how the cannonball will fly to the opponent.
Are you right and will he meet doom or do you miss completely.
Re: New 1K hires game in progress: Artillery Duel
Getting somewhere...
Angle and speed can be set. Next to do, shooting with settings.
Free memory: 63 bytes
Angle and speed can be set. Next to do, shooting with settings.
Free memory: 63 bytes
Re: New 1K hires game in progress: Artillery Duel
Formula is a bit of a problem.
Size, calculation and pixeldisplay is still a problem.
Method of claypigeon might save bytes combined with 2 formulas
for x(t) and y(t)
Size, calculation and pixeldisplay is still a problem.
Method of claypigeon might save bytes combined with 2 formulas
for x(t) and y(t)
Re: New 1K hires game in progress: Artillery Duel
12 bytes left and only things to do:
Loopcounter
Plotting according to formula
End of game test
Need to make room or shorter routines.
Loopcounter
Plotting according to formula
End of game test
Need to make room or shorter routines.
Re: New 1K hires game in progress: Artillery Duel
Positive: My Bresenham is shorter than ZX Spectrum ROM
Negative: Still way too long.
I will go for a different approach.
Either not true line from y0,x0 to y1,x1
or calculating yn=(y1-y0)*(xn-x0)/(x1-x0)+y0 and skipping some points on the line.
Not a problem since the cannonball must follow the line, not be the line.
Negative: Still way too long.
I will go for a different approach.
Either not true line from y0,x0 to y1,x1
or calculating yn=(y1-y0)*(xn-x0)/(x1-x0)+y0 and skipping some points on the line.
Not a problem since the cannonball must follow the line, not be the line.