Skip to content

Commit 104de10

Browse files
committed
pxlNav v0.0.27 + OutletEnv Images/Shaders
1 parent 5577484 commit 104de10

File tree

69 files changed

+499
-469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+499
-469
lines changed
Binary file not shown.
Binary file not shown.

docs/js/ProckStackGitio.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ const targetFPS = {
8181
'mobile' : 30
8282
};
8383

84+
// Render Resolution Scale
85+
// Since mobile devices have a lower resolution, up scaling may help
86+
// Default is - PC = 1.0 -&- Mobile = 1.0
87+
const renderScale = {
88+
'pc' : 1.0,
89+
'mobile' : 1.0
90+
}
91+
8492
// Anti-aliasing level
8593
// Options are - NONE, LOW, MEDIUM, HIGH
8694
const antiAliasing = pxlEnums.ANTI_ALIASING.LOW;
@@ -145,6 +153,7 @@ procBlog.showEntry(-1);
145153
let pxlNavOptions = Object.assign({},pxlOptions);
146154
pxlNavOptions.verbose = verbose;
147155
pxlNavOptions.fps = targetFPS;
156+
pxlNavOptions.renderScale = renderScale;
148157
pxlNavOptions.userSettings = userSettings;
149158
pxlNavOptions.antiAliasing = antiAliasing;
150159
pxlNavOptions.collisionScale = collisionScale;

docs/js/pxlNav.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/pxlNavLoader.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ userSettings['height']['stepSize'] = 5; // Max step height in units
5454
userSettings['movement']['scalar'] = 1.0; // Overall movement rate scalar
5555
userSettings['movement']['max'] = 10.0; // Max movement speed
5656
userSettings['movement']['easing'] = 0.55; // Easing rate between Step() calls
57+
userSettings['look']['mobile']['invert'] = true; // Invert the look controls on mobile devices
5758
userSettings['headBounce']['height'] = 0.3; // Bounce magnitude in units
5859
userSettings['headBounce']['rate'] = 0.025; // Bounce rate per Step()
5960
userSettings['headBounce']['easeIn'] = 0.03; // When move key is pressed, the ease into bounce; `bounce * ( boundInf + easeIn )`
@@ -73,6 +74,14 @@ const targetFPS = {
7374
'mobile' : 30
7475
};
7576

77+
// Render Resolution Scale
78+
// Since mobile devices have a lower resolution, up scaling may help
79+
// Default is - PC = 1.0 -&- Mobile = 1.0
80+
const renderScale = {
81+
'pc' : 1.0,
82+
'mobile' : 1.3
83+
}
84+
7685
// Anti-aliasing level
7786
// Options are - NONE, LOW, MEDIUM, HIGH
7887
const antiAliasing = pxlEnums.ANTI_ALIASING.LOW;
@@ -122,6 +131,7 @@ const collisionScale = {
122131
let pxlNavOptions = Object.assign({},pxlOptions);
123132
pxlNavOptions.verbose = verbose;
124133
pxlNavOptions.fps = targetFPS;
134+
pxlNavOptions.renderScale = renderScale;
125135
pxlNavOptions.userSettings = userSettings;
126136
pxlNavOptions.antiAliasing = antiAliasing;
127137
pxlNavOptions.collisionScale = collisionScale;
Loading
Loading

0 commit comments

Comments
 (0)