This repository has been archived by the owner on Sep 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Patbox/master
Update stable
- Loading branch information
Showing
25 changed files
with
978 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
 | ||
 | ||
# VoxelSrv | ||
VoxelSrv is a voxel game inspired by Minecraft, where you can build, mine and ~~craft~~ (not implemented yet). | ||
I'm creating it to learn Javascript and just have some fun. | ||
It's still unfinished, maybe someday it will be playable. | ||
It's still unfinished, maybe someday it will be playable. For now it's multiplayer-only, but I plan to add Singleplayer too. | ||
|
||
- [Discord](https://discord.gg/K9PdsDh) | ||
- [Changelog](https://github.com/Patbox/voxelsrv/blob/master/CHANGELOG.md) | ||
|
||
I'm open to any PR or suggestions, as long as they don't make it less playable/break more than needed. | ||
Server files, check this repo: https://github.com/Patbox/voxelsrv-server | ||
|
||
# [Play it here](http://voxelsrv.pb4.eu) | ||
# [Play it here (Stable)](http://voxelsrv.pb4.eu) | ||
## [Or here, for Master/WIP version](http://voxelsrv-master.pb4.eu) | ||
|
||
|
||
# Assets used in this project (graphics/sounds): | ||
- Pixel Perfection Community Edition (https://github.com/Athemis/PixelPerfectionCE) | ||
- Pixel Perfection Community Edition (https://github.com/Athemis/PixelPerfectionCE) | ||
- Json Entity Models by ewanhowell5195 (https://www.curseforge.com/minecraft/texture-packs/template-cem) | ||
- Art of silence by uniq | ||
- Some remixes by bulby |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "VoxelSrv", | ||
"short_name": "VoxelSrv", | ||
"icons": [], | ||
"start_url": "/index.html", | ||
"display": "standalone", | ||
"orientation": "landscape", | ||
"background_color": "#3E4EB8", | ||
"theme_color": "#2F3BA2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
#game_hotbar { | ||
transform: translateX(-50%) scale(0.75); | ||
bottom:-5px !important; | ||
left:50%; | ||
} | ||
|
||
#game_chatbox { | ||
position:absolute; | ||
top:1px; | ||
left:1px; | ||
z-index:0; | ||
font-size:18px; | ||
margin:4px; | ||
max-height:35%; | ||
overflow-y: scroll; | ||
display:flex; | ||
flex-direction: column-reverse; | ||
} | ||
|
||
#game_version { | ||
display: none; | ||
} | ||
|
||
.hotbar_item { | ||
margin: 1px; | ||
} | ||
|
||
#hotbar_invbutton { | ||
z-index: 2; | ||
display: inline-block; | ||
color: white; | ||
background-color: #77000088; | ||
image-rendering: pixelated; | ||
background-size: cover; | ||
background-image: url(./textures/gui/inventorybutton.png); | ||
height: 64px; | ||
width: 32px; | ||
font-size: 20px; | ||
text-align: center; | ||
margin: 2px; | ||
padding: 8px; | ||
} | ||
|
||
#game_inventory_backpack { | ||
max-height: 200px; | ||
transform: scale(0.9); | ||
} | ||
|
||
#game_inventory_hotbar { | ||
transform: scale(0.9); | ||
} | ||
|
||
#game_inventory ::-webkit-scrollbar { | ||
width: 12px; | ||
} | ||
|
||
#game_inventory_exit { | ||
height: 32px; | ||
width: 32px; | ||
color: white; | ||
position: absolute; | ||
top: 5px; | ||
right: 5px; | ||
background-color: #77000088; | ||
image-rendering: pixelated; | ||
background-size: cover; | ||
background-image: url(./textures/gui/inventoryexit.png); | ||
|
||
} | ||
|
||
.inventory_item { | ||
display: inline-block; | ||
} | ||
|
||
#game_mobile_jump { | ||
height: 64px; | ||
width: 64px; | ||
color: white; | ||
position: absolute; | ||
bottom: 10%; | ||
right: 5%; | ||
background-color: #e7e7e788; | ||
image-rendering: pixelated; | ||
background-size: cover; | ||
background-image: url(./textures/gui/inventoryexit.png); | ||
box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.75); | ||
} | ||
|
||
#game_mobile_chat { | ||
height: 32px; | ||
width: 32px; | ||
color: gray; | ||
font-size: 24px; | ||
text-align: center; | ||
position: absolute; | ||
top: 1%; | ||
right: 50%; | ||
transform: translateX(50%); | ||
background-color: #e7e7e788; | ||
image-rendering: pixelated; | ||
background-size: cover; | ||
box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.75); | ||
} | ||
|
||
#game_mobile_controls { | ||
height: 96px; | ||
width: 96px; | ||
position: absolute; | ||
bottom: 10%; | ||
left: 5%; | ||
border-radius: 50%; | ||
background-color: #e7e7e788; | ||
image-rendering: pixelated; | ||
background-size: cover; | ||
box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.75); | ||
} | ||
|
||
#game_mobile_joystick { | ||
height: 64px; | ||
width: 64px; | ||
border-radius: 50%; | ||
background-color: #e7e7e788; | ||
image-rendering: pixelated; | ||
background-size: cover; | ||
box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.75); | ||
transform: translate(16px, 16px); | ||
} | ||
|
||
#game_inventory_backpack { | ||
max-height: 200px; | ||
max-width: 100%; | ||
display: inline-block; | ||
overflow-y: scroll; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.