Skip to content

Commit

Permalink
image fix
Browse files Browse the repository at this point in the history
  • Loading branch information
temidaradev committed Dec 12, 2024
1 parent e414a00 commit 6ff3816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/README_tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bu embed ifadesini içe aktarma kısmından sonra ekleyin. Artık esset'i asset

Önemli olan bir klasör oluşturmak ve her bir tile öğesini (.png) şu şekilde koymaktır

<img src="resources/image.png" height="400">
<img src="./resources/image.png" height="400">

ve sonra bu işlevi şu şekilde kolayca kullanabilirsiniz: `var Tile = esset.GetMultipleAssets(assets, "path/to/your/*.png")` 1'den fazla resim seçtiğiniz için `*ebiten.Image`'imiz şu şekilde dizine göre seçebileceğiniz bir slice'dır: `TileComponent := asset.Tile[0]` veya bu klasörden rastgele bir varlık almanız gerekiyorsa şu şekilde yapabilirsiniz: `TileRandom := asset.Tile[rand.Intn(len(assets.Tile))]`

Expand Down

0 comments on commit 6ff3816

Please sign in to comment.