Skip to content

NESFab 0.6

Compare
Choose a tag to compare
@pubby pubby released this 01 Jun 20:04
· 262 commits to master since this release

Overview

A large number of bug fixes, and a few new optimizations.

Language change to groups

In previous versions of NESFab, each group was either a vars group, a data group, or an omni data group. In 0.6 however, groups can be any combination of these.

For example, the following code is now valid:

vars /my_group
    // ...

data /my_group
    // ...

To implement this change, changes were made to the stows and employs modifiers.

  • stows now puts strings in a regular data block. To put them in an omni data block, use stows omni.
  • employs works as it always does, but one can use employs vars or employs data to employ only those specific blocks of each group.

Library addition: base10.fab

This file contains routines for converting between numbers and a base-10 representation. It is useful if you want to display numbers on the screen.

To see this file being used, check out "examples/counter".

Library addition: palette.fab

This file extends the palette code from "lib/nes.fab", specifically adding routines to fade in and out. In the future, more effects may be added.

To see this file being used, check out "examples/fade".