Skip to content

Better centering of capsule names #361

@peyre

Description

@peyre

(This is already accomplished; I just created this Issue to document it.)

BARIS left-aligned capsule names, among other things. In RIS I centered them better, having the game align them based on the number of characters in the name (so if someone changed the name of a capsule it wouldn't be off center). Letters in the game are mostly fixed-width, except for the I, so this didn't work too well for Jupiter, or especially Gemini. So I recently added code to adjust the centering depending how many times "I" appears in the name.

Here are side-by-sides of the capsule name centering in BARIS, Sourceforge RIS, and RIS 1.2.

Capsules1 01
Capsules1 1
Capsules1 2

Complex1 01
Complex1 1
Complex1 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementA request for a game enhancement.Gameplay EnhancementImproves the player experience by changing rules, game behavior, or visual experience.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions