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

Re: Bored at work....



On Wednesday, August 8, 2012 11:50:06 AM UTC-7, Antoine Vignau wrote:
> OK OK. If you want to save some cycles, 

Yes, I'm going for function so far, once I have it animating on screen, I'll see if I can tighten the code...

> I thought you would have used a screen buffer of 40*20/24 (depending on the size of your tiles) and scroll that buffer internally and then refresh on screen what was necessary by comparing the buffer before scrolling and the new buffer.
> 

That's what you are here for, good ideas :-)

Thanks for feedback..  I have level scrolling by on screen.  I have mario walking around left/right, jump.  If mario goes over half screen to right, the level scrolls.  Now for collision detection and gravity.

Rich