Skip to content

Commit

Permalink
adjust asset files to account for 1 pixel padding between sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
cdsupina committed Oct 6, 2024
1 parent 5cdf7fc commit 6689af3
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 24 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ thiserror = "1.0"
derive_more = "0.99.17"
bevy_ecs_macros = "0.14.2"
bevy_ecs = "0.14.2"
bevy_asset = "0.14.2"
bevy_reflect = "0.14.2"
bevy_input = "0.14.2"
bevy_state = "0.14.2"
bevy_sprite = "0.14.2"
bevy_text = "0.14.2"
bevy_render = "0.14.2"
bevy_kira_audio = { version = "0.20.0", features = ["mp3", "wav"] }
leafwing-input-manager = { git = "https://github.com/Leafwing-Studios/leafwing-input-manager.git", rev = "d32883661c72b4ff01be71ce65d9e9f2375d5f69" }
ron = "0.8.0"
Expand All @@ -36,7 +32,6 @@ bevy_math = "0.14.2"
argh = "0.1.12"
rand = "0.8.5"
console_error_panic_hook = "0.1.7"
# check if necessary for multiple crates
bevy_asset_loader = { version = "0.21.0", features = [
"2d",
"3d",
Expand Down
22 changes: 11 additions & 11 deletions assets/effect_assets.assets.ron
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
),
"mob_explosion.image": File( path: "texture/mob_explosion_spritesheet.png"),
"consumable_despawn.layout": TextureAtlasLayout (
tile_size_x: 9,
tile_size_y: 9,
columns: 5,
tile_size_x: 11,
tile_size_y: 11,
columns: 6,
rows: 1,
),
"consumable_despawn.image": File( path: "texture/consumable_despawn_spritesheet.png"),
Expand All @@ -49,29 +49,29 @@
),
"barrier_glow.image": File( path: "texture/barrier_glow_spritesheet.png"),
"ally_bullet_despawn.layout": TextureAtlasLayout (
tile_size_x: 9,
tile_size_y: 9,
tile_size_x: 11,
tile_size_y: 11,
columns: 6,
rows: 1,
),
"ally_bullet_despawn.image": File( path: "texture/ally_bullet_despawn_spritesheet.png"),
"enemy_bullet_despawn.layout": TextureAtlasLayout (
tile_size_x: 9,
tile_size_y: 9,
tile_size_x: 11,
tile_size_y: 11,
columns: 6,
rows: 1,
),
"enemy_bullet_despawn.image": File( path: "texture/enemy_bullet_despawn_spritesheet.png"),
"ally_bullet_explosion.layout": TextureAtlasLayout (
tile_size_x: 13,
tile_size_y: 13,
tile_size_x: 15,
tile_size_y: 15,
columns: 6,
rows: 1,
),
"ally_bullet_explosion.image": File( path: "texture/ally_bullet_explosion_spritesheet.png"),
"enemy_bullet_explosion.layout": TextureAtlasLayout (
tile_size_x: 13,
tile_size_y: 13,
tile_size_x: 15,
tile_size_y: 15,
columns: 6,
rows: 1,
),
Expand Down
4 changes: 2 additions & 2 deletions assets/mob_assets.assets.ron
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
path: "texture/crustling_tentacle_3.png"
),
"tutorial_drone.layout": TextureAtlasLayout (
tile_size_x: 20,
tile_size_y: 21,
tile_size_x: 22,
tile_size_y: 23,
columns: 3,
rows: 1,
),
Expand Down
Binary file modified assets/texture/ally_blast_despawn_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/texture/ally_bullet_despawn_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/texture/ally_bullet_explosion_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/texture/consumable_despawn_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/texture/enemy_blast_despawn_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/texture/enemy_bullet_despawn_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/texture/enemy_bullet_explosion_spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions assets/ui_assets.assets.ron
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@
),
"arrow_left.image": File(path: "texture/arrow_left_spritesheet.png"),
"large_menu_button.layout": TextureAtlasLayout (
tile_size_x: 160,
tile_size_y: 77,
tile_size_x: 162,
tile_size_y: 79,
columns: 1,
rows: 2,
),
"large_menu_button.image": File(path: "texture/large_menu_button_spritesheet.png"),
"gamepad_button_a.layout": TextureAtlasLayout (
tile_size_x: 20,
tile_size_y: 25,
tile_size_x: 22,
tile_size_y: 27,
columns: 1,
rows: 2,
),
"gamepad_button_a.image": File(path: "texture/gamepad_button_a.png"),
"keyboard_key_return.layout": TextureAtlasLayout (
tile_size_x: 34,
tile_size_y: 33,
tile_size_x: 36,
tile_size_y: 35,
columns: 1,
rows: 2,
),
Expand Down

0 comments on commit 6689af3

Please sign in to comment.