Ok, minimal gameplay now working.
Still a few alterations needed on collission.
No bytes left, so seeking optimization before changing the display.
New 1K hires game in progress: Artillery Duel
Re: New 1K hires game in progress: Artillery Duel
Collission working, but location must change for better play.
3 bytes needed, 1 available.
3 bytes needed, 1 available.
Re: New 1K hires game in progress: Artillery Duel
Collision now perfect.
Added check if rock is hit.
So tight coded that a bit of the stack can be shown on screen.
Only check on angle to be done. Code might have a small bug there.
Don't it will cost bytes.
Added check if rock is hit.
So tight coded that a bit of the stack can be shown on screen.
Only check on angle to be done. Code might have a small bug there.
Don't it will cost bytes.
Re: New 1K hires game in progress: Artillery Duel
Well,
there was indeed a flaw in the angle/speed routine.
Redundant code saved a byte, but repair costed 2 bytes.
Luckily I could save the byte on the lowres screen.
No bytes left for code.
The game is so tight coded that the stack might appear on the screen. This is repaired on the next screenupdate, so no problem.
Gameplay is a two player turned base game where you enter angle and speed.
Newline starts the game and input can't be corrected. Only numbers accepted.
Player with loaded cannon must fire.
Game ends when opponent is hit. No further input is asked.
Restart with Newline.
there was indeed a flaw in the angle/speed routine.
Redundant code saved a byte, but repair costed 2 bytes.
Luckily I could save the byte on the lowres screen.
No bytes left for code.
The game is so tight coded that the stack might appear on the screen. This is repaired on the next screenupdate, so no problem.
Gameplay is a two player turned base game where you enter angle and speed.
Newline starts the game and input can't be corrected. Only numbers accepted.
Player with loaded cannon must fire.
Game ends when opponent is hit. No further input is asked.
Restart with Newline.
Re: New 1K hires game in progress: Artillery Duel
I had an idea last nicht and I was able to sav eed numerous bytes. I added windeffect and was able to reduce stacksize. So not only better gameplay but better screen as wel.
Re: New 1K hires game in progress: Artillery Duel
You never fail to Amaze me Dr. Beep
Re: New 1K hires game in progress: Artillery Duel
Thanks, game 30 will be a ZX81 version of this game....sirmorris wrote:You never fail to Amaze me Dr. Beep
https://vector-runner-remix.tresensa.com/