generated from PrismarineJS/prismarine-template
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pick all new changes #353
Closed
+19,378
−2,136
Closed
Pick all new changes #353
Changes from 1 commit
Commits
Show all changes
334 commits
Select commit
Hold shift + click to select a range
8d3d5ca
[pnpm] enable shell-emulator for new contributors on windows
zardoy 2a0533c
simple fov change on sprint (so sprint can be indicated)
zardoy aeeb012
refactor modal stacks so they are:
zardoy edf1def
feat: display leave confirmation when playing (prevent accidental ctr…
zardoy bb26208
inventories are almost here wip:
zardoy 7b08d17
rm log
zardoy bc474cc
Merge remote-tracking branch 'origin/main' into inventory
zardoy 42a11dd
add ci.yml
zardoy 714bf3d
make render distance updatable, refactor controls spend some time on …
zardoy e519e69
make new ci.yml run on pulls
zardoy 2e3f30a
replace legacy lib, comment
zardoy 50b5c76
flying check for spectator
zardoy 37a3a7b
play -> connect to server
zardoy 860ed43
fix opening chat
zardoy 8a563ae
[experimental] allow to override num of workers
zardoy 0285401
feat: preserve chat history in sessionstorage
zardoy 8e385c6
support player saving data :rocket:
zardoy 3c8200a
support world saving :rocket:
zardoy d58867b
refactor: move browserfs to its own file
zardoy b405289
temporary fix for block model in inventory gui
zardoy b1b03f0
add support for icons in button
zardoy 7eb2d54
feat(big!): implement folder save loading with write access
zardoy 2ea2f53
add ci.yml
zardoy 6deb405
Merge branch 'main' into inventory
zardoy 359930d
build should be fixed (disable inventory for now)
zardoy 6f6f089
Remove linked dep
zardoy 1d895a3
wip testing cypress
zardoy e5f1810
install false
zardoy ff52875
Offline saving + world folder read / write! (#8)
zardoy 947f76a
Merge branch 'main' into cypress
zardoy c36f52c
update ci for cypress
zardoy dcb6011
try fo fix page actually
zardoy 8363c12
[skip ci] up ci.yml
zardoy cce07c9
move building to esbuild
zardoy cc8675f
format manifest: specify orientation
zardoy 96d42d6
expose nbt to window to allow parse of custom data
zardoy 9f00b52
workaround offline world player saving data
zardoy ba04bc8
skip subsequent package patches
zardoy 49ff10a
Green cypress (fix build) (#9)
zardoy 0c1b404
ci: publish correct folder
zardoy 3bce2bc
test ci: sync publish with ci steps
zardoy 02f9eaa
ci: do not generate too large sourcemaps on prod
zardoy ccc729b
move localServerOptions into options namespace
zardoy 7f4f69c
fix dev esbuild config
zardoy a8c2af0
test error fix
zardoy b12783f
feat: first class camera touch support! tested on ios, currently no k…
zardoy 82f611f
variable renames
zardoy 6bdecc0
fix debug config, align generated sw with webpack, cleanup optionsSto…
zardoy 699688d
improve esbuild config: report reload time into console!
zardoy fd5462f
displaly save & quit on folder load
zardoy f4ccf5b
important: fix build for safari (transpile to es2020)
zardoy ed3dadd
fix build errors in console (dont affect runtime much)
zardoy ab2d721
fix reload text
zardoy 3797122
experimental dragndrop save world handle
zardoy 8504fa5
small logging of bundled json size :/
zardoy 8fcfcf1
fix: do not mutate localServerOptions
zardoy 2a9ae33
fix chat on mobile
zardoy ae8a2af
feat: world loading on ios (support zip files)!
zardoy c7a38a7
implement /save and /export commands to export singleplayer worlds!
zardoy 3551bed
first inventory work on servers (left click support for now)
zardoy 3c6af46
add a way to reset world when loading errored or disconnected
zardoy b9c7f1f
use custom mc loader to drop a few mb of bundle & allow to specify al…
zardoy 6fcdaed
copy only entity textures, inline others! it reduces copy time and de…
zardoy a4a6de6
almost fix annoying key controls issue
zardoy 039295b
fix annoying keyboard conflicts (ctrl+s, l)
zardoy 6adf25e
singleplayer saves: fix loading player data from level.dat (todo: not…
zardoy 1f8c593
make process of world loading less annoying, more configurable
zardoy 6aefd64
fix ui zoom on ctrl+w + wheel scroll
zardoy ae45bc5
change back for some settings
zardoy 31ca9db
inventory support with sprites (only multiplayer fully supported for …
zardoy 5f8d8b6
feat(setting): auto exit fullscreen on esc
zardoy 077c20a
test vercel preview deploys on ci
zardoy be01da9
fix critical gameLoaded bug
zardoy 6d1a891
fix all known annoying mis-keyboard reaction! fix annoying slow creat…
zardoy 8a948d1
oops fix prevuilt target
zardoy 9b71088
vercel: get correct env
zardoy 670c560
fix dragndrop files in firefox and / action
zardoy 9976b9a
download minecraft-data on demand
zardoy 190c511
allow to load worlf from ?map= qs url
zardoy 9787f79
refactor to utils for fixes
zardoy f92c1f7
add eruda
zardoy b9f621d
cleanup preparedata
zardoy fc9fc8b
try to fix with css loading with webpack + new space-squid esbuild re…
zardoy 47f86ca
fix inventory & hotbar crash on unknown itme
zardoy f897a6e
add firefox attach config that I don't use
zardoy 0c1607b
add singleplayer explainer a few load steps
zardoy e51e7c2
do not bundle large assets package, cleanup esbuildPlugins
zardoy 6faa3c6
speed preparedata
zardoy 734ecdf
fix always showing mobile inventory button
zardoy 54d6598
refactor controls to use contro-max!
zardoy 7005634
fix sw error, cache mc-data
zardoy 7622a15
controls: use ctrl only as activation to match original game behavior
zardoy e66862d
dispose world on exit (that should finally allow clean exit)
zardoy 342a2f0
singlePlayerServer -> localServer (intention: will allow other player…
zardoy ce566b0
upstream fork changes
zardoy bebd65e
display sync error as well!
zardoy 70681fa
change default singleplayer version to 1.8.8 as it supports more feat…
zardoy c4ae650
add visual sneaking + touch support
zardoy 4cf323c
add force reload chunks (F3+A)
zardoy e04fef0
enable eruda only on mobile
zardoy c9b2b1c
loadFolder -> loadSave
zardoy aeca97d
build prismarine-viewer locally which should increase install speed
zardoy 2d8d522
add a way to disable prompts on load
zardoy f856bc5
add a way to always init eruda
zardoy 0dca522
fix autoversion (download data on demand)
zardoy bfd8279
fix regression (hopefully have tests)
zardoy dfa45a5
not sure how but try to disable automatic deploys on vercel
zardoy 78d4b62
rn workflow, fixes
zardoy bc51c9f
disable silent
zardoy 29b47fb
try to increaese snapshot timeout
zardoy 6f2c030
better download ui & fix qs conflict
zardoy 5044e4e
dont test before publish
zardoy 033eeef
next release preparing (#10)
zardoy 767ca3f
Want to release asap. New inventory! (#12)
zardoy f589032
fix: excellent in-game gamepad support
zardoy c41c010
forcefully disconnect from server
zardoy 83627a5
small cleanup, don't specify default version
zardoy ffaa523
propose to remove world only for on-device saves
zardoy 33ddfa1
fix modal restore on title screen
zardoy e2670a5
refactor: migrate new code to typescript!
zardoy 6e8e3ca
correctly display cursor mesh using collision data
zardoy b8b8f7b
upstream server changes
zardoy 3decbe3
up anvil for singleplayer compatibility
zardoy 2895a1f
fix too fast block placing
zardoy 898648d
fix: display non-breakable blocks
zardoy 3008be0
select hotbar on touch
zardoy bd98795
temp fixes for ios scaling & chat issues
zardoy 0929e60
select block on middle mouse
zardoy 16c42de
grass issues in inventory
zardoy c3a189d
fix build
zardoy 659b089
more require to import
zardoy 7bd9a5c
download map improvements
zardoy f2677ee
improve downloading progress reporting
zardoy e99faef
add blockInteractionShape, make cursor singleton
zardoy d414996
always display target, meaningful error on proxy unavailable
zardoy ddd763c
important keyboard & usability fixes (#13)
zardoy 2bceab9
adjust seo a bit
zardoy af288d3
feat: always include source-map on prod
zardoy e18722c
A lot of cool features! (#14)
zardoy 5e6cd63
restore filesize
zardoy 8adee6a
improve eruda check & sw index.html
zardoy e6354f6
[skip ci] upstream changes
zardoy 8a093b2
initial resource pack support (blocks only)! support custom size
zardoy 9947c13
support panorama from resourcepack
zardoy 1f14154
add blocks generate script for resourcepack
zardoy 6074e18
specify default interaction box
zardoy f475364
should fix build
zardoy 7edddf8
add experimental release posting
zardoy 38e0c08
use 1.14.4 (post-flatenning) as default for stable state rendering
zardoy 4b01819
feat: always include source-map on prod (#16)
zardoy 348aa26
Hot features & fixes (#17)
zardoy 111c97c
ci: pass GITHUB_TOKEN
zardoy 06ea7dd
ci: pass default GITHUB_TOKEN
zardoy c6b78c3
add contributing, speed start, cleanup esbuild
zardoy 214ec56
fix cypress schema
zardoy b7c6a8f
all most missing integration cypress tests
zardoy f33db2c
remove using non custom communication variant
zardoy 3a71f43
initial p2p multiplayer support powered by peerJS
zardoy e95b776
improve new tests
zardoy 2c64bca
Merge remote-tracking branch 'origin/main' into next
zardoy 9b0828b
ci: remove prepublish scripts
zardoy 4f33758
temp fix for connect
zardoy 155d994
Merge remote-tracking branch 'origin/main' into next
zardoy 2a85497
ci: draft a release
zardoy d8feab7
restore old working preview pipeline
zardoy d5f4853
allow to specify guest name
zardoy a6da82e
ci: oops, use specified version actually
zardoy 9cd3b95
restore default versin select for default host
zardoy 3b97408
implement qr display
zardoy e1020d5
deploy also to vercel prod
zardoy df41129
should fix ci
zardoy 95a5598
fix bot version select
zardoy f2fff9f
ci: trigger fresh build to pull new secrets
zardoy 60ea5b9
fix silly parens mistake
zardoy ecab69f
ci: specify build commands?
zardoy b720d45
ci: update vercel pipelines
zardoy d9988c3
dont create world folder
zardoy badf004
feat: peerjs (p2p) wan multiplayer! (#18)
zardoy 3176893
skip join to server test for now
zardoy 962b689
fix: ask for guest username
zardoy 57cb655
new cypress tests & impoertant fixes (#19)
zardoy 44515c9
feat: texturepack install via qs
zardoy 1afdf5b
a few fixes (#20)
zardoy 47ccc70
Merge remote-tracking branch 'upstream/master' into main-2
zardoy 1d94117
manual build fixes
zardoy 17a6048
add assets dep
zardoy 202bd02
dont fail vercel on gh pages preview
zardoy 81e6e56
ci should be fixed now
zardoy af6d749
refactor last status display
zardoy a7fb8c6
refactor resourcepack state
zardoy 9a83884
always define viewer
zardoy 65840cf
move resourcepack to state
zardoy ec2e917
fix: regression: sloppy camera movement
zardoy f1917a5
fix: regression chat input is now visible
zardoy 6dd9a95
fix: always apply render distance (regression)
zardoy 4cff9f5
refactor: migrate to new options backend
zardoy 52d2ea7
add a way to go back in ui with gamepad & notification impr
zardoy d210aca
fix annoying audiocontext start on page load, remove unused playSound…
zardoy 2905567
fix chat translate
zardoy 43342a7
fix join link buttons positioning
zardoy fb27c56
[doubt] use macrotasks for processing local server data
zardoy 369a4ae
fix: buttons in menu now clickable on mobile (regression)
zardoy 145ae51
feat: Chat commands completions! tab complete + auto complete for sin…
zardoy 39c7fb3
simplify height set
zardoy f8ed865
confirm before reinstalling resourcepack
zardoy eed9736
make completions partially work somehow on latest versions
zardoy cc48883
adopt mc protocol: add custom client here
zardoy 38d1a58
add lodash dep
zardoy 09a9550
feat: display custom client-side commands in completions
zardoy 62f3f72
rm unused mobile controls
zardoy dad3b6d
up esbuild
zardoy 2896971
server: allow to specify port on start
zardoy 611f07b
sync build.js from main-ligth
zardoy 37d1ca0
prerender -> generateTextures
zardoy c5cffc1
drop dist/textures folder 76mb -> 3mb
zardoy 0f11227
feat: correctly show all interaction & break shapes on some blocks li…
zardoy 47b895d
fix: fix hotbar interactions on mobile
zardoy e4265e2
always show errors on tcp disconnect!
zardoy 34dcd5c
up prototol
zardoy ae18411
button click: restore using web audio to ensure it doesn't affect mus…
zardoy e7c2b98
fix server default port
zardoy fd8445d
fix: regression: placing blocks on mobile now always works
zardoy c728d79
autocmplete fixes: dont auto-trigger in non-commands, fix manual tab …
zardoy 2f35f00
cleanup cypress tests! they now run as fast as possible
zardoy 25d858e
add typecheck to ci, always prepare data
zardoy 9dc6a43
preview workflow should be fixed
zardoy ffa2c08
fix eruda clicks
zardoy b360187
feat: add a way to change size of touch buttons
zardoy f5c07e0
remove webpack & unused deps
zardoy b38ec08
cleanup unused code
zardoy 38e2621
add massive eslint config and big number of fixes for it! thx to ext
zardoy f8ae3e1
enforce style that was used in repo! indent back to 2
zardoy a99a8ff
resolve pr todo comments
zardoy 18e5022
fix(important): fix connect to servers by domain
zardoy fa564bf
include deployment url to release
zardoy 7a77b2d
dont crash on mousedown
zardoy 9dde8f0
small comments cleanup
zardoy 9d9e774
also lint js, improve style rules
zardoy 7f67f8b
fix: dont activate fly mode when double pressed space not that fast
zardoy 3be311d
fix: always allow to activate block eg lever
zardoy 4910354
fix: blocks should be placed until left click is released (regression)
zardoy 6f56bab
refactor stats to display gpu / cpu stats
zardoy f081d16
fix eslint in more js files
zardoy bcb10e3
use excludeCommunicationDebugEvents for local server
zardoy 443d89b
fix: include local commands only in singleplayer
zardoy 5bdf626
fix most annoying ts-js issue here I guess
zardoy f60e363
manual build fixes
zardoy 295253c
remove my links
zardoy 0633d8d
run preview on every pr commit
zardoy 9bb29a3
preview: simplify checkout
zardoy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: regression: sloppy camera movement
commit ec2e9171ad9b6bf1cffb95b83b0f469e9f0acea4
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this fn can be inlined