James Pollack
7efd15c3a2
Update doll to stop screaming when released, use only one hand a a time, spatialize audio position
2015-09-23 18:01:18 -07:00
James Pollack
37ecd18054
put distant grab inside of conditional
2015-09-23 17:44:28 -07:00
James Pollack
82f178a353
tweaks
2015-09-23 17:43:08 -07:00
ericrius1
81c175eabf
toggle light switch
2015-09-23 17:34:37 -07:00
ericrius1
153a30de0d
flip
2015-09-23 17:24:56 -07:00
James Pollack
381a24951e
Update grab script to handle touching, better naming for non colliding grab functions
2015-09-23 16:56:46 -07:00
ericrius1
d0b5d62bb7
Updated master script to make jslint happy
2015-09-23 16:21:36 -07:00
ericrius1
a1dccc2a92
Changed cat position
2015-09-23 16:13:31 -07:00
Thijs Wenker
6bb873d327
createFlashlight.js - Close script after running
...
Close the createFlashlight.js script after running once to prevent a flashlight from being created each time you start Interface
2015-09-24 00:43:50 +02:00
ericrius1
276b0b71cb
Added tin can to master script and changed its position
2015-09-23 14:52:59 -07:00
ericrius1
a2b0e66e13
Sound working for spraypaint
2015-09-23 13:36:00 -07:00
ericrius1
2c20a12f13
refactoring spraypaint to use new events
2015-09-23 13:34:21 -07:00
James Pollack
ba44390f79
Rename touch to grab non colliding
2015-09-23 13:20:21 -07:00
James Pollack
9736dee2d7
Merge branch 'grabAPI' of https://github.com/ericrius1/hifi into ericrius1-grabAPI
2015-09-23 13:12:45 -07:00
James Pollack
6b468ee87b
Add the doll
2015-09-23 13:10:25 -07:00
ericrius1
b0923acc2f
Reorg for pathing
2015-09-23 12:34:10 -07:00
ericrius1
6bd89f9689
Toys re-org
2015-09-23 12:22:18 -07:00
ericrius1
4f96f2406b
Merge branch 'master' into toybox
2015-09-23 12:14:23 -07:00
ericrius1
c7cb77a6ab
moved spraycan into toybox folder, and added spraypaint sound
2015-09-23 12:08:28 -07:00
ericrius1
9818e2549c
handControllerscript is now on par with master
2015-09-23 11:38:30 -07:00
ericrius1
cc69f51882
Cat meows when hand is close
2015-09-23 11:30:14 -07:00
ericrius1
a7facc9f3c
Adding a mew sound to cat when user moves hand close
2015-09-23 11:10:27 -07:00
ericrius1
8feabdb518
adding cat, modified dice positions
2015-09-23 10:54:56 -07:00
ericrius1
573cdc5271
Added another light switch- the garage light switch controls the three lights closest to it, and hallway light controls the two near hall
2015-09-23 10:07:59 -07:00
David Rowe
eb01ba9812
Merge branch 'master' into 20681
2015-09-23 09:42:56 -07:00
ericrius1
9d9de61afa
updated die starting positions
2015-09-23 09:36:30 -07:00
ericrius1
cf701095c4
updated light switch sound volume to be 50% of what it was
2015-09-23 09:33:02 -07:00
Brad Hefta-Gaub
8d8035a418
Merge branch 'master' of https://github.com/highfidelity/hifi into fixWarning
...
Conflicts:
libraries/render-utils/src/Model.cpp
libraries/render-utils/src/Model.h
2015-09-22 20:54:25 -07:00
Brad Hefta-Gaub
3fe4de4511
Merge pull request #5751 from imgntn/bubblewand_hotfix_2
...
Bubble Wand
2015-09-22 20:35:58 -07:00
James Pollack
fa1d5be310
Reduce volume, JSLint, Coding standards
2015-09-22 18:20:23 -07:00
James Pollack
3e3d7a8bfa
JS Linting and Coding Standards
2015-09-22 18:12:51 -07:00
Brad Hefta-Gaub
efda121619
fix a bunch of warnings on windows
2015-09-22 16:40:17 -07:00
ericrius1
99dc5a5127
updated doll's sound when picked up
2015-09-22 15:55:35 -07:00
ericrius1
f2afd66615
v2?
2015-09-22 15:50:46 -07:00
ericrius1
ad0c0d3b2b
no v1 to avoid caching
2015-09-22 15:50:06 -07:00
ericrius1
55f76a4296
Added more sconce lights to lightSwitch.js
2015-09-22 15:45:18 -07:00
Brad Hefta-Gaub
5bcce50b98
Merge pull request #5846 from bob-long/master
...
Display the face blend coefficients and update the value in real time.
2015-09-22 14:56:56 -07:00
James Pollack
1e09c2501c
This updates the flashlight to have sounds when it turns on and off
2015-09-22 14:21:14 -07:00
ericrius1
5546a04f4d
Added flashlight to master script
2015-09-22 13:48:10 -07:00
ericrius1
135b34d82a
Merge branch 'master' into toybox
2015-09-22 13:32:08 -07:00
ericrius1
42a2125336
Only asking for needed props
2015-09-22 13:29:54 -07:00
ericrius1
a28cf5ce8b
updated grab script
2015-09-22 13:29:16 -07:00
ericrius1
a0bf7b6529
doll animation fixes
2015-09-22 13:20:17 -07:00
ericrius1
6298dcb2fc
attempt fix for doll animation
2015-09-22 13:03:44 -07:00
Eric Levin
00e0523872
Merge pull request #5851 from imgntn/flashlight_updates_1
...
Flashlight updates
2015-09-22 13:01:26 -07:00
ericrius1
d273852bf9
New wand script
2015-09-22 12:56:01 -07:00
James Pollack
561b4ca8e1
Remove update loop refs, remove unload method
2015-09-22 12:52:24 -07:00
ericrius1
a266e8d65a
updated reset script to use new wand script
2015-09-22 12:49:45 -07:00
James Pollack
e5c42c76a2
Remove update loop refs
2015-09-22 12:41:00 -07:00
ericrius1
2557b32e1a
Updated switch model to be fbx
2015-09-22 12:40:09 -07:00
James Pollack
0ad238a508
Enlarge flashlight
2015-09-22 12:39:48 -07:00
ericrius1
b704ebd934
modified dice starting position
2015-09-22 09:55:24 -07:00
ericrius1
98faf3d712
Added light switch sound
2015-09-22 09:53:22 -07:00
ericrius1
b9db495ebf
Modified handControllerGrab script to trigger entity touch events for non-physical entities
2015-09-22 09:38:06 -07:00
ericrius1
703545bac3
Modified lightSwitch entity to use new incoming grab API
2015-09-22 09:34:54 -07:00
ericrius1
e984afa1dd
Merge branch 'master' into toybox
2015-09-22 08:56:39 -07:00
ericrius1
68bee8228b
abstracted toggle logic to work with mouse click as well
2015-09-22 08:53:46 -07:00
Thijs Wenker
4d26eb5258
- added some comments
...
- replaced repetitious code with loop
- fixed the audioListenerModeChanged signal (forgot connect call)
2015-09-22 16:20:58 +02:00
Thijs Wenker
dfb9034b4e
- delete new AudioListenerMode menu on script ending
...
- style fix (function naming)
2015-09-22 15:45:57 +02:00
Thijs Wenker
81932fe1d7
- added MyAvatar.audioListenerModeChanged signal , for registering changes.
...
- updated the developerMenuItems.js script to include AudioListenerMode menu options under Developer > Audio
2015-09-22 15:38:53 +02:00
BOB LONG
a23a90bf5f
Code simplification
...
Simplify the code a bit as suggested:
1) Use unsigned int instead of signed int, so we can avoid checking the
negative case
2) Merge two lines into a single line so we can inline the
implementation
Correct the js sample file header.
testing done:
- Build locally
- Pass -1 as index from js and the code still can correctly handle the
input.
2015-09-21 19:11:13 -07:00
James B. Pollack
bf22d5a942
dont delete wand at cleanup from createWand.js
2015-09-21 17:43:05 -07:00
James B. Pollack
f8d743aff0
Update to use new grab methods, only specifically request properties that we are actually using
2015-09-21 17:38:49 -07:00
James B. Pollack
92152b250a
Merge remote-tracking branch 'highfidelity/master' into bubblewand_hotfix_2
2015-09-21 17:37:23 -07:00
James B. Pollack
81358b7f14
wand changes
2015-09-21 17:01:31 -07:00
Brad Hefta-Gaub
ea141aae92
Merge pull request #5865 from jherico/bart
...
Instancing work, second pass
2015-09-21 16:51:08 -07:00
James B. Pollack
2cb875e40d
Merge remote-tracking branch 'highfidelity/master' into bubblewand_hotfix_2
2015-09-21 16:45:37 -07:00
James B. Pollack
cd6ad306ac
start transitioning to new grab methods
2015-09-21 16:45:23 -07:00
ericrius1
a4e5f707cc
Toggling lights
2015-09-21 16:35:30 -07:00
James B. Pollack
d79c1bec95
remove query string
2015-09-21 16:13:24 -07:00
James B. Pollack
fd67a2b86f
Add on/off by pressure; add point bulb to end of flashlight
2015-09-21 16:10:08 -07:00
ericrius1
e4d630b1fc
more light toggling additions
2015-09-21 15:57:03 -07:00
ericrius1
8678e07c21
Adding in light triggering logic
2015-09-21 15:45:54 -07:00
ericrius1
13d7834902
Merge remote-tracking branch 'upstream/master' into toybox
2015-09-21 14:51:33 -07:00
Philip Rosedale
26e5f1ca48
Merge pull request #5842 from SeijiEmery/platform-js
...
Platform.js
2015-09-21 14:28:34 -07:00
Seth Alves
cee296e70c
keep object from rotating during local grab
2015-09-21 13:50:42 -07:00
Bradley Austin Davis
e024d23366
Instancing work, second pass
2015-09-21 13:27:02 -07:00
James B. Pollack
71e668470f
Merge remote-tracking branch 'highfidelity/master' into flashlight_updates_1
2015-09-21 13:23:38 -07:00
ericrius1
b727256377
animation of doll plays longer now to give user a chance to see it play
2015-09-21 13:05:37 -07:00
ericrius1
d24df99445
Updated block logic to sync with desired behavior (each color block maps to a different size)
2015-09-21 11:51:00 -07:00
ericrius1
4e517b78e1
dice spawning higher so they fall onto craps table
2015-09-21 11:26:56 -07:00
ericrius1
30198aa6f2
Only play animation once for screaming doll when picked up
2015-09-21 11:22:35 -07:00
ericrius1
a71f1495e9
Lowered sound volume on doll, now choose between two screams
2015-09-21 11:15:40 -07:00
James B. Pollack
f3eef9322c
Remove toybox reference in spawner script
2015-09-21 11:10:42 -07:00
James B. Pollack
c2a2abe615
Remove nested bubble entities and related code
2015-09-21 11:05:51 -07:00
David Rowe
52f6fe1d04
Clear entity list when you change domains
2015-09-21 09:59:00 -07:00
ericrius1
5cd69c4f03
Added dice to master reset script
2015-09-21 09:17:23 -07:00
Brad Hefta-Gaub
ec87502f49
Merge pull request #5840 from jherico/bart
...
Instanced rendering for Box entities
2015-09-18 18:06:25 -07:00
Brad Hefta-Gaub
213cc25c75
Merge pull request #5856 from sethalves/hand-controller-adjustment
...
fix releaseGrab in test script
2015-09-18 17:52:12 -07:00
ericrius1
fb98960194
Adding wand to master script
2015-09-18 17:45:28 -07:00
Seth Alves
fd1c8f6389
fix releaseGrab in test script
2015-09-18 17:39:50 -07:00
ericrius1
b62807011c
Doll screams and writhes when picked up, returns to default position when let go
2015-09-18 17:22:45 -07:00
Philip Rosedale
aebadb1ab9
Merge pull request #5854 from sethalves/hand-controller-adjustment
...
tone down distance throwing
2015-09-18 17:20:22 -07:00
ericrius1
de14fc64f6
screaming on grab. Need to get release working
2015-09-18 17:17:55 -07:00
Seth Alves
cfde86a7ea
tone down distance throwing
2015-09-18 17:07:10 -07:00
David Rowe
60ba6e174f
Typo
2015-09-18 16:44:20 -07:00
David Rowe
812ab9b7c6
Merge branch 'master' into 20681
...
Conflicts:
libraries/entities/src/EntityItemProperties.cpp
2015-09-18 16:44:04 -07:00
Philip Rosedale
bbc1c551eb
Merge pull request #5853 from sethalves/hand-controller-adjustment
...
fix when releaseGrab is called
2015-09-18 16:30:01 -07:00
Brad Davis
8a703d0363
Instanced rendering, first pass
2015-09-18 16:29:29 -07:00
Seth Alves
236831d385
fix when releaseGrab is called
2015-09-18 16:28:15 -07:00
Philip Rosedale
928a74a306
Merge pull request #5852 from sethalves/hand-controller-adjustment
...
Hand controller adjustment
2015-09-18 16:21:12 -07:00
Seth Alves
5db3af3f4c
formatting
2015-09-18 15:58:47 -07:00
Seth Alves
5367de35c1
fix distance-grab throwing
2015-09-18 15:45:36 -07:00
James B. Pollack
ccf125c047
Cleanup comments
2015-09-18 15:40:39 -07:00
James B. Pollack
c364189bc8
Update file header
2015-09-18 15:26:34 -07:00
James B. Pollack
dc17985e29
Add some logic for turning off the flashlight when squeeze trigger pressure is low, and turning it back on when squeeze pressure goes over certain amount
2015-09-18 15:24:44 -07:00
Eric Levin
35e38a443c
Merge pull request #5849 from sethalves/hand-controller-adjustment
...
Hand controller adjustment
2015-09-18 15:22:29 -07:00
Andrew Meadows
269e3d7f23
Merge pull request #5836 from ZappoMan/getEntityPropertiesPerformance
...
Entities.getEntityProperty() performance improvements
2015-09-18 15:19:06 -07:00
Seth Alves
3d18edd9d1
update detectGrabExample.js
2015-09-18 15:13:09 -07:00
Seth Alves
612e906a44
change the names of entityMethods which the grab script will call. adjust the release velocity multiplier
2015-09-18 15:09:05 -07:00
Seth Alves
d1a7aca7f0
add continue-distance-holding state. don't call callEntityMethod unless action creation works. increase distance-holding multiplier.
2015-09-18 14:45:49 -07:00
ericrius1
dd3f1301e6
Blocks are now multi colored
2015-09-18 14:36:41 -07:00
James B. Pollack
a897c17eb2
Remove grab-frame and reset position code
2015-09-18 14:31:40 -07:00
James B. Pollack
031761fa57
added some logging while things were broken
2015-09-18 14:27:57 -07:00
Seth Alves
c5716b715d
merge from upstream
2015-09-18 14:22:11 -07:00
Seth Alves
7a8cee4cc3
fix release velocity so throwing things works reliably
2015-09-18 14:13:08 -07:00
Brad Hefta-Gaub
0d37511071
add support for scripts to call methods on entity scripts
2015-09-18 14:06:38 -07:00
ericrius1
86dfa6f590
2 sizes for blocks
2015-09-18 12:35:49 -07:00
David Rowe
03194437f5
Merge branch 'master' into 20681
...
Conflicts:
examples/entityScripts/sprayPaintCan.js
2015-09-18 12:04:02 -07:00
David Rowe
68874eed96
Update particle scripts
2015-09-18 11:34:26 -07:00
ericrius1
8ada3dec6e
Adding doll in
2015-09-18 11:29:16 -07:00
Seiji Emery
e723a5c0fd
whitespace + "waiting for entity server"
...
No functionality changes, but now prints "waiting for entity server"
once if waiting for more than X seconds in startup().
2015-09-18 11:18:33 -07:00
Seiji Emery
c25d8857d9
Merge branch 'master' of https://github.com/highfidelity/hifi into platform-js
2015-09-18 11:14:49 -07:00
ericrius1
65722dc870
Removed master spawner as its no longer needed
2015-09-18 11:01:33 -07:00
ericrius1
6e4b838bf9
added collision sound to bbal
2015-09-18 10:59:28 -07:00
ericrius1
d6377ee6bb
Added basketball to master reset script
2015-09-18 10:55:29 -07:00
James B. Pollack
15ea9219d6
collision timeouts
2015-09-18 10:41:44 -07:00
James B. Pollack
9a3a87eedf
improve velocity calculations for wand
2015-09-18 10:03:21 -07:00
Seth Alves
b08f567999
put controller specific functions inside the controller object
2015-09-18 09:56:45 -07:00
Seth Alves
b8c8ea2b53
move magic numbers to constant variables, add some comments
2015-09-18 07:20:35 -07:00
David Rowe
8634b59914
Make able to emit from within portion of ellipsoid volume
2015-09-17 23:49:57 -07:00
Seth Alves
6d7b129b83
rework handControllerGrab.js
2015-09-17 23:15:18 -07:00
David Rowe
9e2b5b75b6
Make able to emit in specified range of directions
...
Controlled by polar and azimuth start and finish angles, around point or
from specified part of spheroid surface.
2015-09-17 22:40:49 -07:00
James B. Pollack
8a7798fcd7
disable bubble particle burst until i know the right for an entity to watch and see if it is deleted.
2015-09-17 22:00:44 -07:00
Brad Hefta-Gaub
0811da14b8
use new feature for getEntityUserData
2015-09-17 21:14:07 -07:00
David Rowe
f647dcf147
Change emitter radiuses to dimensions to match sphere properties
2015-09-17 21:06:40 -07:00
James B. Pollack
5ac084ad4f
Randomize bubble gravity, code cleanup
2015-09-17 20:57:07 -07:00
ericrius1
ae795a5c4f
spray paint spawner working
2015-09-17 17:15:59 -07:00
David Rowe
12e2cf3ce9
Emit in all directions from a point or the surface of a spheroid
2015-09-17 17:14:35 -07:00
ericrius1
78642e3c79
Getting rid of managers
2015-09-17 17:04:09 -07:00
ericrius1
5f12a5c85a
Merge branch 'master' into toybox
2015-09-17 16:13:10 -07:00
ericrius1
9614a69b19
adding spray can
2015-09-17 16:12:16 -07:00
James B. Pollack
df0b9e7dbb
refactor bubble wand to prevent duplicate bubbles
2015-09-17 15:59:19 -07:00
ericrius1
109f2d8a1a
base positions
2015-09-17 15:39:31 -07:00
ericrius1
75c1e49567
more tweaks
...
yeah
2015-09-17 15:32:40 -07:00
ericrius1
cdae5452ce
going ac script route for entity reset
2015-09-17 14:21:11 -07:00
Brad Hefta-Gaub
5549f4ec40
Merge pull request #5821 from ericrius1/paintCan
...
Paint can tweaks
2015-09-17 11:37:44 -07:00
ericrius1
c5b7de2156
added fire spawner
2015-09-17 10:00:01 -07:00
ericrius1
7ffcce589d
blocks spawning
2015-09-17 09:09:25 -07:00
ericrius1
b9985031da
adding blocks
2015-09-17 09:03:42 -07:00