Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #426

Re: ideas for super mario bros?

Newsgroups comp.sys.apple2.programmer
Date 2012-08-28 20:24 -0700
References <f20ea197-84e6-41cd-8ca6-baa04edacabb@googlegroups.com> <aa9d119a-f65e-401c-aa20-b7acba951219@googlegroups.com>
Message-ID <8a0a7a48-e956-4f4b-ad95-e2677a68767b@googlegroups.com> (permalink)
Subject Re: ideas for super mario bros?
From aiiadict@gmail.com

Show all headers | View raw


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

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ideas for super mario bros? aiiadict@gmail.com - 2012-08-16 22:20 -0700
  Re: ideas for super mario bros? BLuRry <brendan.robert@gmail.com> - 2012-08-17 08:20 -0700
  Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-20 14:07 -0700
    Re: ideas for super mario bros? Antoine Vignau <antoine.vignau@laposte.net> - 2012-08-21 01:10 -0700
      Re: ideas for super mario bros? BLuRry <brendan.robert@gmail.com> - 2012-08-21 09:44 -0700
        Re: ideas for super mario bros? D Finnigan <dog_cow@macgui.com> - 2012-08-21 17:12 +0000
  Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-21 22:48 -0700
  Re: ideas for super mario bros? Egan Ford <datajerk@gmail.com> - 2012-08-22 08:34 -0600
    Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-22 09:49 -0700
  Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-23 16:59 -0700
    Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-28 20:24 -0700
      Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-29 07:55 -0700
        Re: ideas for super mario bros? Antoine Vignau <antoine.vignau@laposte.net> - 2012-08-29 10:35 -0700
          Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-29 13:03 -0700
          Re: ideas for super mario bros? BLuRry <brendan.robert@gmail.com> - 2012-08-29 16:07 -0700
          Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-29 18:04 -0700
            Re: ideas for super mario bros? aiiadict@gmail.com - 2012-09-08 09:03 -0700
              Re: ideas for super mario bros? Antoine Vignau <antoine.vignau@laposte.net> - 2012-09-09 14:21 -0700
          Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-30 09:15 -0700
          Re: ideas for super mario bros? Antoine Vignau <antoine.vignau@laposte.net> - 2012-09-02 13:10 -0700
            Re: ideas for super mario bros? BLuRry <brendan.robert@gmail.com> - 2012-09-02 14:30 -0700
              Re: ideas for super mario bros? aiiadict@gmail.com - 2012-09-03 17:02 -0700
            Re: ideas for super mario bros? aiiadict@gmail.com - 2012-09-03 10:02 -0700
              Re: ideas for super mario bros? Antoine Vignau <antoine.vignau@laposte.net> - 2012-09-03 14:30 -0700
      Re: ideas for super mario bros? aiiadict@gmail.com - 2012-09-05 15:50 -0700
  Re: ideas for super mario bros? aiiadict@gmail.com - 2012-08-29 07:59 -0700

csiph-web