Re: A85: ZShell to Usgard
[Prev][Next][Index][Thread]
Re: A85: ZShell to Usgard
Michael Pearce wrote:
>
> Yes you can make levels using bits like that, but i imagine most games
> use 1 byte for each tile. you cannot read 1 bit from memory at a
> time. you must read the entire byte. you can then use the "bit"
> instruction to test an individual bit. instructions such as "and" and
> "or" are also very useful.
In ff85 i used tiles that were nibble sized (4 bits) and I would read in
1 byte at a time and then chop it into two (using bitmask) and shift the
one witht he first 4 bits over. The routine was tiny and fast, you
could do something like that.
-------------------------------------------------------------------------------
Adam Geitgey
Partner CSRA Web Design and Computer Consulting
"Web Design for the Information Age"
PGP Key upon request
Email: csrawebtech@qualityservice.com
Web : http://csraweb.home.ml.org
-------------------------------------------------------------------------------
Follow-Ups:
References: