staging #20
32
README.md
@ -4,13 +4,31 @@ An infitite runner game powered by Firo.
|
||||
|
||||
## Getting Started
|
||||
|
||||
This project is a starting point for a Flutter application.
|
||||
To build follow [tutorials](https://youtu.be/x0uinJvhNxI?t=1114) on setting up a flutter development enviornment.
|
||||
|
||||
A few resources to get you started if this is your first Flutter project:
|
||||
Once you can build a default flutter application, you should be able to build the program.
|
||||
|
||||
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
|
||||
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
|
||||
Simply git clone this repository, and open it up in an editor of your choice whether Android Studio or Visual Code, and if you have flutter and Dart plugins installed you should be able to build for any device.
|
||||
|
||||
For help getting started with Flutter, view our
|
||||
[online documentation](https://flutter.dev/docs), which offers tutorials,
|
||||
samples, guidance on mobile development, and a full API reference.
|
||||
If solely using the command line
|
||||
1) set up your flutter development enviornment
|
||||
2) git clone the repository
|
||||
3) go into repository with terminal
|
||||
4) type: flutter pub get
|
||||
5) type depending on what device you are building for:
|
||||
```
|
||||
flutter build apk --bundle-sksl-path flutter_01.sksl.json --release
|
||||
// or
|
||||
flutter build web --web-renderer canvaskit --release
|
||||
```
|
||||
|
||||
To connect to the server in tournament mode, set the variables in main.dart to the correct values of the server
|
||||
```
|
||||
const SERVER = "http://serveripaddress";
|
||||
const PORT = "portnumber";
|
||||
```
|
||||
|
||||
If you are not interested in playing in tournament mode, simply set the following variable to true in main.dart
|
||||
```
|
||||
const NO_TOURNAMENT = true;
|
||||
```
|
29
analysis_options.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
# This file configures the analyzer, which statically analyzes Dart code to
|
||||
# check for errors, warnings, and lints.
|
||||
#
|
||||
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
|
||||
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
|
||||
# invoked from the command line by running `flutter analyze`.
|
||||
|
||||
# The following line activates a set of recommended lints for Flutter apps,
|
||||
# packages, and plugins designed to encourage good coding practices.
|
||||
include: package:flutter_lints/flutter.yaml
|
||||
|
||||
linter:
|
||||
# The lint rules applied to this project can be customized in the
|
||||
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
|
||||
# included above or to enable additional rules. A list of all available lints
|
||||
# and their documentation is published at
|
||||
# https://dart-lang.github.io/linter/lints/index.html.
|
||||
#
|
||||
# Instead of disabling a lint rule for the entire project in the
|
||||
# section below, it can also be suppressed for a single line of code
|
||||
# or a specific dart file by using the `// ignore: name_of_lint` and
|
||||
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
|
||||
# producing the lint.
|
||||
rules:
|
||||
# avoid_print: false # Uncomment to disable the `avoid_print` rule
|
||||
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
|
||||
|
||||
# Additional information about this file can be found at
|
||||
# https://dart.dev/guides/language/analysis-options
|
@ -1,41 +1,43 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.firogames.firo_runner">
|
||||
<application
|
||||
android:label="firo_runner"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:launchMode="singleTop"
|
||||
android:theme="@style/LaunchTheme"
|
||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||
android:hardwareAccelerated="true"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<!-- Specifies an Android theme to apply to this Activity as soon as
|
||||
the Android process has started. This theme is visible to the user
|
||||
while the Flutter UI initializes. After that, this theme continues
|
||||
to determine the Window background behind the Flutter UI. -->
|
||||
<meta-data
|
||||
android:name="io.flutter.embedding.android.NormalTheme"
|
||||
android:resource="@style/NormalTheme"
|
||||
/>
|
||||
<!-- Displays an Android View that continues showing the launch screen
|
||||
Drawable until Flutter paints its first frame, then this splash
|
||||
screen fades out. A splash screen is useful to avoid any visual
|
||||
gap between the end of Android's launch screen and the painting of
|
||||
Flutter's first frame. -->
|
||||
<meta-data
|
||||
android:name="io.flutter.embedding.android.SplashScreenDrawable"
|
||||
android:resource="@drawable/launch_background"
|
||||
/>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<!-- Don't delete the meta-data below.
|
||||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||||
<meta-data
|
||||
android:name="flutterEmbedding"
|
||||
android:value="2" />
|
||||
</application>
|
||||
</manifest>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.firogames.firo_runner">
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<application
|
||||
android:label="firo_runner"
|
||||
android:icon="@mipmap/launcher_icon">
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:launchMode="singleTop"
|
||||
android:theme="@style/LaunchTheme"
|
||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||
android:hardwareAccelerated="true"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<!-- Specifies an Android theme to apply to this Activity as soon as
|
||||
the Android process has started. This theme is visible to the user
|
||||
while the Flutter UI initializes. After that, this theme continues
|
||||
to determine the Window background behind the Flutter UI. -->
|
||||
<meta-data
|
||||
android:name="io.flutter.embedding.android.NormalTheme"
|
||||
android:resource="@style/NormalTheme"
|
||||
/>
|
||||
<!-- Displays an Android View that continues showing the launch screen
|
||||
Drawable until Flutter paints its first frame, then this splash
|
||||
screen fades out. A splash screen is useful to avoid any visual
|
||||
gap between the end of Android's launch screen and the painting of
|
||||
Flutter's first frame. -->
|
||||
<meta-data
|
||||
android:name="io.flutter.embedding.android.SplashScreenDrawable"
|
||||
android:resource="@drawable/launch_background"
|
||||
/>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<!-- Don't delete the meta-data below.
|
||||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||||
<meta-data
|
||||
android:name="flutterEmbedding"
|
||||
android:value="2" />
|
||||
</application>
|
||||
</manifest>
|
||||
|
BIN
android/app/src/main/res/mipmap-hdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
assets/audio/Infinite_Menu.mp3
Normal file
BIN
assets/audio/Infinite_Spankage_M.mp3
Normal file
BIN
assets/audio/sfx/bug_death1.mp3
Normal file
BIN
assets/audio/sfx/button_click.mp3
Normal file
BIN
assets/audio/sfx/coin_catch.mp3
Normal file
BIN
assets/audio/sfx/fall_death_speed.mp3
Normal file
BIN
assets/audio/sfx/fireworks.mp3
Normal file
BIN
assets/audio/sfx/glitch_death.mp3
Normal file
BIN
assets/audio/sfx/jet_boost.mp3
Normal file
BIN
assets/audio/sfx/land.mp3
Normal file
BIN
assets/audio/sfx/laser.mp3
Normal file
BIN
assets/audio/sfx/menu_button.mp3
Normal file
BIN
assets/audio/sfx/obstacle_death.mp3
Normal file
BIN
assets/audio/sfx/robot_friend_beep.mp3
Normal file
BIN
assets/audio/sfx/shield.mp3
Normal file
BIN
assets/fonts/Codystar-Light.ttf
Normal file
BIN
assets/fonts/Codystar-Regular.ttf
Normal file
94
assets/fonts/OFL.txt
Normal file
@ -0,0 +1,94 @@
|
||||
Copyright (c) 2012, Font Diner (www.fontdiner.com),
|
||||
with Reserved Font Name "Codystar".
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
assets/icon/head-logo.png
Normal file
After Width: | Height: | Size: 170 KiB |
BIN
assets/images/bg-city-shadow.png
Normal file
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 516 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 143 KiB |
BIN
assets/images/bug/bug_0.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/bug/bug_1.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/bug/bug_2.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/bug/bug_3.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
assets/images/bug/bug_4.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/bug/bug_5.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/bug/bug_6.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/bug/bug_7.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
assets/images/bug/bug_break_0.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/bug/bug_break_1.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/bug/bug_break_10.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/images/bug/bug_break_11.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/bug/bug_break_12.png
Normal file
After Width: | Height: | Size: 210 B |
BIN
assets/images/bug/bug_break_2.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/bug/bug_break_3.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
assets/images/bug/bug_break_4.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/bug/bug_break_5.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/bug/bug_break_6.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
assets/images/bug/bug_break_7.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
assets/images/bug/bug_break_8.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
assets/images/bug/bug_break_9.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
assets/images/button-new.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/images/button.png
Normal file
After Width: | Height: | Size: 177 KiB |
Before Width: | Height: | Size: 72 KiB |
BIN
assets/images/coin/coin_0.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
assets/images/coin/coin_1.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
assets/images/coin/coin_10.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/coin/coin_11.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/coin/coin_2.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/coin/coin_3.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/coin/coin_4.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
assets/images/coin/coin_5.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
assets/images/coin/coin_6.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/images/coin/coin_7.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
assets/images/coin/coin_8.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
assets/images/coin/coin_9.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_0.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_1.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_10.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_11.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_12.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_13.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_14.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_15.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_16.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_17.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_18.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_19.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_2.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_20.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_3.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_4.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/debris/debris_5.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_6.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_7.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_8.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/debris/debris_9.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
assets/images/firework/firework_0.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/images/firework/firework_1.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
assets/images/firework/firework_2.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
assets/images/firework/firework_3.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
assets/images/firework/firework_4.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
assets/images/firework/firework_5.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
assets/images/firework/firework_6.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
assets/images/firework/firework_7.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
assets/images/firework/firework_8.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
assets/images/firework/firework_9.png
Normal file
After Width: | Height: | Size: 209 B |
BIN
assets/images/mm3.gif
Normal file
After Width: | Height: | Size: 4.0 MiB |
BIN
assets/images/overlay100.png
Normal file
After Width: | Height: | Size: 328 B |
BIN
assets/images/overlay40.png
Normal file
After Width: | Height: | Size: 328 B |