Skip to content

Commit

Permalink
Physics and room blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
HexyWitch committed Apr 24, 2021
1 parent 3a8c406 commit 24a310c
Show file tree
Hide file tree
Showing 6 changed files with 609 additions and 84 deletions.
Binary file added assets/block.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/player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions assets/rooms/blue.rum
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
###############
#### #
#### #
#### #
# #
# #
# #
# #
# #
# #
# #
###### #
# ### ##
B#
###############
1 change: 1 addition & 0 deletions src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub const TICK_DT: f32 = 1. / 60.;

pub const ZOOM_LEVEL: f32 = 3.;
pub const TILE_SIZE: f32 = 15.;

pub const SCREEN_SIZE: (u32, u32) = (675, 675);
Loading

0 comments on commit 24a310c

Please sign in to comment.