Basic proc gen with hash noise
This commit is contained in:
@@ -15,6 +15,7 @@ TileType :: enum u8 {
|
||||
NOTHING,
|
||||
SOLID,
|
||||
FOLIAGE,
|
||||
WATER,
|
||||
}
|
||||
|
||||
ResourceType :: enum u8 {
|
||||
@@ -29,9 +30,17 @@ InteractionType :: enum u8 {
|
||||
}
|
||||
|
||||
nothing_tile := Tile {
|
||||
type = .NOTHING,
|
||||
tilemap_pos = {0,0},
|
||||
color = {0,0,0,255},
|
||||
interaction = .NOTHING,
|
||||
resource = .NOTHING
|
||||
}
|
||||
|
||||
grass_tile := Tile {
|
||||
type = .FOLIAGE,
|
||||
tilemap_pos = {1,2},
|
||||
color = {30,30,0,255},
|
||||
tilemap_pos = {5,0},
|
||||
color = {50,120,25,255},
|
||||
interaction = .NOTHING,
|
||||
resource = .NOTHING
|
||||
}
|
||||
@@ -39,7 +48,23 @@ nothing_tile := Tile {
|
||||
tree_tile := Tile {
|
||||
type = .SOLID,
|
||||
tilemap_pos = {0,1},
|
||||
color = {17,87,30,255},
|
||||
color = {10,60,15,255},
|
||||
resource = .TREE,
|
||||
interaction = .RESOURCE,
|
||||
}
|
||||
|
||||
bricks_tile := Tile {
|
||||
type = .SOLID,
|
||||
tilemap_pos = {10,17},
|
||||
color = {140,30,10,255},
|
||||
resource = .NOTHING,
|
||||
interaction = .NOTHING,
|
||||
}
|
||||
|
||||
water_tile := Tile {
|
||||
type = .WATER,
|
||||
tilemap_pos = {19,1},
|
||||
color = {5,40,80,255},
|
||||
resource = .NOTHING,
|
||||
interaction = .NOTHING,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user