Received: by 10.68.241.169 with SMTP id wj9mr110923pbc.0.1346210667010; Tue, 28 Aug 2012 20:24:27 -0700 (PDT) Received: by 10.68.197.70 with SMTP id is6mr75920pbc.14.1346210666994; Tue, 28 Aug 2012 20:24:26 -0700 (PDT) Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nntp.club.cc.cmu.edu!newsfeed.news.ucla.edu!usenet.stanford.edu!r4no1392821pbs.0!news-out.google.com!a8ni89864317pbd.1!nntp.google.com!4no24202036pbn.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.sys.apple2.programmer Date: Tue, 28 Aug 2012 20:24:26 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.230.94.47; posting-account=5kmk9wkAAAB22-WWGK8UTn8vQ5c3EvdQ NNTP-Posting-Host: 108.230.94.47 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8a0a7a48-e956-4f4b-ad95-e2677a68767b@googlegroups.com> Subject: Re: ideas for super mario bros? From: aiiadict@gmail.com Injection-Date: Wed, 29 Aug 2012 03:24:27 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.sys.apple2.programmer:426 On Thursday, August 23, 2012 4:59:04 PM UTC-7, (unknown) wrote: > On Thursday, August 16, 2012 10:20:33 PM UTC-7, (unknown) wrote: > > > M > > > > > > http://rich12345.tripod.com/basicmario/index.html > I'm trying to get 1byte scroll to work. 2 byte scroll (1 block) works great but a bit jumpy. so for 1 byte scroll: If tilemap shows: XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX IE two rows of tiles at bottom of screen. Scroll the level, tilemap still shows: XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX (because the level looks like this: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX so current and last frames are the same, and the "update only blocks that changed" code doesn't see any screen to update, even though the screen needs to scroll 1 byte, 1/2 the width of a block.. Needs more thought... I thought of keeping a double-wide tilemap, with all bricks doubled horizontally. current tilemap (shortened) ? # XXXXX XXXXX "double wide tilemap" ?? ## XXXXXXXXXX XXXXXXXXXX the doubling of the tilemap might be able to keep track of the 1byte,(= half brick) scroll, each horizontal representation on the tilemap being 1 byte on the hi-resolution screen. Rich