XaiJu
Kandowontu
Kandowontu

patreon


Technical Aspects into Famidash

Happy Friday!

A lot of work has been going on behind the scenes in Famidash. I wanted to spend some time today to explain how we got more room for sprites.

This is the tile viewer. At the top half you will see all of the background tiles used.

https://imgur.com/a/oZvMucO

When changing the viewing type to OAM, you can then plainly see the sprites on the bottom half:

https://imgur.com/a/D8anD7n

As you can see, we have very limited space to work with. How are we going to get in all of the player sprites AND portals/orbs/pads/coins/etc?

Well, we accomplish this with bankswitching!

https://imgur.com/a/zBxilhh

As you can see here, we have declared each of the sprite sections as 2KB sections. We have bankicon00.chr (which is cube, ship, mini cube, ufo (followed by portals)

https://imgur.com/a/CToJPhi

 then we have gamemodesA followed by portals:

https://imgur.com/a/OUuDwMo

and finally, gamemodesB followed by portals:

https://imgur.com/a/2AzuPsB

SO essentially, the portals are ALWAYS loaded into sprite bank 01, while the player's current model is swapped into sprite bank 00:

https://imgur.com/a/08lDeYj

We also swap out bank 03 every few frames to create a pulsing effect between these 2 CHRs:

https://imgur.com/a/yiH6Bij

https://imgur.com/a/ilOtuq2

Here it is in action:

https://imgur.com/a/m4UbIz2

And with that, we saved a bunch of sprite space by only needing one sprite bank (out of 4) utilized for the player!

A big music update just hit too, so there is music in levels that weren't there before.

Also, more settings!

Enjoy the latest build :)


More Creators