Jump to content
  • entries
    8
  • comments
    11
  • views
    10,217

Frogger progress


Guest

624 views

I made some progress today.Just implement another level which was easy because I already wrote the code the only thing to do was to define the pattern.Defining the levels will be the most boring part hope there are not too much different pattern in frogger.I also did the crocodile animation and the vanishing turtles today.One thing that gives me some headache is that I am running out of maria cycles.Currently there is only time left to make a 12 pixel wide “sprite” at the water area.Enough for one more turtle or the beaver but not enough for the snake would look more like a worm if you ask me.Maybe I have to live with the “worm solution” or some garbage at the right border, we will see...

4 Comments


Recommended Comments

One thing that gives me some headache is that I am running out of maria cycles.

Ahh, one half of the 7800 curse - not enough MARIA cycles to do everything. (The other half is not enough CPU cycles, after MARIA has stolen most of them, to do everything. :-) )

 

One thing you may want to consider (if you're not doing it already) is using a DLI to change the background color and just use that for the background. Also, use direct mode instead of indirect mode.

Link to comment
Ahh, one half of the 7800 curse - not enough MARIA cycles to do everything.  (The other half is not enough CPU cycles, after MARIA has stolen most of them, to do everything. :-) )

You are right but we must make the best out of it :)

 

One thing you may want to consider (if you're not doing it already) is using a DLI to change the background color and just use that for the background.

I allready did that but since the playfield is only 256 pixel (like the original frogger) I needed to "waste" some cycles for the "fake" broder (and also waste one color).

 

Also, use direct mode instead of indirect mode.

Right but I would have to rewrite too much of my code I better find another way.

Link to comment
I allready did that but since the playfield is only 256 pixel (like the original frogger) I needed to "waste" some cycles for the "fake" broder (and also waste one color).

 

Hmm... For those border sprites make sure you are using WM=0 and direct sprites. That will have least number of bytes per pixel, thus the least number of MARIA cycles. (Although you may need to use a 5 byte header if you are changing write modes.)

 

Also, use direct mode instead of indirect mode.

Right but I would have to rewrite too much of my code I better find another way.

It shouldn't be too bad, but I know what you mean. I need to rip apart the DL building code for SpaceWar! 7800 and I'm not looking forward to the experience.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...