A86: Re: Hello World!(help!)


[Prev][Next][Index][Thread]

A86: Re: Hello World!(help!)




use an xor routine to draw/erase the sprites, this is the easiest way to do
it. then you can go through the the columns and increase the location on the
vid mem  to check to see which lights are on and which are out and then put
them in a table

>Hello World!,
> I'm trying to learn more assembly than is required to do a
>"Hello World!" program. I am attempting to start by programming
>a simple Lights Out* game. However I have encountered a problem
>with the game and was wondering if you could help me. What would
>be the best way to turn off the 'lights'?
> I have had only two ideas. I could FindPixel for the tile
>and 'bit' hl and jr to select a sprite based on the result to
>PutSprite (I'm using the 16*x routine off the 86 central site
>if it matters). The second way is there is a way to NOT! a 16*11
>tile to the screen; but I do not understand how do do that (is
>there an easy way to do that with PutSprite?)
>Heres what I've gotten so far; using the first way: