A game about management of resources on a colony starship.

Last update: Jun 22, 2022

Sublight Game

coverage style: very good analysis License: MIT

Generated by the Very Good CLI 🤖

A game about management of resources on a colony starship.

Running Tests 🧪

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Working with Translations 🌐

This project relies on flutter_localizations and follows the official internationalization guide for Flutter.

Adding Strings

  1. To add a new localizable string, open the app_en.arb file at lib/l10n/arb/app_en.arb.
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}
  1. Then add a new key/value and description
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    },
    "helloWorld": "Hello World",
    "@helloWorld": {
        "description": "Hello World Text"
    }
}
  1. Use the new string
import 'package:sublight_game/l10n/l10n.dart';

@override
Widget build(BuildContext context) {
  final l10n = context.l10n;
  return Text(l10n.helloWorld);
}

Adding Supported Locales

Update the CFBundleLocalizations array in the Info.plist at ios/Runner/Info.plist to include the new locale.

    ...

    <key>CFBundleLocalizations</key>
	<array>
		<string>en</string>
		<string>es</string>
	</array>

    ...

Adding Translations

  1. For each supported locale, add a new ARB file in lib/l10n/arb.
├── l10n
│   ├── arb
│   │   ├── app_en.arb
│   │   └── app_es.arb
  1. Add the translated strings to each .arb file:

app_en.arb

{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}

app_es.arb

{
    "@@locale": "es",
    "counterAppBarTitle": "Contador",
    "@counterAppBarTitle": {
        "description": "Texto mostrado en la AppBar de la página del contador"
    }
}

GitHub

https://github.com/erickzanardo/sublight_game
You might also like...

Party Charades game created in Flutter.

Party Charades game created in Flutter.

Party Flutter Mobile party game implemented in Flutter framework. Its been heavily inspired by the Heads Up! game: Get a group of friends (at least 3

May 26, 2022

Cyberpunk-inspired puzzle game prototype created with Flutter and Flame #Hack20 #FlutterHackathon

Cyberpunk-inspired puzzle game prototype created with Flutter and Flame #Hack20 #FlutterHackathon

Ghost Rigger Prototype of a cyberpunk-inspired puzzle game set in a dystopian future: In the year 2078, the megacorporation Native Development Initiat

Jun 17, 2022

Snaake is a small and very simple clone of the classic snake game from Nokia phones.

Snaake is a small and very simple clone of the classic snake game from Nokia phones.

Snaake Snaake is a small and very simple clone of the classic snake game from Nokia phones. Description The objective is very simple: eat the colorful

Jun 11, 2022

A game powered by Flutter and Flame

A game powered by Flutter and Flame

Flutters About Flutters is a demo game powered by Flutter and Flame. I wrote it to test out its performance and gaming capabilities and decided to ope

Jun 21, 2022

Game RPG build by Flame Flutter

Game RPG build by Flame Flutter

Darkness Dungeon Game developed for the purpose of testing the use of the Bonfire package! Download APK Used packages: Bonfire - Flame - Used sprites:

Jun 24, 2022

Watermelon is a game developed using Flutter+Flame+Forge2D. 合成大瓜是使用Flutter+Flame+Forge2D开发的一个开源小游戏(Flutter版合成大西瓜)

Watermelon is a game developed using Flutter+Flame+Forge2D. 合成大瓜是使用Flutter+Flame+Forge2D开发的一个开源小游戏(Flutter版合成大西瓜)

合成大瓜 简介 合成大瓜是使用Flutter+Flame+Forge2D开发的一个开源小游戏。 我在微伞小游戏开发的《合成大西瓜》的基础上将其移植到 Flutter 平台,并添加了以下新特性: 支持自定义背景图 支持重力感应操控 支持修改图片素材 支持反向合成小瓜 支持只生成小/大瓜 内置多套游戏主

Jun 21, 2022

Simple Flappy Bird Game with the most functionalities developed in Flutter

flappy_bird Flutter Game App for Graphics Course Getting Started This project is a starting point for a Flutter application. A few resources to get yo

May 13, 2022

Chinese Chess game by Flutter

Chinese Chess game by Flutter

Chinese Chess 中国象棋界面端. 提供完整的游戏规则处理,windows版带elephanteye引擎的招法提示 功能 游戏规则处理。包括落子点提示,将军、应将提示,输赢检测 棋盘棋子皮肤加载 支持PGN格式加载,FEN格式导入 PGN格式导出, FEN格式局面复制 棋谱自动演播 多语言

Jun 7, 2022

A simple 2D multiplayer online game built using Flutter and Flame engine

A simple 2D multiplayer online game built using Flutter and Flame engine

Club Penguin Introduction 🚀 Club Penguin A multiplayer game involving penguins and anonymous chat in a virtual 2D world Before we start, you can take

Jun 2, 2022

Related

M.U.D. Role-playing text-based game. A multiple-choice multiplayer interactive game developed on Flutter (Android, iOS, Windows, Web)
M.U.D. Role-playing text-based game. A multiple-choice multiplayer interactive game developed on Flutter (Android, iOS, Windows, Web)

Teia M.U.D. Role-playing text-based game. A multiple-choice multiplayer interactive game developed on Flutter (Android, iOS, Windows, Web). The main f

Feb 17, 2022
Warrior Runner - Game made with Flutter and Flame game engine
Warrior Runner - Game made with Flutter  and Flame game engine

Warrior Runner - Game made with Flutter Demo and Screenshot Flutter Version Used : 1.22.4 flame: 0.29.3 hive: 1.5.0-pre Learing Resources: Create a Mo

May 31, 2022
Snake-Game - A flutter based classic snake game with nothing just and just a feel to have play

snake_game This is a simple snake Game under development made with the help of y

Mar 22, 2022
Game characters ui - A redesign of a game characters app using flutter

Game characters ui - A redesign of a game characters app using flutter

Apr 22, 2022
Flutter Switch Game: Get Fun With Play This Game
Flutter Switch Game: Get Fun With Play This Game

switch_game A new Flutter project. Getting Started Try Swap red circle to green

Jun 17, 2022
Chess-game - Some simple lines of coding and made this awesome looking full functional chess board game
Chess-game - Some simple lines of coding and made this awesome looking full functional chess board game

flutter simple chess game It's a flutter chess game application with fast code.

Jun 17, 2022
A simple dice game built using Flutter, that allows users to engage in a dice game

A simple dice game built using Flutter, that allows users to engage in a dice game. Each player rolls the dice and the highest value number that you can make WINS!

Jun 15, 2022
A minimalist Flutter game engine
A minimalist Flutter game engine

A minimalistic Flutter game engine. English | 简体中文 | Polski | Русский About 1.0.0 Our goal is to release v1 soon. We are periodically launching RCs (r

Jun 27, 2022
How to build a Match-3 game, like Candy Crush, Bejeweled, FishDom… in Flutter.
How to build a Match-3 game, like Candy Crush, Bejeweled, FishDom… in Flutter.

flutter_crush How to build a Math-3 game, like Candy Crush, Bejeweled, FishDom… in Flutter. Source code of the article available on didierboelens.com

Jun 22, 2022
a tetris game powered by flutter. 使用flutter开发俄罗斯方块。
a tetris game powered by flutter. 使用flutter开发俄罗斯方块。

English introduction Please view README_EN Flutter俄罗斯方块 使用Flutter开发的俄罗斯方块游戏。支持 Android, iOS, Windows, mac, Linux 以及 web. 参考来源于 vue-tetris 。 如何开始 自行编译

Jun 23, 2022