Skip to content

Commit 2c111d0

Browse files
(dev): introduced fruits, updated level design
1 parent 9a80487 commit 2c111d0

File tree

314 files changed

+5429
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+5429
-0
lines changed

analysis_options.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file configures the analyzer, which statically analyzes Dart code to
2+
# check for errors, warnings, and lints.
3+
#
4+
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5+
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6+
# invoked from the command line by running `flutter analyze`.
7+
8+
# The following line activates a set of recommended lints for Flutter apps,
9+
# packages, and plugins designed to encourage good coding practices.
10+
include: package:flutter_lints/flutter.yaml
11+
12+
linter:
13+
# The lint rules applied to this project can be customized in the
14+
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15+
# included above or to enable additional rules. A list of all available lints
16+
# and their documentation is published at https://dart.dev/lints.
17+
#
18+
# Instead of disabling a lint rule for the entire project in the
19+
# section below, it can also be suppressed for a single line of code
20+
# or a specific dart file by using the `// ignore: name_of_lint` and
21+
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
22+
# producing the lint.
23+
rules:
24+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
25+
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26+
27+
# Additional information about this file can be found at
28+
# https://dart.dev/guides/language/analysis-options

android/.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
key.properties
12+
**/*.keystore
13+
**/*.jks

android/app/build.gradle

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
}
6+
7+
def localProperties = new Properties()
8+
def localPropertiesFile = rootProject.file('local.properties')
9+
if (localPropertiesFile.exists()) {
10+
localPropertiesFile.withReader('UTF-8') { reader ->
11+
localProperties.load(reader)
12+
}
13+
}
14+
15+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16+
if (flutterVersionCode == null) {
17+
flutterVersionCode = '1'
18+
}
19+
20+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
21+
if (flutterVersionName == null) {
22+
flutterVersionName = '1.0'
23+
}
24+
25+
android {
26+
namespace "com.example.pixel_adventure_v2"
27+
compileSdkVersion flutter.compileSdkVersion
28+
ndkVersion flutter.ndkVersion
29+
30+
compileOptions {
31+
sourceCompatibility JavaVersion.VERSION_1_8
32+
targetCompatibility JavaVersion.VERSION_1_8
33+
}
34+
35+
kotlinOptions {
36+
jvmTarget = '1.8'
37+
}
38+
39+
sourceSets {
40+
main.java.srcDirs += 'src/main/kotlin'
41+
}
42+
43+
defaultConfig {
44+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
45+
applicationId "com.example.pixel_adventure_v2"
46+
// You can update the following values to match your application needs.
47+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48+
minSdkVersion flutter.minSdkVersion
49+
targetSdkVersion flutter.targetSdkVersion
50+
versionCode flutterVersionCode.toInteger()
51+
versionName flutterVersionName
52+
}
53+
54+
buildTypes {
55+
release {
56+
// TODO: Add your own signing config for the release build.
57+
// Signing with the debug keys for now, so `flutter run --release` works.
58+
signingConfig signingConfigs.debug
59+
}
60+
}
61+
}
62+
63+
flutter {
64+
source '../..'
65+
}
66+
67+
dependencies {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<!-- The INTERNET permission is required for development. Specifically,
3+
the Flutter tool needs it to communicate with the running application
4+
to allow setting breakpoints, to provide hot reload, etc.
5+
-->
6+
<uses-permission android:name="android.permission.INTERNET"/>
7+
</manifest>
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<application
3+
android:label="pixel_adventure_v2"
4+
android:name="${applicationName}"
5+
android:icon="@mipmap/ic_launcher">
6+
<activity
7+
android:name=".MainActivity"
8+
android:exported="true"
9+
android:launchMode="singleTop"
10+
android:theme="@style/LaunchTheme"
11+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
12+
android:hardwareAccelerated="true"
13+
android:windowSoftInputMode="adjustResize">
14+
<!-- Specifies an Android theme to apply to this Activity as soon as
15+
the Android process has started. This theme is visible to the user
16+
while the Flutter UI initializes. After that, this theme continues
17+
to determine the Window background behind the Flutter UI. -->
18+
<meta-data
19+
android:name="io.flutter.embedding.android.NormalTheme"
20+
android:resource="@style/NormalTheme"
21+
/>
22+
<intent-filter>
23+
<action android:name="android.intent.action.MAIN"/>
24+
<category android:name="android.intent.category.LAUNCHER"/>
25+
</intent-filter>
26+
</activity>
27+
<!-- Don't delete the meta-data below.
28+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
29+
<meta-data
30+
android:name="flutterEmbedding"
31+
android:value="2" />
32+
</application>
33+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.example.pixel_adventure_v2
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity() {
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="?android:colorBackground" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="@android:color/white" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
4+
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
5+
<!-- Show a splash screen on the activity. Automatically removed when
6+
the Flutter engine draws its first frame -->
7+
<item name="android:windowBackground">@drawable/launch_background</item>
8+
</style>
9+
<!-- Theme applied to the Android Window as soon as the process has started.
10+
This theme determines the color of the Android Window while your
11+
Flutter UI initializes, as well as behind your Flutter UI while its
12+
running.
13+
14+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
16+
<item name="android:windowBackground">?android:colorBackground</item>
17+
</style>
18+
</resources>
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
4+
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
5+
<!-- Show a splash screen on the activity. Automatically removed when
6+
the Flutter engine draws its first frame -->
7+
<item name="android:windowBackground">@drawable/launch_background</item>
8+
</style>
9+
<!-- Theme applied to the Android Window as soon as the process has started.
10+
This theme determines the color of the Android Window while your
11+
Flutter UI initializes, as well as behind your Flutter UI while its
12+
running.
13+
14+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15+
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16+
<item name="android:windowBackground">?android:colorBackground</item>
17+
</style>
18+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<!-- The INTERNET permission is required for development. Specifically,
3+
the Flutter tool needs it to communicate with the running application
4+
to allow setting breakpoints, to provide hot reload, etc.
5+
-->
6+
<uses-permission android:name="android.permission.INTERNET"/>
7+
</manifest>

android/build.gradle

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
buildscript {
2+
ext.kotlin_version = '1.7.10'
3+
repositories {
4+
google()
5+
mavenCentral()
6+
}
7+
8+
dependencies {
9+
classpath 'com.android.tools.build:gradle:7.3.0'
10+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11+
}
12+
}
13+
14+
allprojects {
15+
repositories {
16+
google()
17+
mavenCentral()
18+
}
19+
}
20+
21+
rootProject.buildDir = '../build'
22+
subprojects {
23+
project.buildDir = "${rootProject.buildDir}/${project.name}"
24+
}
25+
subprojects {
26+
project.evaluationDependsOn(':app')
27+
}
28+
29+
tasks.register("clean", Delete) {
30+
delete rootProject.buildDir
31+
}

android/gradle.properties

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
org.gradle.jvmargs=-Xmx1536M
2+
android.useAndroidX=true
3+
android.enableJetifier=true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
zipStoreBase=GRADLE_USER_HOME
4+
zipStorePath=wrapper/dists
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

android/settings.gradle

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
pluginManagement {
2+
def flutterSdkPath = {
3+
def properties = new Properties()
4+
file("local.properties").withInputStream { properties.load(it) }
5+
def flutterSdkPath = properties.getProperty("flutter.sdk")
6+
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7+
return flutterSdkPath
8+
}
9+
settings.ext.flutterSdkPath = flutterSdkPath()
10+
11+
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
12+
13+
plugins {
14+
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
15+
}
16+
}
17+
18+
include ":app"
19+
20+
apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"

assets/images/20 Enemies.png

27.1 KB

assets/images/Background/Blue.png

298 Bytes

assets/images/Background/Brown.png

552 Bytes

assets/images/Background/Green.png

543 Bytes

assets/images/Background/Grey.png

480 Bytes

assets/images/Background/Pink.png

417 Bytes

assets/images/Background/Purple.png

249 Bytes

assets/images/Background/Yellow.png

488 Bytes

assets/images/HUD/joystick.png

1.28 KB

assets/images/HUD/knob.png

455 Bytes

assets/images/Hello.png

26.6 KB
619 Bytes
602 Bytes
399 Bytes
688 Bytes
767 Bytes
351 Bytes
635 Bytes
454 Bytes
406 Bytes
913 Bytes

assets/images/Items/Fruits/Apple.png

1.04 KB
1.17 KB
1.06 KB
577 Bytes

assets/images/Items/Fruits/Kiwi.png

1.22 KB

assets/images/Items/Fruits/Melon.png

1.13 KB

assets/images/Items/Fruits/Orange.png

1.34 KB
1.15 KB
990 Bytes
251 Bytes

assets/images/Menu/Buttons/Back.png

207 Bytes

assets/images/Menu/Buttons/Close.png

219 Bytes
238 Bytes

assets/images/Menu/Buttons/Levels.png

222 Bytes

assets/images/Menu/Buttons/Next.png

211 Bytes

assets/images/Menu/Buttons/Play.png

207 Bytes
211 Bytes
230 Bytes
240 Bytes

assets/images/Menu/Buttons/Volume.png

232 Bytes

assets/images/Menu/Levels/01.png

203 Bytes

assets/images/Menu/Levels/02.png

209 Bytes

assets/images/Menu/Levels/03.png

213 Bytes

assets/images/Menu/Levels/04.png

201 Bytes

assets/images/Menu/Levels/05.png

218 Bytes

assets/images/Menu/Levels/06.png

210 Bytes

assets/images/Menu/Levels/07.png

208 Bytes

assets/images/Menu/Levels/08.png

205 Bytes

assets/images/Menu/Levels/09.png

212 Bytes

assets/images/Menu/Levels/10.png

226 Bytes

assets/images/Menu/Levels/11.png

221 Bytes

assets/images/Menu/Levels/12.png

234 Bytes

assets/images/Menu/Levels/13.png

232 Bytes

assets/images/Menu/Levels/14.png

222 Bytes

assets/images/Menu/Levels/15.png

226 Bytes

assets/images/Menu/Levels/16.png

227 Bytes

assets/images/Menu/Levels/17.png

224 Bytes

assets/images/Menu/Levels/18.png

228 Bytes

assets/images/Menu/Levels/19.png

230 Bytes

assets/images/Menu/Levels/20.png

230 Bytes

assets/images/Menu/Levels/21.png

229 Bytes

assets/images/Menu/Levels/22.png

229 Bytes

assets/images/Menu/Levels/23.png

229 Bytes

assets/images/Menu/Levels/24.png

236 Bytes

assets/images/Menu/Levels/25.png

238 Bytes

assets/images/Menu/Levels/26.png

228 Bytes

assets/images/Menu/Levels/27.png

226 Bytes

assets/images/Menu/Levels/28.png

232 Bytes

assets/images/Menu/Levels/29.png

232 Bytes

assets/images/Menu/Levels/30.png

231 Bytes

assets/images/Menu/Levels/31.png

229 Bytes

assets/images/Menu/Levels/32.png

231 Bytes

assets/images/Menu/Levels/33.png

227 Bytes

assets/images/Menu/Levels/34.png

235 Bytes

assets/images/Menu/Levels/35.png

235 Bytes

assets/images/Menu/Levels/36.png

230 Bytes

assets/images/Menu/Levels/37.png

233 Bytes

assets/images/Menu/Levels/38.png

227 Bytes

assets/images/Menu/Levels/39.png

225 Bytes

assets/images/Menu/Levels/40.png

237 Bytes

assets/images/Menu/Levels/41.png

225 Bytes

assets/images/Menu/Levels/42.png

235 Bytes

assets/images/Menu/Levels/43.png

239 Bytes

assets/images/Menu/Levels/44.png

219 Bytes

assets/images/Menu/Levels/45.png

239 Bytes

assets/images/Menu/Levels/46.png

233 Bytes

assets/images/Menu/Levels/47.png

230 Bytes

assets/images/Menu/Levels/48.png

244 Bytes

assets/images/Menu/Levels/49.png

239 Bytes

assets/images/Menu/Levels/50.png

228 Bytes
829 Bytes
803 Bytes
174 Bytes

assets/images/Other/Dust Particle.png

162 Bytes

assets/images/Other/Shadow.png

99 Bytes

assets/images/Other/Transition.png

352 Bytes
8.59 KB
285 Bytes
772 Bytes
290 Bytes
292 Bytes

assets/images/Traps/Blocks/Idle.png

210 Bytes
296 Bytes
293 Bytes
299 Bytes

assets/images/Traps/Fan/Off.png

263 Bytes

assets/images/Traps/Fan/On (24x8).png

392 Bytes
464 Bytes

assets/images/Traps/Fire/Off.png

326 Bytes
528 Bytes
290 Bytes
542 Bytes
117 Bytes
277 Bytes
509 Bytes
1.04 KB
771 Bytes
154 Bytes
153 Bytes
154 Bytes

assets/images/Traps/Saw/Chain.png

125 Bytes

assets/images/Traps/Saw/Off.png

681 Bytes
2.35 KB
1.59 KB
1.07 KB
187 Bytes
512 Bytes

assets/images/Traps/Spikes/Idle.png

165 Bytes
256 Bytes
624 Bytes

assets/tiles/Level-01.tmx

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="40" height="23" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="47">
3+
<properties>
4+
<property name="BackgroundColor" value="Grey"/>
5+
</properties>
6+
<tileset firstgid="1" source="PixelAdventure.tsx"/>
7+
<layer id="1" name="Background" width="40" height="23">
8+
<properties>
9+
<property name="BackgroundColor" value="Grey"/>
10+
</properties>
11+
<data encoding="csv">
12+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
13+
24,24,135,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,133,24,24,24,
14+
24,24,113,0,0,0,0,0,0,0,0,216,0,0,0,0,0,0,0,0,0,0,0,0,0,216,106,107,129,129,107,129,130,107,129,108,111,24,24,24,
15+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,106,107,108,129,128,130,129,129,130,111,24,24,24,
16+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,129,129,129,150,152,129,129,130,111,24,24,24,
17+
24,24,113,0,0,0,0,0,0,0,0,0,0,192,0,0,0,0,0,0,0,0,0,0,0,0,150,150,151,151,151,151,151,151,151,151,111,24,24,24,
18+
24,24,113,0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,111,24,24,24,
19+
24,24,113,0,0,0,40,41,42,0,0,0,0,214,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
20+
24,24,113,0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
21+
24,24,113,0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0,0,150,151,152,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
22+
24,24,113,0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0,0,0,0,150,151,152,0,0,0,0,0,0,0,0,111,24,24,24,
23+
24,24,113,0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,150,151,152,0,0,0,0,0,0,150,151,152,0,0,0,0,0,0,111,24,24,24,
24+
24,24,113,0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
25+
24,24,113,0,0,0,40,41,42,0,0,0,0,150,151,152,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
26+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
27+
24,24,113,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
28+
24,24,113,7,8,8,8,8,8,8,8,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,8,9,0,0,0,0,0,0,111,24,24,24,
29+
24,24,113,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,31,0,0,0,0,0,0,111,24,24,24,
30+
24,24,113,118,118,118,118,118,118,118,118,120,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,121,118,120,95,95,95,95,95,95,111,24,24,24,
31+
24,24,91,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,89,24,24,24,
32+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
33+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
34+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24
35+
</data>
36+
</layer>
37+
<objectgroup id="2" name="SpawnPoints">
38+
<object id="3" name="Player" type="Player" x="64" y="192" width="33.1084" height="30.9492"/>
39+
<object id="22" name="Bananas" type="Fruit" x="96" y="80" width="32" height="32"/>
40+
<object id="23" name="Cherries" type="Fruit" x="96" y="176" width="32" height="32"/>
41+
<object id="41" name="Cherries" type="Fruit" x="320" y="32" width="32" height="32"/>
42+
<object id="42" name="Cherries" type="Fruit" x="288" y="64" width="32" height="32"/>
43+
<object id="43" name="Cherries" type="Fruit" x="224" y="176" width="32" height="32"/>
44+
<object id="44" name="Bananas" type="Fruit" x="352" y="64" width="32" height="32"/>
45+
<object id="46" name="Kiwi" type="Fruit" x="368" y="208" width="32" height="32"/>
46+
</objectgroup>
47+
<objectgroup id="3" name="Collisions">
48+
<object id="6" x="32" y="16" width="16" height="304"/>
49+
<object id="7" x="48" y="16" width="544" height="16"/>
50+
<object id="8" x="576" y="32" width="16" height="288"/>
51+
<object id="9" x="48" y="288" width="528" height="16"/>
52+
<object id="10" x="48" y="240" width="16" height="16"/>
53+
<object id="11" x="48" y="256" width="144" height="48"/>
54+
<object id="12" x="208" y="208" width="48" height="16"/>
55+
<object id="13" x="288" y="176" width="48" height="16"/>
56+
<object id="14" x="368" y="144" width="48" height="16"/>
57+
<object id="15" x="400" y="160" width="48" height="16"/>
58+
<object id="16" x="432" y="176" width="48" height="16"/>
59+
<object id="17" type="Platform" x="96" y="112" width="48" height="16"/>
60+
<object id="18" type="Platform" x="96" y="208" width="48" height="16"/>
61+
<object id="20" x="432" y="256" width="48" height="48"/>
62+
<object id="21" x="464" y="384"/>
63+
<object id="25" x="208" y="80" width="16" height="128"/>
64+
<object id="26" x="176" y="32" width="16" height="16"/>
65+
<object id="31" x="416" y="32" width="160" height="64"/>
66+
</objectgroup>
67+
</map>

assets/tiles/Level-02.tmx

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="40" height="23" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="2">
3+
<tileset firstgid="1" source="PixelAdventure.tsx"/>
4+
<layer id="1" name="Background" width="40" height="23">
5+
<data encoding="csv">
6+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
7+
24,24,135,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,133,24,24,24,
8+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
9+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
10+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
11+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
12+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
13+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
14+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,8,9,7,8,9,0,0,0,0,0,0,0,111,24,24,24,
15+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,31,30,30,31,0,0,0,0,0,0,0,111,24,24,24,
16+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
17+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
18+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,7,8,9,7,8,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
19+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,31,30,30,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
20+
24,24,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
21+
24,24,113,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,24,24,24,
22+
24,24,113,7,8,8,8,8,8,8,8,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,8,9,0,0,0,0,0,0,111,24,24,24,
23+
24,24,113,29,30,30,30,30,30,30,30,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,31,0,0,0,0,0,0,111,24,24,24,
24+
24,24,113,118,118,118,118,118,118,118,118,120,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,121,118,120,95,95,95,95,95,95,111,24,24,24,
25+
24,24,91,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,89,24,24,24,
26+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
27+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
28+
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24
29+
</data>
30+
</layer>
31+
<objectgroup id="2" name="SpawnPoints">
32+
<object id="1" name="Player" type="Player" x="80.6118" y="224.561" width="30.9492" height="31.6689"/>
33+
</objectgroup>
34+
</map>

0 commit comments

Comments
 (0)