TileSet loading
@mcgivrer đang làm issue này rồi.
Từ ngày 21/12/2021.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Load a TileSet from the level map file to create corresponding Tile's and mapping.
TileSet = Tiles définition picked from an image
A SAmple TileSet class to understand what the challenge is:
class TileSet {
Map <Code,Tile> tiles
Image pixelsImage
}
In the level file test-level-tileset.lvl:
{
'name':'test-level-tileset',
'tileSets': [
{ 'id':'t01',
'name':'myTileSet',
'pixelsImage':'images/tiles/tiles01.png',
'tiles':[
{'code':'b','pos':(0,32),'size':(16,16),attributes:{'block':true}},
{'code':'o','pos':(32,32),'size':(16,16),attributes:{'collectible':true,'money':5}},
{'code':'n','pos':(64,0),'size':(16,16),attributes:{'collectible':true,'energy':20}}
]
}]
}
The Use Case is:
Feature: Loading a Level
The `LevelLoader` service is dedicated to load objects from a level file and initialize all corresponding entities.
Scenario: 01- loading a TileSet
Given the LevelLoader is instanciated
And the level file "test-level-tileset.lvl" is loaded
Then a level named 'test-level-tileset' is defined
And a TileSet with 3 Tiles is created
And the Tile with code 'b' has a 'block' attribute
And the Tile with code 'o' has a 'collectible' attribute
And the Tile with code 'n' has a 'collectible' attribute
- Ngôn ngữ chính
- Java
- Star
- 1
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mcgivrer/fromClassToGame
-
TileLayer loadingCó thể làm lại được @mcgivrer đã nhận 1665 ngày trước và không có pull request nào đang mở. Đang mởdocumentation enhancement
mcgivrer/fromClassToGame#152 · 1 người được giao ·
-
Animation LoadingCó thể làm lại được @mcgivrer đã nhận 1776 ngày trước và không có pull request nào đang mở. Đang mở
mcgivrer/fromClassToGame#133 · 1 người được giao ·
-
Entity LoadingCó thể làm lại được @mcgivrer đã nhận 1776 ngày trước và không có pull request nào đang mở. Đang mởdocumentation enhancement
mcgivrer/fromClassToGame#132 · 1 người được giao ·
-
TilemapCó thể làm lại được @mcgivrer đã nhận 1776 ngày trước và không có pull request nào đang mở. Đang mởEpic
mcgivrer/fromClassToGame#130 · 1 người được giao ·
-
Behavior on ChildCó thể làm lại được @mcgivrer đã nhận 1781 ngày trước và không có pull request nào đang mở. Đang mởdocumentation enhancement good first issue
mcgivrer/fromClassToGame#126 · 1 người được giao ·
Tất cả issue của mcgivrer/fromClassToGame
Issue tương tự
-
BindingServiceProperties.bindings regressed to a non-thread-safe TreeMap in GH-3158: concurrent first use of binding names corrupts itCó thể đã có người làm @AkashB23 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
spring-cloud/spring-cloud-stream#3321 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Có thể đã có người làm @fishdry1000 đã nhận 4 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-driven-fuzzing bug claude Minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
linagora/twake-calendar-side-service#1333 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
AtlasOfLivingAustralia/species-lists#882 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ballerina-platform/ballerina-library#9458 ·
Maintainer thường phản hồi trong vòng 1 ngày