Commit Graph

25 Commits

Author SHA1 Message Date
Mitchell McCaffrey
a5d14c0fa4 Moved dice asset loading to be parallel 2021-03-26 16:22:03 +11:00
Mitchell McCaffrey
d1c62a51c0 Compressed all images 2021-03-13 13:22:43 +11:00
Mitchell McCaffrey
2eef6ca7c4 Fixed gemstone dice colour 2021-01-05 15:33:50 +11:00
Mitchell McCaffrey
3e407f6c71 Fixed glass dice colour 2021-01-04 17:14:21 +11:00
Mitchell McCaffrey
b94e06b5a7 Added souce map analyzer and added tree shaking to Babylon to reduce bundle size 2020-08-11 20:22:10 +10:00
Mitchell McCaffrey
765c84389f Added async / await to dice texture loading
This should fix load issues with the dice tray being blank
Also turnned off the default texture flip so all textures are now unflipped by default
2020-05-28 18:08:26 +10:00
Mitchell McCaffrey
fc8c65e525 Removed unnesasary async from createDiceInstace and simplified dice meshes to reduce spawn delay 2020-05-28 12:51:42 +10:00
Mitchell McCaffrey
5b269fe7d1 Added wood dice mesh variant and moved shared meshes 2020-05-28 11:48:18 +10:00
Mitchell McCaffrey
810366dd00 Updated preview images to be a higher resolution and added glass and gemstone dice 2020-05-28 09:53:52 +10:00
Mitchell McCaffrey
7f0b4e32af Separated dice loading and dice instance creation and added loading spinner for dice 2020-05-27 14:47:51 +10:00
Mitchell McCaffrey
da84f923d1 Added per dice physics properties 2020-05-27 14:01:12 +10:00
Mitchell McCaffrey
293372a3e0 Change dice roll function to prevent overlaps 2020-05-27 12:17:53 +10:00
Mitchell McCaffrey
cf12ff22ed Added thickness to dice tray collision wall and roof 2020-05-27 12:04:28 +10:00
Mitchell McCaffrey
b786b176b0 Added multiple dice tray sizes 2020-05-27 11:24:17 +10:00
Mitchell McCaffrey
f8fe7a2f2b Updated dice tray textures 2020-05-26 17:17:46 +10:00
Mitchell McCaffrey
84b198c851 Added dice style select 2020-05-26 14:47:37 +10:00
Mitchell McCaffrey
c99e5bf5f8 Adjusted dice mass and friction and added velocity window for dice throwing 2020-05-26 10:57:12 +10:00
Mitchell McCaffrey
3be729d4a0 Added reset to dice physics when rerolling 2020-05-25 20:52:11 +10:00
Mitchell McCaffrey
fd5998ea17 Added dice tray resizing to match screen size 2020-05-25 20:37:17 +10:00
Mitchell McCaffrey
d9c928dfcd Added dice clear and dice reroll 2020-05-14 18:13:12 +10:00
Mitchell McCaffrey
2e3a733d4c Added random dice throwing when creating instances 2020-05-13 23:13:58 +10:00
Mitchell McCaffrey
e48e5481e1 Added more dice 2020-05-13 16:15:32 +10:00
Mitchell McCaffrey
c9f77313a2 Moved to new dice mesh and added remaining dice types 2020-05-12 23:49:35 +10:00
Mitchell McCaffrey
145b08d93f Added dice tray mesh 2020-05-10 16:13:15 +10:00
Mitchell McCaffrey
0a71609105 Added babylonjs, ammojs, dice models and simple dice interaction 2020-05-08 12:56:36 +10:00