Page 1 of 4
New 1K hires game in progress: Artillery Duel
Posted: Mon Oct 24, 2016 5:48 pm
by dr beep
I am working on game 29. This will be a 2 player artilleryshooter where you need to enter angle and speed to shoot a cannonball to the other. First to hit the other wins.
This is a classic game from the early '80ies and now in development in 1K hires on the ZX81.
I am struggling with the display.
It must become a combined OUTLAW, Marble Racer and Blocky screen to work.
Timing is an issue, but it looks like I have found a way out after hours of trying.
Game 30 will be another great final like game 10 and 20 was.
Example how it might look.
Re: New 1K hires game in progress: Artillery Duel
Posted: Mon Oct 24, 2016 8:47 pm
by dr beep
Only way to make the screen work is not to use the final line for display of bullit or cannon.
This can be done by 2 pointers in a address.
Re: New 1K hires game in progress: Artillery Duel
Posted: Tue Oct 25, 2016 12:10 pm
by dr beep
How to calculate a hiresscreenroutine.
(and still need to change the order a bit)
Re: New 1K hires game in progress: Artillery Duel
Posted: Tue Oct 25, 2016 1:33 pm
by dr beep
And still a display error in the routine.
Now solved and screen even wider than in above routine.
This was an easier solution than the smaller screen.
Re: New 1K hires game in progress: Artillery Duel
Posted: Tue Oct 25, 2016 2:52 pm
by dr beep
Left canon now in display.
- cannonleft.png (57.45 KiB) Viewed 3085 times
Re: New 1K hires game in progress: Artillery Duel
Posted: Tue Oct 25, 2016 4:34 pm
by dr beep
Now right cannon also added and 48K bug repaired.
Next thing is start a game and set up an initial left and right cannon on a platform.
Then formula to enter angle and speed and fire a cannonball.
Re: New 1K hires game in progress: Artillery Duel
Posted: Wed Oct 26, 2016 2:22 pm
by dr beep
Both cannons and each game the platformheight changes.
- cannons.png (55.98 KiB) Viewed 3054 times
Re: New 1K hires game in progress: Artillery Duel
Posted: Sun Nov 13, 2016 6:55 pm
by dr beep
For the cannonball itself I need full lines over the screen.
Since the cannonball will look like
I need 3 lines.
The making of the screen with the cannonball took some effort. Finally the hiresdisplay of the right cannon had a bug
The game can now show the cannons and the lines of the cannonball (even when this is on the line of a cannon).
Next thing to add: the plotting of the cannonball.
After that : shooting the cannonball. Part of the formula is already added in the program.
Remaining space : 261 bytes
To do:
Plotting, controls, part of formula, end of game test
Re: New 1K hires game in progress: Artillery Duel
Posted: Sun Nov 13, 2016 7:39 pm
by dr beep
Temporary 40 bytes filler is also codeable.
Remaining 301 bytes.
Re: New 1K hires game in progress: Artillery Duel
Posted: Tue Nov 15, 2016 2:11 pm
by dr beep
Cannon now properly loaded, ready to fire.