Ultimate Roulette version 1.0

Ultimate Roulette version 1.0

[ad_1]

To get this product on 50 p.c low cost contact me on this link

 

LIVE PREVIEWBUY FOR $252

– Based on three.js & cannon.js library. All different code is my very own customized javascript.

– This is an actual 3d roulette. The result’s troublesome to foretell.

I used the newest version of three.js and cannon.js physics library. An attention-grabbing facet.

Structure of venture:

Important observe’s:

  - In /property/complicated/ Use chip1.mix to make 3d object edit and export to
  .gltf format. This file shouldn't be in lively a part of software.
  /property/complicated/chip1.gltf is file loaded intro net app.
  Also used gltf loader for /property/decorations/ ...
  and assetswheel-rollcentercenterRoll.gltf
  CenterRoll downloaded from http://www.blendswap.com/blends/view/72520
  and brought just one half.
  In readme.md you've got licence simply depart it to make authorized use.

- property/fonts/helvetiker_regular.typeface.json comes from three.js see docs.
  It is a 3d textual content shema not traditional net font for normal DOM.
- /scripts/bet-map/bet-map.js is handler for beting system.
  Most necessary is betMapCurrentBets.getWinningValue(winNumber) You want first to know
  successful quantity than use it.
- Chips picture utilized in app is positioned at:
  - tag 128 point out measurement 128x128.
  assetscomplexchips-128chip1.png
  Other chips photographs in folder desk is simply src with higher measurement.

– You must comply with perform `setWinningNumber` from roulette-table.js to make sence
about circulation on this venture. It is a curiosity second.

software.js is major startup file.
Use object `app` to avoid wasting parameters when you want it.
In folder /scripts/libs/ most necessary file is `cannon.engine.js`.
Please see cannon.js docs for extra info.

It is a transparent javascript customized methodology in most simpliest method.
I take advantage of procedural facet began from software.js. In all scripts i
use easy perform name for instance :

- removeNoWinChips()
- take awayAllPhisicsChips()
- take awayAllChips()

It could be very descriptively with one fundamental programming function `single accountability`.

[Not in use] Actually not in use however could be applied if in case you have completely different concept.
[Formats – js, html …]

├── Root/
|   ├── property/
|   |   └── audios/  [Formats .mp3, .ogg] Fix all trendy browsers
|   |   └── complicated/ [Formats .gltf, .blend]
|   |   └── control-btns/ [Formats .png, .xcf - Gimp source file]
|   |   └── decorations/  [Formats .gltf, .blend]
|   |   └── fonts/   [Formats .json]
|   |   └── floor/  [Formats .jpg]
|   |   └── desk/   [Formats .jpg, .png]
|   |   └── wheel-roll/  [Formats .png, .gltf]
|   ├── css/
|   |   └── type.css
|   ├── imgs/
|   |   └── icons/favicon.ico
|   ├── scripts/
|   |   └── bet-map
|   |      └── bet-map.js
|   |   └── libs/
|   |   └── audios.js
|   |   └── ball.js
|   |   └── center-roll.js
|   |   └── chips.js
|   |   └── init.js
|   |   └── lights.js
|   |   └── pointerCheck.js - [Not in use]
|   |   └── pointerLockControls.js - [Not in use]
|   |   └── roulette-table.js [Handling raycast - detecting click object]
|   |   └── textual content.js [Handling 3d text - Credits]
|   |   └── wheel.js [Static wheel part]
|   |   └── wheelRoll.js [Rotation system part]
|   ├── index.html
|   ├── manifest.net (enhance PWA)

– You can do that sport template at :

https://roulette.maximumroulette.com

[ad_2]

To get this product on 50 p.c low cost contact me on this link

 

Source

Pomento
Logo
Register New Account
Compare items
  • Total (0)
Compare
0
Shopping cart