No player hole on title?

NOTE: I HATE A LOT OF YOUR ZZT GAMES, SO WATCH OUT!

Moderators: Commodore, Zenith Nadir

User avatar
Saxxon
the Gargoyle.
Posts: 608
Joined: Tue Jul 25, 2006 10:02 am
Contact:

Re: No player hole on title?

Post by Saxxon »

Commodore wrote:Why can't you just make a special provision for objects outside the visible screen? Say an object could have $ff,$ff as its x.y. In ZZT it'd point to some garbage spot in memory, much like how pressing play in the above example allows the player to run around the sidebar, which sends the x86 bad opcodes when the player runs into data zzt doesn't interpret. If lyon allowed the full byte, not just the values that show on the screen, it could cope so long as it knew it was off the screen and didn't try interact with the data it's running over like it's board data.
I can make it so that it does not error out. The easy solution would be to add bound checking. But the accurate solution would be to implement useful values.
Post Reply