Jump to content
  • Advertisement
  • entries
    222
  • comments
    606
  • views
    591263

Level table complete!

Sign in to follow this  
benryves

415 views

This doesn't mean that all the levels are complete, though. I still have the 6th layout to copy. 1 to 5 are all converted, though:
Level 1
Level 2
Level 3
Level 4
Level 5
Levels 1 to 4 you've seen before, but I've switched the palettes around to show you that it's not all magenta, blue and yellow. [smile]
The levels take ages - about 2 hours each - to copy.
I have a table of all the palettes, zone names and landscapes arranged. Now it's a case of adding enemies and scoring and it's pretty much finished - well, graphically and gameplay-wise. Music will be painfull.

For those Z80 buffs, here's a question - I need a 16-bit CP instruction (between HL and DE would be ideal). For a simple equality test, I have:

    ld a,h
cp d
jr nz,+
ld a,l
cp e
jr nz,+

; Code in here

+:


(which would be
if (hl==de) {
// Code in here
}
in a C-type language).

However, I sometimes need to check the carry flag, so also have this:
cp_hl_de:
push hl
scf
ccf
sbc hl,de
pop hl
ret

It works, but is pretty hackish. Any ideas for a better routine?

Finally, on a non-FT related note, I have fixed up QuadPlayer (see lower journal posts) so that it now plays songs held in the calculator's Flash ROM correctly. It's not being released just yet, as a chap bouncing ideas off me would like a "loop" function (which is only complicated in the sense that I don't want to break compatibility with old versions of the player, so that old songs play fine in the new player and new songs don't crash the old player). I feel obliged to add this feature as he has converted a NES song from a Kirby game to the QuadPlayer format and it sounds awesome. [grin] If you look at the MP3 files, please realise that more careful bit manipulation resulted in less "squelchy" sound, and the current release produces crystal-clear tones. [smile]
Finally, this journal would not be complete without my latest Fire Track tile table:
Sign in to follow this  


2 Comments


Recommended Comments

Now you know why they refer to nostagia as being seen through "rose tinted" spectacles. [smile]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!