From 4eed1423b84f04c1119696400db330edd7b79f19 Mon Sep 17 00:00:00 2001 From: Cort Date: Wed, 23 Aug 2023 17:06:20 +0800 Subject: [PATCH] Improve help message --- public/builder.html | 2 +- public/js/builder.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/builder.html b/public/builder.html index 28af58f..aa8bd5d 100644 --- a/public/builder.html +++ b/public/builder.html @@ -105,7 +105,7 @@ - + diff --git a/public/js/builder.js b/public/js/builder.js index bf0f9f2..321d51b 100644 --- a/public/js/builder.js +++ b/public/js/builder.js @@ -67,7 +67,7 @@ var builder = new function() { min: '0', max: '10', step: '0.1', - help: 'Affects the bounciness of the ground' + help: 'Affects the bounciness of the ground. Higher number will increase bounciness.' }, ] }; @@ -114,7 +114,7 @@ var builder = new function() { min: '0', max: '10', step: '0.1', - help: 'Affects the bounciness of the ground' + help: 'Affects the bounciness of the wall. Higher number will increase bounciness.' }, ] }; @@ -291,7 +291,7 @@ var builder = new function() { option: 'physics_restitution', type: 'custom', generatorFunction: 'setPhysicsOptions', - help: 'Affects the bounciness of the object' + help: 'Affects the bounciness of the object. Higher number will increase bounciness.' }, { option: 'physics_dampLinear', @@ -453,7 +453,7 @@ var builder = new function() { option: 'physics_restitution', type: 'custom', generatorFunction: 'setPhysicsOptions', - help: 'Affects the bounciness of the object' + help: 'Affects the bounciness of the object. Higher number will increase bounciness.' }, { option: 'physics_dampLinear', @@ -615,7 +615,7 @@ var builder = new function() { option: 'physics_restitution', type: 'custom', generatorFunction: 'setPhysicsOptions', - help: 'Affects the bounciness of the object' + help: 'Affects the bounciness of the object. Higher number will increase bounciness.' }, { option: 'physics_dampLinear', @@ -776,7 +776,7 @@ var builder = new function() { option: 'physics_restitution', type: 'custom', generatorFunction: 'setPhysicsOptions', - help: 'Affects the bounciness of the object' + help: 'Affects the bounciness of the object. Higher number will increase bounciness.' }, { option: 'physics_dampLinear',