New features

Status
Not open for further replies.

Plombo

OpenBOR Developer
Staff member
Sometime in the last 2 weeks, I added support for the >>, <<, &, |, and ^ operators to the script engine.  They work the same way that they do in C.  All shifts are unsigned, not arithmetic.

A non-script feature that I committed a few minutes ago is support for alpha masks for fonts.  The naming convention is data/scripts/fontmask, data/scripts/fontmask2, etc. for font, font2, etc.  The masks themselves work the same way as they do for frames of entity animations.

Bug fix: attack with dot hitting biker crashes game.
 
Cool addition for that font mask. I used to merge 256 font tokens into a single sprite and use drawmethod to clip characters. But I reverted the change later because it doesn't help performance.

As for the file names, should we keep 8 characters limit? In that case, maybe font1m ~ font8m.
 
utunnels said:
As for the file names, should we keep 8 characters limit? In that case, maybe font1m ~ font8m.

I don't think it really matters anymore.  The 8-character filename limit only affects people using the old packer.exe.  If we expect people to update their OpenBOR version regularly, it's reasonable to expect them to have updated their packing utility at some point since 2009. :)
 
Status
Not open for further replies.
Back
Top Bottom