Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 7032701

Browse files
committed
Updating READMEs with video links, increasing Music volume
1 parent ea5d47b commit 7032701

File tree

6 files changed

+50
-72
lines changed

6 files changed

+50
-72
lines changed

README.cz.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:globe_with_meridians: [english](README.md) | **<u>český</u>** | [русский](README.ru.md)
22

3-
# Plan-et-а B (PWA Hra) 🪐
3+
# Plan-et-а B (PWA Hra) 🚀
44

55
## Obsah:
66
* [Popis](#Popis)
@@ -38,7 +38,7 @@ Vaším úkolem je **létat ve vesmíru, hledat tzv. „Planetu B“ a určovat
3838
3939
Zde si můžete prohlédnout **video (s zvýrazněním hlavní funkčnosti), v anglickém jazyce:**
4040

41-
**[Gameplay na YouTube](https://youtu.be/_hoEp9jGoLc)**
41+
[![Plan-et-a B](https://i.vimeocdn.com/video/927377809_1920x1080.jpg)](https://vimeo.com/tsinis/hack20)[Vimeo](https://vimeo.com/tsinis/hack20) nebo [YouTube](https://youtu.be/I6B1PfaIxM4)
4242

4343
<details>
4444
<summary>Spoiler o hře</summary>
@@ -148,24 +148,32 @@ Binární spouštěcí soubory pro Android, macOS a Web najdete v části [Relea
148148
| Název | Popis |
149149
| ---- | ----------- |
150150
| **Název frameworku** | [Flutter](https://flutter.dev) |
151-
| Verze frameworku | [1.20.0-3.0.pre.78](https://github.com/flutter/flutter) |
151+
| Verze frameworku | [1.21.0-2.0.pre.60](https://github.com/flutter/flutter) |
152152
| Kanál frameworku | master |
153153
| **Název jazyka** | [Dart](https://dart.dev) |
154154
| Verze jazyka | [2.9.0](https://github.com/dart-lang) |
155155
| Kanál jazyka | beta |
156156
| **Název vývojového prostředí** | [Visual Studio Code](https://code.visualstudio.com/insiders/) |
157-
| Verze vývojového prostředí | [1.47.0](https://github.com/microsoft/vscode) |
157+
| Verze vývojového prostředí | [1.49.0](https://github.com/microsoft/vscode) |
158158
| Kanál vývojového prostředí | předběžný |
159159
| Název závislosti třetí strany | Auto Size Text|
160160
| Balíček závislosti třetí strany | [auto_size_text](https://pub.dev/packages/auto_size_text) |
161-
| Verze závislosti třetí strany | [any](https://github.com/leisim/auto_size_text) |
161+
| Verze závislosti třetí strany | [2.1.0](https://github.com/leisim/auto_size_text) |
162162
| Kanál závislosti třetí strany | stabilní |
163163
| Název závislosti třetí strany | Assets Audio Player |
164164
| Balíček závislosti třetí strany | [assets_audio_player](https://pub.dev/packages/assets_audio_player) |
165-
| Verze závislosti třetí strany | [any](https://github.com/florent37/Flutter-AudioPlayer) |
165+
| Verze závislosti třetí strany | [2.0.8+2](https://github.com/florent37/Flutter-AudioPlayer) |
166166
| Kanál závislosti třetí strany | stabilní |
167167
| Název závislosti třetí strany | [Rive](https://rive.app) (bývalé Flare) |
168168
| Balíček závislosti třetí strany | [flare_flutter](https://pub.dev/packages/flare_flutter) |
169169
| Verze závislosti třetí strany | [2.0.4](https://github.com/2d-inc/Flare-Flutter) |
170170
| Kanál závislosti třetí strany | stabilní |
171+
| Název závislosti třetí strany | URL Launcher |
172+
| Balíček závislosti třetí strany | [url_launcher](https://pub.dev/packages/url_launcher) |
173+
| Verze závislosti třetí strany | [5.5.0](https://github.com/flutter/plugins) |
174+
| Kanál závislosti třetí strany | stabilní |
175+
| Název závislosti třetí strany | Stateless Animation |
176+
| Balíček závislosti třetí strany | [sa_stateless_animation](https://pub.dev/packages/sa_stateless_animation) |
177+
| Verze závislosti třetí strany | [1.0.1](https://github.com/felixblaschke/sa_stateless_animation) |
178+
| Kanál závislosti třetí strany | stabilní |
171179
| Architektura | Vanilla |

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:globe_with_meridians: **<u>english</u>** | [český](README.cz.md) | [русский](README.ru.md)
22

3-
# Plan-et-B (PWA Game) 🪐
3+
# Plan-et-B (PWA Game) 🚀
44

55
## Table of content:
66
* [Description](#Description)
@@ -38,7 +38,7 @@ Your mission is to, **fly around the space, looking for so-called "Planet B" and
3838
3939
You can watch a **preview video of it (with main functionality highlight) here:**
4040

41-
**[Gameplay on YouTube](https://youtu.be/_hoEp9jGoLc)**
41+
[![Plan-et B](https://i.vimeocdn.com/video/927377809_1920x1080.jpg)](https://vimeo.com/tsinis/hack20)[Vimeo](https://vimeo.com/tsinis/hack20) or [YouTube](https://youtu.be/I6B1PfaIxM4)
4242

4343
<details>
4444
<summary>Spoiler about Gameplay</summary>
@@ -147,24 +147,32 @@ You can find binaries for Android, macOS and Web in [Releases](https://github.co
147147
| Name | Description |
148148
| ---- | ----------- |
149149
| **Framework name** | [Flutter](https://flutter.dev) |
150-
| Framework version | [1.20.0-3.0.pre.78](https://github.com/flutter/flutter) |
150+
| Framework version | [1.21.0-2.0.pre.60](https://github.com/flutter/flutter) |
151151
| Framework channel | master |
152152
| **Language name** | [Dart](https://dart.dev) |
153153
| Language version | [2.9.0](https://github.com/dart-lang) |
154154
| Language channel | beta |
155155
| **IDE name** | [Visual Studio Code](https://code.visualstudio.com/insiders/) |
156-
| IDE version | [1.47.0](https://github.com/microsoft/vscode) |
156+
| IDE version | [1.49.0](https://github.com/microsoft/vscode) |
157157
| IDE channel | insider |
158158
| 3rd-party Dependency name | Auto Size Text|
159159
| 3rd-party Dependency package | [auto_size_text](https://pub.dev/packages/auto_size_text) |
160-
| 3rd-party Dependency version | [any](https://github.com/leisim/auto_size_text) |
160+
| 3rd-party Dependency version | [2.1.0](https://github.com/leisim/auto_size_text) |
161161
| 3rd-party Dependency channel | stable |
162162
| 3rd-party Dependency name | Assets Audio Player |
163163
| 3rd-party Dependency package | [assets_audio_player](https://pub.dev/packages/assets_audio_player) |
164-
| 3rd-party Dependency version | [any](https://github.com/florent37/Flutter-AudioPlayer) |
164+
| 3rd-party Dependency version | [2.0.8+2](https://github.com/florent37/Flutter-AudioPlayer) |
165165
| 3rd-party Dependency channel | stable |
166166
| 3rd-party Dependency name | [Rive](https://rive.app) (ex Flare) |
167167
| 3rd-party Dependency package | [flare_flutter](https://pub.dev/packages/flare_flutter) |
168168
| 3rd-party Dependency version | [2.0.4](https://github.com/2d-inc/Flare-Flutter) |
169169
| 3rd-party Dependency channel | stable |
170+
| 3rd-party Dependency name | URL Launcher |
171+
| 3rd-party Dependency package | [url_launcher](https://pub.dev/packages/url_launcher) |
172+
| 3rd-party Dependency version | [5.5.0](https://github.com/flutter/plugins) |
173+
| 3rd-party Dependency channel | stable |
174+
| 3rd-party Dependency name | Stateless Animation |
175+
| 3rd-party Dependency package | [sa_stateless_animation](https://pub.dev/packages/sa_stateless_animation) |
176+
| 3rd-party Dependency version | [1.0.1](https://github.com/felixblaschke/sa_stateless_animation) |
177+
| 3rd-party Dependency channel | stable |
170178
| Architecture | Vanilla |

README.ru.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:globe_with_meridians: [english](README.md) | [český](README.cz.md) | **<u>русский</u>**
22

3-
# План-ет-а Б (PWA игра) 🪐
3+
# План-ет-а Б (PWA игра) 🚀
44

55
## Содержание:
66
* [Описание](#Описание)
@@ -39,7 +39,7 @@
3939
4040
Вы можете посмотреть **предварительное видео (с указанием основных функций), на английском тут:**
4141

42-
**[Геймплей на YouTube](https://youtu.be/_hoEp9jGoLc)**
42+
[![План-ет-а Б](https://i.vimeocdn.com/video/927377809_1920x1080.jpg)](https://vimeo.com/tsinis/hack20)[Vimeo](https://vimeo.com/tsinis/hack20) или [YouTube](https://youtu.be/I6B1PfaIxM4)
4343

4444
<details>
4545
<summary>Спойлер о геймплее</summary>
@@ -151,24 +151,32 @@ flutter build ios --release --no-codesign
151151
| Название | Описание |
152152
| ---- | ----------- |
153153
| **Название фреймворка** | [Flutter](https://flutter.dev) |
154-
| Версия фреймворка | [1.20.0-3.0.pre.78](https://github.com/flutter/flutter) |
154+
| Версия фреймворка | [1.21.0-2.0.pre.60](https://github.com/flutter/flutter) |
155155
| Канал фреймворка | мастер |
156156
| **Название языка** | [Dart](https://dart.dev) |
157157
| Версия языка | [2.9.0](https://github.com/dart-lang) |
158158
| Канал языка | бета |
159159
| **Название ИСР** | [Visual Studio Code](https://code.visualstudio.com/insiders/) |
160-
| Версия ИСР | [1.47.0](https://github.com/microsoft/vscode) |
160+
| Версия ИСР | [1.48.0](https://github.com/microsoft/vscode) |
161161
| Канал ИСР | предварительный |
162162
| Название сторонней зависимости | Auto Size Text|
163163
| Пакет сторонней зависимости | [auto_size_text](https://pub.dev/packages/auto_size_text) |
164-
| Версия сторонней зависимости | [any](https://github.com/leisim/auto_size_text) |
164+
| Версия сторонней зависимости | [2.1.0](https://github.com/leisim/auto_size_text) |
165165
| Канал сторонней зависимости | стабильный |
166166
| Название сторонней зависимости | Assets Audio Player |
167167
| Пакет сторонней зависимости | [assets_audio_player](https://pub.dev/packages/assets_audio_player) |
168-
| Версия сторонней зависимости | [any](https://github.com/florent37/Flutter-AudioPlayer) |
168+
| Версия сторонней зависимости | [2.0.8+2](https://github.com/florent37/Flutter-AudioPlayer) |
169169
| Канал сторонней зависимости | стабильный |
170170
| Название сторонней зависимости | [Rive](https://rive.app) (бывшее Flare) |
171171
| Пакет сторонней зависимости | [flare_flutter](https://pub.dev/packages/flare_flutter) |
172172
| Версия сторонней зависимости | [2.0.4](https://github.com/2d-inc/Flare-Flutter) |
173173
| Канал сторонней зависимости | стабильный |
174+
| Название сторонней зависимости | URL Launcher |
175+
| Пакет сторонней зависимости | [url_launcher](https://pub.dev/packages/url_launcher) |
176+
| Версия сторонней зависимости | [5.5.0](https://github.com/flutter/plugins) |
177+
| Канал сторонней зависимости | стабильный |
178+
| Название сторонней зависимости | Stateless Animation |
179+
| Пакет сторонней зависимости | [sa_stateless_animation](https://pub.dev/packages/sa_stateless_animation) |
180+
| Версия сторонней зависимости | [1.0.1](https://github.com/felixblaschke/sa_stateless_animation) |
181+
| Канал сторонней зависимости | стабильный |
174182
| Архитектура | Vanilla |

lib/helpers/audio_player.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AudioPlayer {
77

88
static Future<void> get cacheAudio async {
99
await _musicAudioPlayer.open(Audio('assets/audio/music/SCI_FI_HORROR_OPENING_MASTERED.mp3'),
10-
loopMode: LoopMode.single, autoStart: false, volume: 0.05, respectSilentMode: true, showNotification: false);
10+
loopMode: LoopMode.single, autoStart: false, volume: 0.1, respectSilentMode: true, showNotification: false);
1111
await _sfxAudioPlayer.open(Audio('assets/audio/sfx/431732__sieuamthanh__beam-11.wav'),
1212
autoStart: false,
1313
volume: 0.15,
@@ -23,7 +23,10 @@ class AudioPlayer {
2323
showNotification: false);
2424
}
2525

26-
static Future<void> get playPauseMusic async => await _musicAudioPlayer.playOrPause();
26+
static Future<void> get playPauseMusic async {
27+
await _musicAudioPlayer.playOrPause();
28+
await _voiceAudioPlayer.stop();
29+
}
2730

2831
static Future<void> get playSound async => await _sfxAudioPlayer.play();
2932

pubspec.lock

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4-
archive:
5-
dependency: transitive
6-
description:
7-
name: archive
8-
url: "https://pub.dartlang.org"
9-
source: hosted
10-
version: "2.0.13"
11-
args:
12-
dependency: transitive
13-
description:
14-
name: args
15-
url: "https://pub.dartlang.org"
16-
source: hosted
17-
version: "1.6.0"
184
assets_audio_player:
195
dependency: "direct main"
206
description:
@@ -104,13 +90,6 @@ packages:
10490
description: flutter
10591
source: sdk
10692
version: "0.0.0"
107-
flutter_launcher_icons:
108-
dependency: "direct dev"
109-
description:
110-
name: flutter_launcher_icons
111-
url: "https://pub.dartlang.org"
112-
source: hosted
113-
version: "0.7.5"
11493
flutter_web_plugins:
11594
dependency: transitive
11695
description: flutter
@@ -130,13 +109,6 @@ packages:
130109
url: "https://pub.dartlang.org"
131110
source: hosted
132111
version: "3.1.4"
133-
image:
134-
dependency: transitive
135-
description:
136-
name: image
137-
url: "https://pub.dartlang.org"
138-
source: hosted
139-
version: "2.1.14"
140112
intl:
141113
dependency: transitive
142114
description:
@@ -193,13 +165,6 @@ packages:
193165
url: "https://pub.dartlang.org"
194166
source: hosted
195167
version: "1.9.2"
196-
petitparser:
197-
dependency: transitive
198-
description:
199-
name: petitparser
200-
url: "https://pub.dartlang.org"
201-
source: hosted
202-
version: "3.1.0"
203168
platform:
204169
dependency: transitive
205170
description:
@@ -352,20 +317,6 @@ packages:
352317
url: "https://pub.dartlang.org"
353318
source: hosted
354319
version: "0.1.0"
355-
xml:
356-
dependency: transitive
357-
description:
358-
name: xml
359-
url: "https://pub.dartlang.org"
360-
source: hosted
361-
version: "4.3.0"
362-
yaml:
363-
dependency: transitive
364-
description:
365-
name: yaml
366-
url: "https://pub.dartlang.org"
367-
source: hosted
368-
version: "2.2.1"
369320
sdks:
370321
dart: ">=2.9.0-18.0 <2.9.0"
371322
flutter: ">1.18.0 <2.0.0"

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ dependencies:
1010
flutter:
1111
sdk: flutter
1212

13-
auto_size_text: any
14-
url_launcher: any
13+
auto_size_text: ^2.1.0
14+
url_launcher: ^5.5.0
1515
assets_audio_player: ^2.0.8+2
1616
sa_stateless_animation: ^1.0.1
1717
# Rive is only working properly with version 2.0.4 on macOS builds
@@ -22,7 +22,7 @@ dev_dependencies:
2222
# sdk: flutter
2323
pedantic: any
2424
effective_dart: any
25-
flutter_launcher_icons: any
25+
# flutter_launcher_icons: any
2626

2727
flutter:
2828
uses-material-design: true

0 commit comments

Comments
 (0)