Skip to content

Commit

Permalink
feat: Add new default emotes (#109)
Browse files Browse the repository at this point in the history
* chore: Upgrade @dcl/schemas

* feat: Add jump emote file

* feat: Add run emote file

* feat: Add walk emote file

* feat: Add emotes Walk, Run and Jump to loopedEmotes
  • Loading branch information
cyaiox committed Feb 5, 2024
1 parent 58e6038 commit 991539c
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 18 deletions.
61 changes: 45 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"@babylonjs/inspector": "^4.2.2",
"@babylonjs/loaders": "^4.2.2",
"@babylonjs/materials": "^4.2.2",
"@dcl/schemas": "^9.12.0",
"@dcl/schemas": "^9.14.0",
"@dcl/ui-env": "^1.2.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^11.2.7",
Expand Down
Binary file added public/emotes/jump.glb
Binary file not shown.
Binary file added public/emotes/run.glb
Binary file not shown.
Binary file added public/emotes/walk.glb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/lib/babylon/emote.ts
Expand Up @@ -22,7 +22,7 @@ import { startAutoRotateBehavior } from './camera'
import { Asset, loadAssetContainer, loadSound } from './scene'
import { getEmoteRepresentation } from '../representation'

const loopedEmotes = [PreviewEmote.IDLE, PreviewEmote.MONEY, PreviewEmote.CLAP]
const loopedEmotes = [PreviewEmote.IDLE, PreviewEmote.MONEY, PreviewEmote.CLAP, PreviewEmote.WALK, PreviewEmote.RUN, PreviewEmote.JUMP]

let intervalId: number | undefined

Expand Down

0 comments on commit 991539c

Please sign in to comment.