-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a new original Super Mario Bros UI demo
- Loading branch information
1 parent
d7ac621
commit 1369faa
Showing
72 changed files
with
137 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
package="co.aspirasoft.android.demo"> | ||
package="dev.aspirasoft.apis.tiled.demo"> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme" tools:ignore="GoogleAppIndexingWarning"> | ||
android:theme="@style/AppTheme" | ||
tools:ignore="GoogleAppIndexingWarning"> | ||
|
||
<activity android:name=".TileMapActivity"> | ||
<activity android:name=".MarioDemo"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
|
||
</application> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a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uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|vv|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|ww|xx|a|a|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|a|a|a|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|a|a|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu|uu| |
34 changes: 0 additions & 34 deletions
34
demo/src/main/java/co/aspirasoft/android/demo/TileMapActivity.kt
This file was deleted.
Oops, something went wrong.
110 changes: 110 additions & 0 deletions
110
demo/src/main/java/dev/aspirasoft/apis/tiled/demo/MarioDemo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
package dev.aspirasoft.apis.tiled.demo | ||
|
||
import android.os.Bundle | ||
import androidx.appcompat.app.AppCompatActivity | ||
import dev.aspirasoft.apis.tiled.TiledView | ||
import java.io.BufferedReader | ||
import java.io.InputStreamReader | ||
|
||
class MarioDemo : AppCompatActivity() { | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
setContentView(R.layout.activity_demo) | ||
|
||
var reader: BufferedReader? = null | ||
try { | ||
reader = BufferedReader(InputStreamReader(assets.open("mario.txt"), "UTF-8")); | ||
|
||
// do reading, usually loop until end of file reading | ||
var map = "" | ||
var line = reader.readLine() | ||
while (line != null) { | ||
map += line + "\n" | ||
line = reader.readLine() | ||
} | ||
|
||
val mapData = arrayOf(map) | ||
arrayOf(R.id.tiledView).withIndex().forEach { (index, id) -> | ||
val tiledView = findViewById<TiledView>(id) | ||
createLookupMap().forEach { (id, image) -> tiledView.addImage(id, image) } | ||
tiledView.post { | ||
tiledView.setData(mapData[index]) | ||
} | ||
tiledView.setOnTileClicked { c: Int, r: Int -> | ||
val char = tiledView[c, r] | ||
val fruits = listOf("e", "n", "o") | ||
if (char in fruits) { | ||
tiledView[c, r] = "" | ||
} | ||
} | ||
} | ||
} catch (ex: Exception) { | ||
//log the exception | ||
} finally { | ||
if (reader != null) { | ||
try { | ||
reader.close(); | ||
} catch (ex: Exception) { | ||
//log the exception | ||
} | ||
} | ||
} | ||
} | ||
|
||
private fun createLookupMap(): HashMap<String, Int> { | ||
val map = HashMap<String, Int>() | ||
map["a"] = R.drawable.t_mario_a | ||
map["b"] = R.drawable.t_mario_b | ||
map["c"] = R.drawable.t_mario_c | ||
map["d"] = R.drawable.t_mario_d | ||
map["e"] = R.drawable.t_mario_e | ||
map["f"] = R.drawable.t_mario_f | ||
map["g"] = R.drawable.t_mario_g | ||
map["h"] = R.drawable.t_mario_h | ||
map["i"] = R.drawable.t_mario_i | ||
map["j"] = R.drawable.t_mario_j | ||
map["k"] = R.drawable.t_mario_k | ||
map["l"] = R.drawable.t_mario_l | ||
map["m"] = R.drawable.t_mario_m | ||
map["n"] = R.drawable.t_mario_n | ||
map["o"] = R.drawable.t_mario_o | ||
map["p"] = R.drawable.t_mario_p | ||
map["q"] = R.drawable.t_mario_q | ||
map["r"] = R.drawable.t_mario_r | ||
map["s"] = R.drawable.t_mario_s | ||
map["t"] = R.drawable.t_mario_t | ||
map["u"] = R.drawable.t_mario_u | ||
map["v"] = R.drawable.t_mario_v | ||
map["w"] = R.drawable.t_mario_w | ||
map["x"] = R.drawable.t_mario_x | ||
map["y"] = R.drawable.t_mario_y | ||
map["z"] = R.drawable.t_mario_z | ||
map["aa"] = R.drawable.t_mario_aa | ||
map["bb"] = R.drawable.t_mario_bb | ||
map["cc"] = R.drawable.t_mario_cc | ||
map["dd"] = R.drawable.t_mario_dd | ||
map["ee"] = R.drawable.t_mario_ee | ||
map["ff"] = R.drawable.t_mario_ff | ||
map["gg"] = R.drawable.t_mario_gg | ||
map["hh"] = R.drawable.t_mario_hh | ||
map["ii"] = R.drawable.t_mario_ii | ||
map["jj"] = R.drawable.t_mario_jj | ||
map["kk"] = R.drawable.t_mario_kk | ||
map["ll"] = R.drawable.t_mario_ll | ||
map["mm"] = R.drawable.t_mario_mm | ||
map["nn"] = R.drawable.t_mario_nn | ||
map["oo"] = R.drawable.t_mario_oo | ||
map["pp"] = R.drawable.t_mario_pp | ||
map["qq"] = R.drawable.t_mario_qq | ||
map["rr"] = R.drawable.t_mario_rr | ||
map["ss"] = R.drawable.t_mario_ss | ||
map["tt"] = R.drawable.t_mario_tt | ||
map["uu"] = R.drawable.t_mario_uu | ||
map["vv"] = R.drawable.t_mario_vv | ||
map["ww"] = R.drawable.t_mario_ww | ||
map["xx"] = R.drawable.t_mario_xx | ||
return map | ||
} | ||
|
||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<dev.aspirasoft.apis.tiled.TiledView | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:custom="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/tiledView" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
custom:orientation="horizontal" | ||
custom:allowManualScroll="true"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
<resources> | ||
<string name="app_name">Demo</string> | ||
<string name="demo_map"> | ||
.i.............................................................................................\n | ||
.m........n.o.e.e.o.n..................o....o........n..e..n..o..o..n..e..e....................\n | ||
.....lgg......................o.ggg.e..n....n..................................................\n | ||
.....l.....p..........s.......g.....g..e....e.......n..o..e..n..n..............................\n | ||
.....loo...g..tttt....t.......n.ggg.n..............................e.e.e.e.....................\n | ||
.....gggg...eetee....tt.......g.....g.tttttttt....................ggggggggg....................\n | ||
.............ete....ttt.......e.ggg.o.t......t...................gwn.n.n.nw....................\n | ||
gggggg..ggggggtooo.tttt.......g.....g.t......t.....ggggggggggggggw..o.o.o.w.............AB.....\n | ||
..nn......nn..ttttttttt...............t...................................w.....fffff...CD.....\n | ||
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg | ||
</string> | ||
<string name="app_name">Tiled API (Demo)</string> | ||
</resources> |