littlejsengine 1.2.3 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +4 -3
  2. package/build.bat +6 -6
  3. package/buildSetup.bat +7 -0
  4. package/docs/Audio.html +2268 -0
  5. package/docs/Color.html +3376 -0
  6. package/docs/Debug.html +2933 -0
  7. package/docs/Draw.html +4480 -0
  8. package/docs/EngineObject.html +4734 -0
  9. package/docs/FontImage.html +1055 -0
  10. package/docs/Input.html +2806 -0
  11. package/docs/Medal.html +1007 -0
  12. package/docs/Medals.html +628 -0
  13. package/docs/Music.html +584 -0
  14. package/docs/Newgrounds.html +1399 -0
  15. package/docs/Particle.html +4825 -0
  16. package/docs/ParticleEmitter.html +8099 -0
  17. package/docs/Random.html +1774 -0
  18. package/docs/Settings.html +3140 -0
  19. package/docs/Sound.html +1249 -0
  20. package/docs/TileCollision.html +1409 -0
  21. package/docs/TileLayer.html +7310 -0
  22. package/docs/TileLayerData.html +1052 -0
  23. package/docs/Timer.html +1295 -0
  24. package/docs/Utilities.html +3278 -0
  25. package/docs/Vector2.html +4266 -0
  26. package/docs/WebGL.html +2307 -0
  27. package/docs/engine.js.html +443 -0
  28. package/docs/engineAudio.js.html +627 -0
  29. package/docs/engineDebug.js.html +554 -0
  30. package/docs/engineDraw.js.html +539 -0
  31. package/docs/engineInput.js.html +571 -0
  32. package/docs/engineMedals.js.html +460 -0
  33. package/docs/engineObject.js.html +533 -0
  34. package/docs/engineParticles.js.html +443 -0
  35. package/docs/engineSettings.js.html +381 -0
  36. package/docs/engineTileLayer.js.html +503 -0
  37. package/docs/engineUtilities.js.html +700 -0
  38. package/docs/engineWebGL.js.html +511 -0
  39. package/docs/fonts/MavenPro-Regular.ttf +0 -0
  40. package/docs/fonts/Montserrat-Regular.ttf +0 -0
  41. package/docs/fonts/Muli-Black.ttf +0 -0
  42. package/docs/fonts/OFL-hind.txt +93 -0
  43. package/docs/fonts/OFL-montserrat.txt +93 -0
  44. package/docs/global.html +1771 -0
  45. package/docs/index.css +6 -0
  46. package/docs/index.html +267 -0
  47. package/docs/scripts/fix-code-block.js +53 -0
  48. package/docs/scripts/fix-navbar.js +25 -0
  49. package/docs/scripts/linenumber.js +25 -0
  50. package/docs/scripts/misc.js +217 -0
  51. package/docs/scripts/resize.js +85 -0
  52. package/docs/scripts/search.js +83 -0
  53. package/docs/scripts/third-party/Apache-License-2.0.txt +202 -0
  54. package/docs/scripts/third-party/fuse.js +9 -0
  55. package/docs/scripts/third-party/lang-css.js +2 -0
  56. package/docs/scripts/third-party/prettify.js +28 -0
  57. package/docs/static/favicon.png +0 -0
  58. package/docs/static/index.css +4 -0
  59. package/docs/styles/clean-jsdoc-theme-base.css +393 -0
  60. package/docs/styles/clean-jsdoc-theme-dark.css +324 -0
  61. package/docs/styles/clean-jsdoc-theme-light.css +319 -0
  62. package/docs/styles/reset.css +346 -0
  63. package/docs/styles/third-party/ionicons.min.css +11 -0
  64. package/docs/styles/third-party/prettify-jsdoc.css +111 -0
  65. package/docs/styles/third-party/prettify-tomorrow.css +5 -0
  66. package/engine/engine.all.js +171 -67
  67. package/engine/engine.all.min.js +1 -1
  68. package/engine/engine.all.release.js +162 -53
  69. package/engine/engine.js +3 -3
  70. package/engine/engineAudio.js +5 -7
  71. package/engine/engineBuild.bat +3 -4
  72. package/engine/engineDebug.js +9 -14
  73. package/engine/engineDraw.js +32 -13
  74. package/engine/engineInput.js +5 -1
  75. package/engine/engineMedals.js +5 -2
  76. package/engine/engineObject.js +24 -5
  77. package/engine/engineParticles.js +2 -2
  78. package/engine/engineSettings.js +5 -0
  79. package/engine/engineTileLayer.js +11 -10
  80. package/engine/engineUtilities.js +67 -7
  81. package/engine/engineWebGL.js +3 -3
  82. package/engine/index.d.ts +57 -18
  83. package/examples/breakout/index.html +3 -3
  84. package/examples/particles/index.html +366 -0
  85. package/examples/particles/tiles.png +0 -0
  86. package/examples/platformer/gameEffects.js +6 -6
  87. package/examples/platformer/index.html +6 -6
  88. package/examples/puzzle/game.js +4 -2
  89. package/examples/puzzle/index.html +2 -2
  90. package/examples/stress/index.html +1 -1
  91. package/game.js +3 -14
  92. package/index.html +13 -13
  93. package/package.json +1 -1
  94. package/engine/engineBuildSetup.bat +0 -7
@@ -0,0 +1,2307 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <!-- Adding favicon -->
9
+
10
+ <link rel="icon" href="./static/favicon.png" />
11
+
12
+
13
+ <!-- Adding meta -->
14
+
15
+
16
+ <!-- Adding external script-->
17
+
18
+
19
+ <!-- Adding external style-->
20
+
21
+
22
+ <!-- Adding scripts-->
23
+
24
+
25
+ <!-- Adding style-->
26
+
27
+
28
+ <!-- Adding overlay script-->
29
+
30
+
31
+ <!-- Adding overlay style-->
32
+
33
+
34
+
35
+ <title>
36
+ WebGL
37
+ </title>
38
+
39
+ <!--[if lt IE 9]>
40
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
41
+ <![endif]-->
42
+ <link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
43
+ <link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
44
+ <link type="text/css" rel="stylesheet" href="styles/reset.css">
45
+ <link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
46
+ <link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-dark.css">
47
+
48
+ <style>
49
+ .prettyprint code {font-family:monospace}
50
+ </style>
51
+
52
+ <svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
53
+ style="display:none">
54
+ <defs>
55
+ <symbol id="copy-icon" viewbox="0 0 488.3 488.3">
56
+ <g>
57
+ <path
58
+ d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z" />
59
+ <path
60
+ d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z" />
61
+ </g>
62
+ </symbol>
63
+ <symbol id='search-icon' viewBox="0 0 512 512">
64
+ <g>
65
+ <g>
66
+ <path
67
+ d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z" />
68
+ </g>
69
+ </g>
70
+ <g>
71
+ <g>
72
+ <path
73
+ d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z" />
74
+ </g>
75
+ </g>
76
+ </symbol>
77
+ <symbol id="down-icon" viewBox="0 0 16 16">
78
+ <path
79
+ fill-rule="evenodd"
80
+ clip-rule="evenodd"
81
+ d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"
82
+ >
83
+ </path>
84
+ </symbol>
85
+ </defs>
86
+ </svg>
87
+ </head>
88
+
89
+ <body>
90
+
91
+ <nav class="navbar" id="navbar">
92
+ <div class="navbar-heading" id="navbar-heading"><a href="index.html"><h2 class="navbar-heading-text">LittleJS - The Tiny JavaScript Game Engine That Can!</h2></a></div><div class="search-box" id="search-box"><div class="search-box-input-container"><input class="search-box-input" type="text" placeholder="Search..." id="search-box-input" /><svg class="search-icon" alt="search-icon"><use xlink:href="#search-icon"></use></svg></div><div class="search-item-container" id="search-item-container"><ul class="search-item-ul" id="search-item-ul"></ul></div></div><div class="sidebar-main-content" id="sidebar-main-content"><div class="accordion collapsed" id="3563688" > <h3 class="accordion-heading">Classes<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion collapsed child" id=7746959><div class="accordion-heading child"><a href="Color.html">Color</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Color.html#add">add</a></li><li data-type='method'><a href="Color.html#clamp">clamp</a></li><li data-type='method'><a href="Color.html#copy">copy</a></li><li data-type='method'><a href="Color.html#divide">divide</a></li><li data-type='method'><a href="Color.html#getHSLA">getHSLA</a></li><li data-type='method'><a href="Color.html#hex">hex</a></li><li data-type='method'><a href="Color.html#lerp">lerp</a></li><li data-type='method'><a href="Color.html#multiply">multiply</a></li><li data-type='method'><a href="Color.html#mutate">mutate</a></li><li data-type='method'><a href="Color.html#rgbaInt">rgbaInt</a></li><li data-type='method'><a href="Color.html#scale">scale</a></li><li data-type='method'><a href="Color.html#setHex">setHex</a></li><li data-type='method'><a href="Color.html#setHSLA">setHSLA</a></li><li data-type='method'><a href="Color.html#subtract">subtract</a></li><li data-type='method'><a href="Color.html#toString">toString</a></li></ul></li><li class="accordion collapsed child" id=6307330><div class="accordion-heading child"><a href="EngineObject.html">EngineObject</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="EngineObject.html#addChild">addChild</a></li><li data-type='method'><a href="EngineObject.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="EngineObject.html#applyForce">applyForce</a></li><li data-type='method'><a href="EngineObject.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="EngineObject.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="EngineObject.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="EngineObject.html#destroy">destroy</a></li><li data-type='method'><a href="EngineObject.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="EngineObject.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="EngineObject.html#removeChild">removeChild</a></li><li data-type='method'><a href="EngineObject.html#render">render</a></li><li data-type='method'><a href="EngineObject.html#setCollision">setCollision</a></li><li data-type='method'><a href="EngineObject.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=8508237><div class="accordion-heading child"><a href="FontImage.html">FontImage</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="FontImage.html#drawText">drawText</a></li><li data-type='method'><a href="FontImage.html#drawTextScreen">drawTextScreen</a></li></ul></li><li class="accordion collapsed child" id=2613323><div class="accordion-heading child"><a href="Medal.html">Medal</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Medal.html#render">render</a></li><li data-type='method'><a href="Medal.html#renderIcon">renderIcon</a></li><li data-type='method'><a href="Medal.html#unlock">unlock</a></li></ul></li><li class="accordion collapsed child" id=5931143><div class="accordion-heading child"><a href="Music.html">Music</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Music.html#play">play</a></li></ul></li><li class="accordion collapsed child" id=7102537><div class="accordion-heading child"><a href="Newgrounds.html">Newgrounds</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Newgrounds.html#call">call</a></li><li data-type='method'><a href="Newgrounds.html#getScores">getScores</a></li><li data-type='method'><a href="Newgrounds.html#logView">logView</a></li><li data-type='method'><a href="Newgrounds.html#postScore">postScore</a></li><li data-type='method'><a href="Newgrounds.html#unlockMedal">unlockMedal</a></li></ul></li><li class="accordion collapsed child" id=4104404><div class="accordion-heading child"><a href="Particle.html">Particle</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Particle.html#addChild">addChild</a></li><li data-type='method'><a href="Particle.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="Particle.html#applyForce">applyForce</a></li><li data-type='method'><a href="Particle.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="Particle.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="Particle.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="Particle.html#destroy">destroy</a></li><li data-type='method'><a href="Particle.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="Particle.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="Particle.html#removeChild">removeChild</a></li><li data-type='method'><a href="Particle.html#render">render</a></li><li data-type='method'><a href="Particle.html#setCollision">setCollision</a></li><li data-type='method'><a href="Particle.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=8166593><div class="accordion-heading child"><a href="ParticleEmitter.html">ParticleEmitter</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="ParticleEmitter.html#addChild">addChild</a></li><li data-type='method'><a href="ParticleEmitter.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="ParticleEmitter.html#applyForce">applyForce</a></li><li data-type='method'><a href="ParticleEmitter.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="ParticleEmitter.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="ParticleEmitter.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="ParticleEmitter.html#destroy">destroy</a></li><li data-type='method'><a href="ParticleEmitter.html#emitParticle">emitParticle</a></li><li data-type='method'><a href="ParticleEmitter.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="ParticleEmitter.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="ParticleEmitter.html#removeChild">removeChild</a></li><li data-type='method'><a href="ParticleEmitter.html#render">render</a></li><li data-type='method'><a href="ParticleEmitter.html#setCollision">setCollision</a></li><li data-type='method'><a href="ParticleEmitter.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=1946205><div class="accordion-heading child"><a href="Sound.html">Sound</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Sound.html#play">play</a></li><li data-type='method'><a href="Sound.html#playNote">playNote</a></li></ul></li><li class="accordion collapsed child" id=2790513><div class="accordion-heading child"><a href="TileLayer.html">TileLayer</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="TileLayer.html#addChild">addChild</a></li><li data-type='method'><a href="TileLayer.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="TileLayer.html#applyForce">applyForce</a></li><li data-type='method'><a href="TileLayer.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="TileLayer.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="TileLayer.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="TileLayer.html#destroy">destroy</a></li><li data-type='method'><a href="TileLayer.html#drawAllTileData">drawAllTileData</a></li><li data-type='method'><a href="TileLayer.html#drawCanvas2D">drawCanvas2D</a></li><li data-type='method'><a href="TileLayer.html#drawRect">drawRect</a></li><li data-type='method'><a href="TileLayer.html#drawTile">drawTile</a></li><li data-type='method'><a href="TileLayer.html#drawTileData">drawTileData</a></li><li data-type='method'><a href="TileLayer.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="TileLayer.html#getData">getData</a></li><li data-type='method'><a href="TileLayer.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="TileLayer.html#redraw">redraw</a></li><li data-type='method'><a href="TileLayer.html#redrawEnd">redrawEnd</a></li><li data-type='method'><a href="TileLayer.html#redrawStart">redrawStart</a></li><li data-type='method'><a href="TileLayer.html#removeChild">removeChild</a></li><li data-type='method'><a href="TileLayer.html#render">render</a></li><li data-type='method'><a href="TileLayer.html#setCollision">setCollision</a></li><li data-type='method'><a href="TileLayer.html#setData">setData</a></li><li data-type='method'><a href="TileLayer.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=8451372><div class="accordion-heading child"><a href="TileLayerData.html">TileLayerData</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="TileLayerData.html#clear">clear</a></li></ul></li><li class="accordion collapsed child" id=1385312><div class="accordion-heading child"><a href="Timer.html">Timer</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Timer.html#active">active</a></li><li data-type='method'><a href="Timer.html#elapsed">elapsed</a></li><li data-type='method'><a href="Timer.html#get">get</a></li><li data-type='method'><a href="Timer.html#getPercent">getPercent</a></li><li data-type='method'><a href="Timer.html#isSet">isSet</a></li><li data-type='method'><a href="Timer.html#set">set</a></li><li data-type='method'><a href="Timer.html#toString">toString</a></li><li data-type='method'><a href="Timer.html#unset">unset</a></li></ul></li><li class="accordion collapsed child" id=5094252><div class="accordion-heading child"><a href="Vector2.html">Vector2</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Vector2.html#add">add</a></li><li data-type='method'><a href="Vector2.html#angle">angle</a></li><li data-type='method'><a href="Vector2.html#area">area</a></li><li data-type='method'><a href="Vector2.html#arrayCheck">arrayCheck</a></li><li data-type='method'><a href="Vector2.html#clampLength">clampLength</a></li><li data-type='method'><a href="Vector2.html#copy">copy</a></li><li data-type='method'><a href="Vector2.html#cross">cross</a></li><li data-type='method'><a href="Vector2.html#direction">direction</a></li><li data-type='method'><a href="Vector2.html#distance">distance</a></li><li data-type='method'><a href="Vector2.html#distanceSquared">distanceSquared</a></li><li data-type='method'><a href="Vector2.html#divide">divide</a></li><li data-type='method'><a href="Vector2.html#dot">dot</a></li><li data-type='method'><a href="Vector2.html#floor">floor</a></li><li data-type='method'><a href="Vector2.html#invert">invert</a></li><li data-type='method'><a href="Vector2.html#length">length</a></li><li data-type='method'><a href="Vector2.html#lengthSquared">lengthSquared</a></li><li data-type='method'><a href="Vector2.html#lerp">lerp</a></li><li data-type='method'><a href="Vector2.html#multiply">multiply</a></li><li data-type='method'><a href="Vector2.html#normalize">normalize</a></li><li data-type='method'><a href="Vector2.html#rotate">rotate</a></li><li data-type='method'><a href="Vector2.html#scale">scale</a></li><li data-type='method'><a href="Vector2.html#setAngle">setAngle</a></li><li data-type='method'><a href="Vector2.html#subtract">subtract</a></li><li data-type='method'><a href="Vector2.html#toString">toString</a></li></ul></li></ul> </div><div class="accordion collapsed" id="9985463" > <h3 class="accordion-heading">Namespaces<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion collapsed child" id=1451135><div class="accordion-heading child"><a href="Debug.html">Debug</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Debug.html#.debugAABB">debugAABB</a></li><li data-type='method'><a href="Debug.html#.debugCircle">debugCircle</a></li><li data-type='method'><a href="Debug.html#.debugClear">debugClear</a></li><li data-type='method'><a href="Debug.html#.debugLine">debugLine</a></li><li data-type='method'><a href="Debug.html#.debugPoint">debugPoint</a></li><li data-type='method'><a href="Debug.html#.debugRect">debugRect</a></li><li data-type='method'><a href="Debug.html#.debugSaveCanvas">debugSaveCanvas</a></li><li data-type='method'><a href="Debug.html#.debugText">debugText</a></li></ul></li><li class="accordion collapsed child" id=3748274><div class="accordion-heading child"><a href="Draw.html">Draw</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Draw.html#.drawCanvas2D">drawCanvas2D</a></li><li data-type='method'><a href="Draw.html#.drawLine">drawLine</a></li><li data-type='method'><a href="Draw.html#.drawRect">drawRect</a></li><li data-type='method'><a href="Draw.html#.drawRectScreenSpace">drawRectScreenSpace</a></li><li data-type='method'><a href="Draw.html#.drawText">drawText</a></li><li data-type='method'><a href="Draw.html#.drawTextScreen">drawTextScreen</a></li><li data-type='method'><a href="Draw.html#.drawTile">drawTile</a></li><li data-type='method'><a href="Draw.html#.drawTileScreenSpace">drawTileScreenSpace</a></li><li data-type='method'><a href="Draw.html#.isFullscreen">isFullscreen</a></li><li data-type='method'><a href="Draw.html#.screenToWorld">screenToWorld</a></li><li data-type='method'><a href="Draw.html#.setBlendMode">setBlendMode</a></li><li data-type='method'><a href="Draw.html#.toggleFullscreen">toggleFullscreen</a></li><li data-type='method'><a href="Draw.html#.worldToScreen">worldToScreen</a></li></ul></li><li class="accordion collapsed child" id=1641359><div class="accordion-heading child"><a href="Input.html">Input</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Input.html#.clearInput">clearInput</a></li><li data-type='method'><a href="Input.html#.gamepadIsDown">gamepadIsDown</a></li><li data-type='method'><a href="Input.html#.gamepadStick">gamepadStick</a></li><li data-type='method'><a href="Input.html#.gamepadWasPressed">gamepadWasPressed</a></li><li data-type='method'><a href="Input.html#.gamepadWasReleased">gamepadWasReleased</a></li><li data-type='method'><a href="Input.html#.keyIsDown">keyIsDown</a></li><li data-type='method'><a href="Input.html#.keyWasPressed">keyWasPressed</a></li><li data-type='method'><a href="Input.html#.keyWasReleased">keyWasReleased</a></li><li data-type='method'><a href="Input.html#.vibrate">vibrate</a></li><li data-type='method'><a href="Input.html#.vibrateStop">vibrateStop</a></li></ul></li><li class="accordion collapsed child" id=9832293><div class="accordion-heading child"><a href="Medals.html">Medals</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Medals.html#.medalsInit">medalsInit</a></li></ul></li><li class="accordion collapsed child" id=219095><div class="accordion-heading child"><a href="Random.html">Random</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Random.html#.rand">rand</a></li><li data-type='method'><a href="Random.html#.randColor">randColor</a></li><li data-type='method'><a href="Random.html#.randInCircle">randInCircle</a></li><li data-type='method'><a href="Random.html#.randInt">randInt</a></li><li data-type='method'><a href="Random.html#.randSeeded">randSeeded</a></li><li data-type='method'><a href="Random.html#.randSign">randSign</a></li><li data-type='method'><a href="Random.html#.randVector">randVector</a></li></ul></li><li class="accordion-list" id=""><a href="Settings.html">Settings</a></li><li class="accordion collapsed child" id=2884620><div class="accordion-heading child"><a href="TileCollision.html">TileCollision</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="TileCollision.html#.getTileCollisionData">getTileCollisionData</a></li><li data-type='method'><a href="TileCollision.html#.initTileCollision">initTileCollision</a></li><li data-type='method'><a href="TileCollision.html#.setTileCollisionData">setTileCollisionData</a></li><li data-type='method'><a href="TileCollision.html#.tileCollisionRaycast">tileCollisionRaycast</a></li><li data-type='method'><a href="TileCollision.html#.tileCollisionTest">tileCollisionTest</a></li></ul></li><li class="accordion collapsed child" id=9516194><div class="accordion-heading child"><a href="Utilities.html">Utilities</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Utilities.html#.abs">abs</a></li><li data-type='method'><a href="Utilities.html#.clamp">clamp</a></li><li data-type='method'><a href="Utilities.html#.formatTime">formatTime</a></li><li data-type='method'><a href="Utilities.html#.isOverlapping">isOverlapping</a></li><li data-type='method'><a href="Utilities.html#.lerp">lerp</a></li><li data-type='method'><a href="Utilities.html#.max">max</a></li><li data-type='method'><a href="Utilities.html#.min">min</a></li><li data-type='method'><a href="Utilities.html#.mod">mod</a></li><li data-type='method'><a href="Utilities.html#.nearestPowerOfTwo">nearestPowerOfTwo</a></li><li data-type='method'><a href="Utilities.html#.percent">percent</a></li><li data-type='method'><a href="Utilities.html#.sign">sign</a></li><li data-type='method'><a href="Utilities.html#.smoothStep">smoothStep</a></li><li data-type='method'><a href="Utilities.html#.vec2">vec2</a></li><li data-type='method'><a href="Utilities.html#.wave">wave</a></li></ul></li><li class="accordion collapsed child" id=228864><div class="accordion-heading child"><a href="WebGL.html">WebGL</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="WebGL.html#.glCompileShader">glCompileShader</a></li><li data-type='method'><a href="WebGL.html#.glCopyToContext">glCopyToContext</a></li><li data-type='method'><a href="WebGL.html#.glCreateBuffer">glCreateBuffer</a></li><li data-type='method'><a href="WebGL.html#.glCreateProgram">glCreateProgram</a></li><li data-type='method'><a href="WebGL.html#.glCreateTexture">glCreateTexture</a></li><li data-type='method'><a href="WebGL.html#.glDraw">glDraw</a></li><li data-type='method'><a href="WebGL.html#.glFlush">glFlush</a></li><li data-type='method'><a href="WebGL.html#.glSetBlendMode">glSetBlendMode</a></li><li data-type='method'><a href="WebGL.html#.glSetTexture">glSetTexture</a></li></ul></li></ul> </div><div class="accordion collapsed" id="4889956" > <h3 class="accordion-heading">Global<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion-list" id=""><a href="global.html#engineFontImage">engineFontImage</a></li><li class="accordion-list" id=""><a href="global.html#engineInit">engineInit</a></li><li class="accordion-list" id=""><a href="global.html#engineName">engineName</a></li><li class="accordion-list" id=""><a href="global.html#engineObjects">engineObjects</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsCallback">engineObjectsCallback</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsCollide">engineObjectsCollide</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsDestroy">engineObjectsDestroy</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsUpdate">engineObjectsUpdate</a></li><li class="accordion-list" id=""><a href="global.html#engineVersion">engineVersion</a></li><li class="accordion-list" id=""><a href="global.html#frame">frame</a></li><li class="accordion-list" id=""><a href="global.html#frameRate">frameRate</a></li><li class="accordion-list" id=""><a href="global.html#paused">paused</a></li><li class="accordion-list" id=""><a href="global.html#time">time</a></li><li class="accordion-list" id=""><a href="global.html#timeDelta">timeDelta</a></li><li class="accordion-list" id=""><a href="global.html#timeReal">timeReal</a></li></ul> </div></div>
93
+
94
+
95
+ </nav>
96
+ <div class="navbar-ham" id="navbar-ham">
97
+ <div>
98
+ <div class="first"></div>
99
+ <div class="second"></div>
100
+ <div class="third"></div>
101
+ </div>
102
+ </div>
103
+
104
+ <div id="main" class="main-content">
105
+
106
+ <h1 id='page-title' class="page-title">
107
+ WebGL
108
+ </h1>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <section>
117
+
118
+
119
+ <header>
120
+
121
+
122
+ <h2>
123
+
124
+ WebGL
125
+
126
+ </h2>
127
+
128
+
129
+
130
+ </header>
131
+
132
+
133
+ <article>
134
+ <div class="container-overview">
135
+
136
+
137
+ <div class="description">LittleJS WebGL Interface
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <dl class="details">
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+ <div class="details-item-container">
173
+ <dt class="tag-source">Source:</dt>
174
+ <dd class="tag-source"><ul class="dummy"><li>
175
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line1">line 1</a>
176
+ </li></ul></dd>
177
+ </div>
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ </dl>
186
+
187
+
188
+
189
+
190
+
191
+
192
+ </div>
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ <h3 class="subsection-title">Members</h3>
206
+
207
+
208
+
209
+ <h4 class="name" id=".glCanvas">
210
+ <a href="#.glCanvas">#</a>
211
+ <span class="type-signature">(static) </span>glCanvas<span class="type-signature"> :HTMLCanvasElement</span>
212
+ </h4>
213
+
214
+
215
+
216
+
217
+ <div class="description">
218
+ The WebGL canvas which appears above the main canvas and below the overlay canvas
219
+ </div>
220
+
221
+
222
+
223
+ <div class="member-item-container flex">
224
+ <strong>Type: </strong>
225
+ <ul>
226
+ <li>
227
+
228
+ <span class="param-type">HTMLCanvasElement</span>
229
+
230
+
231
+ </li>
232
+ </ul>
233
+ </div>
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ <dl class="details">
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+ <div class="details-item-container">
269
+ <dt class="tag-source">Source:</dt>
270
+ <dd class="tag-source"><ul class="dummy"><li>
271
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line17">line 17</a>
272
+ </li></ul></dd>
273
+ </div>
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ </dl>
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+ <h4 class="name" id=".glContext">
293
+ <a href="#.glContext">#</a>
294
+ <span class="type-signature">(static) </span>glContext<span class="type-signature"> :WebGLRenderingContext</span>
295
+ </h4>
296
+
297
+
298
+
299
+
300
+ <div class="description">
301
+ 2d context for glCanvas
302
+ </div>
303
+
304
+
305
+
306
+ <div class="member-item-container flex">
307
+ <strong>Type: </strong>
308
+ <ul>
309
+ <li>
310
+
311
+ <span class="param-type">WebGLRenderingContext</span>
312
+
313
+
314
+ </li>
315
+ </ul>
316
+ </div>
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+ <dl class="details">
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+ <div class="details-item-container">
352
+ <dt class="tag-source">Source:</dt>
353
+ <dd class="tag-source"><ul class="dummy"><li>
354
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line22">line 22</a>
355
+ </li></ul></dd>
356
+ </div>
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ </dl>
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+ <h4 class="name" id=".glTileTexture">
376
+ <a href="#.glTileTexture">#</a>
377
+ <span class="type-signature">(static) </span>glTileTexture<span class="type-signature"> :WebGLTexture</span>
378
+ </h4>
379
+
380
+
381
+
382
+
383
+ <div class="description">
384
+ Main tile sheet texture automatically loaded by engine
385
+ </div>
386
+
387
+
388
+
389
+ <div class="member-item-container flex">
390
+ <strong>Type: </strong>
391
+ <ul>
392
+ <li>
393
+
394
+ <span class="param-type">WebGLTexture</span>
395
+
396
+
397
+ </li>
398
+ </ul>
399
+ </div>
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+ <dl class="details">
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+ <div class="details-item-container">
435
+ <dt class="tag-source">Source:</dt>
436
+ <dd class="tag-source"><ul class="dummy"><li>
437
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line27">line 27</a>
438
+ </li></ul></dd>
439
+ </div>
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+ </dl>
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+ <h3 class="subsection-title">Methods</h3>
461
+
462
+
463
+
464
+
465
+
466
+
467
+ <h4 class="name" id=".glCompileShader">
468
+ <a href="#.glCompileShader">#</a>
469
+ <span class="type-signature">(static) </span>glCompileShader<span class="signature">(source, type)</span><span class="type-signature"> &rarr; {WebGLShader}</span>
470
+ </h4>
471
+
472
+
473
+
474
+
475
+
476
+ <div class="description">
477
+ Compile WebGL shader of the given type, will throw errors if in debug mode
478
+ </div>
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
489
+ <strong>Parameters:</strong>
490
+
491
+
492
+ <table class="params">
493
+ <thead>
494
+ <tr>
495
+
496
+ <th>Name</th>
497
+
498
+
499
+ <th>Type</th>
500
+
501
+
502
+
503
+
504
+
505
+ <th class="last">Description</th>
506
+ </tr>
507
+ </thead>
508
+
509
+ <tbody>
510
+
511
+
512
+ <tr>
513
+
514
+ <td class="name"><code>source</code></td>
515
+
516
+
517
+ <td class="type">
518
+
519
+
520
+ <span class="param-type">String</span>
521
+
522
+
523
+
524
+ </td>
525
+
526
+
527
+
528
+
529
+
530
+ <td class="description last"></td>
531
+ </tr>
532
+
533
+
534
+
535
+ <tr>
536
+
537
+ <td class="name"><code>type</code></td>
538
+
539
+
540
+ <td class="type">
541
+
542
+ </td>
543
+
544
+
545
+
546
+
547
+
548
+ <td class="description last"></td>
549
+ </tr>
550
+
551
+
552
+ </tbody>
553
+ </table>
554
+
555
+ </div>
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+ <dl class="details">
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+ <div class="details-item-container">
591
+ <dt class="tag-source">Source:</dt>
592
+ <dd class="tag-source"><ul class="dummy"><li>
593
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line122">line 122</a>
594
+ </li></ul></dd>
595
+ </div>
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+ </dl>
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+ <div class="method-member-container mt-20">
620
+ <strong>Returns:</strong>
621
+
622
+
623
+
624
+
625
+ <dl class="param-type">
626
+ <dt>
627
+ Type
628
+ </dt>
629
+ <dd>
630
+
631
+ <span class="param-type">WebGLShader</span>
632
+
633
+
634
+ </dd>
635
+ </dl>
636
+
637
+
638
+ </div>
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+ <h4 class="name" id=".glCopyToContext">
649
+ <a href="#.glCopyToContext">#</a>
650
+ <span class="type-signature">(static) </span>glCopyToContext<span class="signature">(context, forceDraw<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
651
+ </h4>
652
+
653
+
654
+
655
+
656
+
657
+ <div class="description">
658
+ Draw any sprites still in the buffer, copy to main canvas and clear
659
+ </div>
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+
668
+
669
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
670
+ <strong>Parameters:</strong>
671
+
672
+
673
+ <table class="params">
674
+ <thead>
675
+ <tr>
676
+
677
+ <th>Name</th>
678
+
679
+
680
+ <th>Type</th>
681
+
682
+
683
+ <th>Attributes</th>
684
+
685
+
686
+
687
+ <th>Default</th>
688
+
689
+
690
+ <th class="last">Description</th>
691
+ </tr>
692
+ </thead>
693
+
694
+ <tbody>
695
+
696
+
697
+ <tr>
698
+
699
+ <td class="name"><code>context</code></td>
700
+
701
+
702
+ <td class="type">
703
+
704
+
705
+ <span class="param-type">CanvasRenderingContext2D</span>
706
+
707
+
708
+
709
+ </td>
710
+
711
+
712
+ <td class="attributes">
713
+
714
+
715
+
716
+
717
+
718
+ </td>
719
+
720
+
721
+
722
+ <td class="default">
723
+
724
+ </td>
725
+
726
+
727
+ <td class="description last"></td>
728
+ </tr>
729
+
730
+
731
+
732
+ <tr>
733
+
734
+ <td class="name"><code>forceDraw</code></td>
735
+
736
+
737
+ <td class="type">
738
+
739
+
740
+ <span class="param-type">Boolean</span>
741
+
742
+
743
+
744
+ </td>
745
+
746
+
747
+ <td class="attributes">
748
+
749
+ &lt;optional><br>
750
+
751
+
752
+
753
+
754
+
755
+ </td>
756
+
757
+
758
+
759
+ <td class="default">
760
+
761
+ 0
762
+
763
+ </td>
764
+
765
+
766
+ <td class="description last"></td>
767
+ </tr>
768
+
769
+
770
+ </tbody>
771
+ </table>
772
+
773
+ </div>
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+ <dl class="details">
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+ <div class="details-item-container">
809
+ <dt class="tag-source">Source:</dt>
810
+ <dd class="tag-source"><ul class="dummy"><li>
811
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line245">line 245</a>
812
+ </li></ul></dd>
813
+ </div>
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+ </dl>
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+ <h4 class="name" id=".glCreateBuffer">
846
+ <a href="#.glCreateBuffer">#</a>
847
+ <span class="type-signature">(static) </span>glCreateBuffer<span class="signature">(bufferType, size, usage)</span><span class="type-signature"> &rarr; {WebGLBuffer}</span>
848
+ </h4>
849
+
850
+
851
+
852
+
853
+
854
+ <div class="description">
855
+ Create WebGL buffer
856
+ </div>
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
867
+ <strong>Parameters:</strong>
868
+
869
+
870
+ <table class="params">
871
+ <thead>
872
+ <tr>
873
+
874
+ <th>Name</th>
875
+
876
+
877
+ <th>Type</th>
878
+
879
+
880
+
881
+
882
+
883
+ <th class="last">Description</th>
884
+ </tr>
885
+ </thead>
886
+
887
+ <tbody>
888
+
889
+
890
+ <tr>
891
+
892
+ <td class="name"><code>bufferType</code></td>
893
+
894
+
895
+ <td class="type">
896
+
897
+ </td>
898
+
899
+
900
+
901
+
902
+
903
+ <td class="description last"></td>
904
+ </tr>
905
+
906
+
907
+
908
+ <tr>
909
+
910
+ <td class="name"><code>size</code></td>
911
+
912
+
913
+ <td class="type">
914
+
915
+ </td>
916
+
917
+
918
+
919
+
920
+
921
+ <td class="description last"></td>
922
+ </tr>
923
+
924
+
925
+
926
+ <tr>
927
+
928
+ <td class="name"><code>usage</code></td>
929
+
930
+
931
+ <td class="type">
932
+
933
+ </td>
934
+
935
+
936
+
937
+
938
+
939
+ <td class="description last"></td>
940
+ </tr>
941
+
942
+
943
+ </tbody>
944
+ </table>
945
+
946
+ </div>
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+ <dl class="details">
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+ <div class="details-item-container">
982
+ <dt class="tag-source">Source:</dt>
983
+ <dd class="tag-source"><ul class="dummy"><li>
984
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line164">line 164</a>
985
+ </li></ul></dd>
986
+ </div>
987
+
988
+
989
+
990
+
991
+
992
+
993
+
994
+ </dl>
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+ <div class="method-member-container mt-20">
1011
+ <strong>Returns:</strong>
1012
+
1013
+
1014
+
1015
+
1016
+ <dl class="param-type">
1017
+ <dt>
1018
+ Type
1019
+ </dt>
1020
+ <dd>
1021
+
1022
+ <span class="param-type">WebGLBuffer</span>
1023
+
1024
+
1025
+ </dd>
1026
+ </dl>
1027
+
1028
+
1029
+ </div>
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ <h4 class="name" id=".glCreateProgram">
1040
+ <a href="#.glCreateProgram">#</a>
1041
+ <span class="type-signature">(static) </span>glCreateProgram<span class="signature">(vsSource, fsSource)</span><span class="type-signature"> &rarr; {WebGLProgram}</span>
1042
+ </h4>
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+ <div class="description">
1049
+ Create WebGL program with given shaders
1050
+ </div>
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1061
+ <strong>Parameters:</strong>
1062
+
1063
+
1064
+ <table class="params">
1065
+ <thead>
1066
+ <tr>
1067
+
1068
+ <th>Name</th>
1069
+
1070
+
1071
+ <th>Type</th>
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+ <th class="last">Description</th>
1078
+ </tr>
1079
+ </thead>
1080
+
1081
+ <tbody>
1082
+
1083
+
1084
+ <tr>
1085
+
1086
+ <td class="name"><code>vsSource</code></td>
1087
+
1088
+
1089
+ <td class="type">
1090
+
1091
+
1092
+ <span class="param-type">WebGLShader</span>
1093
+
1094
+
1095
+
1096
+ </td>
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+ <td class="description last"></td>
1103
+ </tr>
1104
+
1105
+
1106
+
1107
+ <tr>
1108
+
1109
+ <td class="name"><code>fsSource</code></td>
1110
+
1111
+
1112
+ <td class="type">
1113
+
1114
+
1115
+ <span class="param-type">WebGLShader</span>
1116
+
1117
+
1118
+
1119
+ </td>
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+ <td class="description last"></td>
1126
+ </tr>
1127
+
1128
+
1129
+ </tbody>
1130
+ </table>
1131
+
1132
+ </div>
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+ <dl class="details">
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+ <div class="details-item-container">
1168
+ <dt class="tag-source">Source:</dt>
1169
+ <dd class="tag-source"><ul class="dummy"><li>
1170
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line142">line 142</a>
1171
+ </li></ul></dd>
1172
+ </div>
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+ </dl>
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+ <div class="method-member-container mt-20">
1197
+ <strong>Returns:</strong>
1198
+
1199
+
1200
+
1201
+
1202
+ <dl class="param-type">
1203
+ <dt>
1204
+ Type
1205
+ </dt>
1206
+ <dd>
1207
+
1208
+ <span class="param-type">WebGLProgram</span>
1209
+
1210
+
1211
+ </dd>
1212
+ </dl>
1213
+
1214
+
1215
+ </div>
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+ <h4 class="name" id=".glCreateTexture">
1226
+ <a href="#.glCreateTexture">#</a>
1227
+ <span class="type-signature">(static) </span>glCreateTexture<span class="signature">(image)</span><span class="type-signature"> &rarr; {WebGLTexture}</span>
1228
+ </h4>
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+ <div class="description">
1235
+ Create WebGL texture from an image and set the texture settings
1236
+ </div>
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1247
+ <strong>Parameters:</strong>
1248
+
1249
+
1250
+ <table class="params">
1251
+ <thead>
1252
+ <tr>
1253
+
1254
+ <th>Name</th>
1255
+
1256
+
1257
+ <th>Type</th>
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+ <th class="last">Description</th>
1264
+ </tr>
1265
+ </thead>
1266
+
1267
+ <tbody>
1268
+
1269
+
1270
+ <tr>
1271
+
1272
+ <td class="name"><code>image</code></td>
1273
+
1274
+
1275
+ <td class="type">
1276
+
1277
+
1278
+ <span class="param-type">Image</span>
1279
+
1280
+
1281
+
1282
+ </td>
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+ <td class="description last"></td>
1289
+ </tr>
1290
+
1291
+
1292
+ </tbody>
1293
+ </table>
1294
+
1295
+ </div>
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+ <dl class="details">
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+ <div class="details-item-container">
1331
+ <dt class="tag-source">Source:</dt>
1332
+ <dd class="tag-source"><ul class="dummy"><li>
1333
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line179">line 179</a>
1334
+ </li></ul></dd>
1335
+ </div>
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+ </dl>
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+
1359
+ <div class="method-member-container mt-20">
1360
+ <strong>Returns:</strong>
1361
+
1362
+
1363
+
1364
+
1365
+ <dl class="param-type">
1366
+ <dt>
1367
+ Type
1368
+ </dt>
1369
+ <dd>
1370
+
1371
+ <span class="param-type">WebGLTexture</span>
1372
+
1373
+
1374
+ </dd>
1375
+ </dl>
1376
+
1377
+
1378
+ </div>
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+ <h4 class="name" id=".glDraw">
1389
+ <a href="#.glDraw">#</a>
1390
+ <span class="type-signature">(static) </span>glDraw<span class="signature">(x, y, sizeX, sizeY, angle, uv0X, uv0Y, uv1X, uv1Y, rgba<span class="signature-attributes">opt</span>, rgbaAdditive<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1391
+ </h4>
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+ <div class="description">
1398
+ Add a sprite to the gl draw list, used by all gl draw functions
1399
+ </div>
1400
+
1401
+
1402
+
1403
+
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1410
+ <strong>Parameters:</strong>
1411
+
1412
+
1413
+ <table class="params">
1414
+ <thead>
1415
+ <tr>
1416
+
1417
+ <th>Name</th>
1418
+
1419
+
1420
+ <th>Type</th>
1421
+
1422
+
1423
+ <th>Attributes</th>
1424
+
1425
+
1426
+
1427
+ <th>Default</th>
1428
+
1429
+
1430
+ <th class="last">Description</th>
1431
+ </tr>
1432
+ </thead>
1433
+
1434
+ <tbody>
1435
+
1436
+
1437
+ <tr>
1438
+
1439
+ <td class="name"><code>x</code></td>
1440
+
1441
+
1442
+ <td class="type">
1443
+
1444
+ </td>
1445
+
1446
+
1447
+ <td class="attributes">
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+ </td>
1454
+
1455
+
1456
+
1457
+ <td class="default">
1458
+
1459
+ </td>
1460
+
1461
+
1462
+ <td class="description last"></td>
1463
+ </tr>
1464
+
1465
+
1466
+
1467
+ <tr>
1468
+
1469
+ <td class="name"><code>y</code></td>
1470
+
1471
+
1472
+ <td class="type">
1473
+
1474
+ </td>
1475
+
1476
+
1477
+ <td class="attributes">
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+ </td>
1484
+
1485
+
1486
+
1487
+ <td class="default">
1488
+
1489
+ </td>
1490
+
1491
+
1492
+ <td class="description last"></td>
1493
+ </tr>
1494
+
1495
+
1496
+
1497
+ <tr>
1498
+
1499
+ <td class="name"><code>sizeX</code></td>
1500
+
1501
+
1502
+ <td class="type">
1503
+
1504
+ </td>
1505
+
1506
+
1507
+ <td class="attributes">
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+ </td>
1514
+
1515
+
1516
+
1517
+ <td class="default">
1518
+
1519
+ </td>
1520
+
1521
+
1522
+ <td class="description last"></td>
1523
+ </tr>
1524
+
1525
+
1526
+
1527
+ <tr>
1528
+
1529
+ <td class="name"><code>sizeY</code></td>
1530
+
1531
+
1532
+ <td class="type">
1533
+
1534
+ </td>
1535
+
1536
+
1537
+ <td class="attributes">
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+ </td>
1544
+
1545
+
1546
+
1547
+ <td class="default">
1548
+
1549
+ </td>
1550
+
1551
+
1552
+ <td class="description last"></td>
1553
+ </tr>
1554
+
1555
+
1556
+
1557
+ <tr>
1558
+
1559
+ <td class="name"><code>angle</code></td>
1560
+
1561
+
1562
+ <td class="type">
1563
+
1564
+ </td>
1565
+
1566
+
1567
+ <td class="attributes">
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+ </td>
1574
+
1575
+
1576
+
1577
+ <td class="default">
1578
+
1579
+ </td>
1580
+
1581
+
1582
+ <td class="description last"></td>
1583
+ </tr>
1584
+
1585
+
1586
+
1587
+ <tr>
1588
+
1589
+ <td class="name"><code>uv0X</code></td>
1590
+
1591
+
1592
+ <td class="type">
1593
+
1594
+ </td>
1595
+
1596
+
1597
+ <td class="attributes">
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+ </td>
1604
+
1605
+
1606
+
1607
+ <td class="default">
1608
+
1609
+ </td>
1610
+
1611
+
1612
+ <td class="description last"></td>
1613
+ </tr>
1614
+
1615
+
1616
+
1617
+ <tr>
1618
+
1619
+ <td class="name"><code>uv0Y</code></td>
1620
+
1621
+
1622
+ <td class="type">
1623
+
1624
+ </td>
1625
+
1626
+
1627
+ <td class="attributes">
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+ </td>
1634
+
1635
+
1636
+
1637
+ <td class="default">
1638
+
1639
+ </td>
1640
+
1641
+
1642
+ <td class="description last"></td>
1643
+ </tr>
1644
+
1645
+
1646
+
1647
+ <tr>
1648
+
1649
+ <td class="name"><code>uv1X</code></td>
1650
+
1651
+
1652
+ <td class="type">
1653
+
1654
+ </td>
1655
+
1656
+
1657
+ <td class="attributes">
1658
+
1659
+
1660
+
1661
+
1662
+
1663
+ </td>
1664
+
1665
+
1666
+
1667
+ <td class="default">
1668
+
1669
+ </td>
1670
+
1671
+
1672
+ <td class="description last"></td>
1673
+ </tr>
1674
+
1675
+
1676
+
1677
+ <tr>
1678
+
1679
+ <td class="name"><code>uv1Y</code></td>
1680
+
1681
+
1682
+ <td class="type">
1683
+
1684
+ </td>
1685
+
1686
+
1687
+ <td class="attributes">
1688
+
1689
+
1690
+
1691
+
1692
+
1693
+ </td>
1694
+
1695
+
1696
+
1697
+ <td class="default">
1698
+
1699
+ </td>
1700
+
1701
+
1702
+ <td class="description last"></td>
1703
+ </tr>
1704
+
1705
+
1706
+
1707
+ <tr>
1708
+
1709
+ <td class="name"><code>rgba</code></td>
1710
+
1711
+
1712
+ <td class="type">
1713
+
1714
+ </td>
1715
+
1716
+
1717
+ <td class="attributes">
1718
+
1719
+ &lt;optional><br>
1720
+
1721
+
1722
+
1723
+
1724
+
1725
+ </td>
1726
+
1727
+
1728
+
1729
+ <td class="default">
1730
+
1731
+ 0xffffffff
1732
+
1733
+ </td>
1734
+
1735
+
1736
+ <td class="description last"></td>
1737
+ </tr>
1738
+
1739
+
1740
+
1741
+ <tr>
1742
+
1743
+ <td class="name"><code>rgbaAdditive</code></td>
1744
+
1745
+
1746
+ <td class="type">
1747
+
1748
+ </td>
1749
+
1750
+
1751
+ <td class="attributes">
1752
+
1753
+ &lt;optional><br>
1754
+
1755
+
1756
+
1757
+
1758
+
1759
+ </td>
1760
+
1761
+
1762
+
1763
+ <td class="default">
1764
+
1765
+ 0
1766
+
1767
+ </td>
1768
+
1769
+
1770
+ <td class="description last"></td>
1771
+ </tr>
1772
+
1773
+
1774
+ </tbody>
1775
+ </table>
1776
+
1777
+ </div>
1778
+
1779
+
1780
+
1781
+
1782
+
1783
+
1784
+
1785
+ <dl class="details">
1786
+
1787
+
1788
+
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+
1801
+
1802
+
1803
+
1804
+
1805
+
1806
+
1807
+
1808
+
1809
+
1810
+
1811
+
1812
+ <div class="details-item-container">
1813
+ <dt class="tag-source">Source:</dt>
1814
+ <dd class="tag-source"><ul class="dummy"><li>
1815
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line269">line 269</a>
1816
+ </li></ul></dd>
1817
+ </div>
1818
+
1819
+
1820
+
1821
+
1822
+
1823
+
1824
+
1825
+ </dl>
1826
+
1827
+
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+
1848
+
1849
+ <h4 class="name" id=".glFlush">
1850
+ <a href="#.glFlush">#</a>
1851
+ <span class="type-signature">(static) </span>glFlush<span class="signature">()</span><span class="type-signature"></span>
1852
+ </h4>
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+ <div class="description">
1859
+ Draw all sprites and clear out the buffer, called automatically by the system whenever necessary
1860
+ </div>
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+
1872
+
1873
+
1874
+
1875
+
1876
+ <dl class="details">
1877
+
1878
+
1879
+
1880
+
1881
+
1882
+
1883
+
1884
+
1885
+
1886
+
1887
+
1888
+
1889
+
1890
+
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+ <div class="details-item-container">
1904
+ <dt class="tag-source">Source:</dt>
1905
+ <dd class="tag-source"><ul class="dummy"><li>
1906
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line225">line 225</a>
1907
+ </li></ul></dd>
1908
+ </div>
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+ </dl>
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+ <h4 class="name" id=".glSetBlendMode">
1941
+ <a href="#.glSetBlendMode">#</a>
1942
+ <span class="type-signature">(static) </span>glSetBlendMode<span class="signature">(additive<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1943
+ </h4>
1944
+
1945
+
1946
+
1947
+
1948
+
1949
+ <div class="description">
1950
+ Set the WebGl blend mode, normally you should call setBlendMode instead
1951
+ </div>
1952
+
1953
+
1954
+
1955
+
1956
+
1957
+
1958
+
1959
+
1960
+
1961
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1962
+ <strong>Parameters:</strong>
1963
+
1964
+
1965
+ <table class="params">
1966
+ <thead>
1967
+ <tr>
1968
+
1969
+ <th>Name</th>
1970
+
1971
+
1972
+ <th>Type</th>
1973
+
1974
+
1975
+ <th>Attributes</th>
1976
+
1977
+
1978
+
1979
+ <th>Default</th>
1980
+
1981
+
1982
+ <th class="last">Description</th>
1983
+ </tr>
1984
+ </thead>
1985
+
1986
+ <tbody>
1987
+
1988
+
1989
+ <tr>
1990
+
1991
+ <td class="name"><code>additive</code></td>
1992
+
1993
+
1994
+ <td class="type">
1995
+
1996
+
1997
+ <span class="param-type">Boolean</span>
1998
+
1999
+
2000
+
2001
+ </td>
2002
+
2003
+
2004
+ <td class="attributes">
2005
+
2006
+ &lt;optional><br>
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+ </td>
2013
+
2014
+
2015
+
2016
+ <td class="default">
2017
+
2018
+ 0
2019
+
2020
+ </td>
2021
+
2022
+
2023
+ <td class="description last"></td>
2024
+ </tr>
2025
+
2026
+
2027
+ </tbody>
2028
+ </table>
2029
+
2030
+ </div>
2031
+
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+
2038
+ <dl class="details">
2039
+
2040
+
2041
+
2042
+
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+
2049
+
2050
+
2051
+
2052
+
2053
+
2054
+
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+
2065
+ <div class="details-item-container">
2066
+ <dt class="tag-source">Source:</dt>
2067
+ <dd class="tag-source"><ul class="dummy"><li>
2068
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line94">line 94</a>
2069
+ </li></ul></dd>
2070
+ </div>
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+ </dl>
2079
+
2080
+
2081
+
2082
+
2083
+
2084
+
2085
+
2086
+
2087
+
2088
+
2089
+
2090
+
2091
+
2092
+
2093
+
2094
+
2095
+
2096
+
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+ <h4 class="name" id=".glSetTexture">
2103
+ <a href="#.glSetTexture">#</a>
2104
+ <span class="type-signature">(static) </span>glSetTexture<span class="signature">(texture<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
2105
+ </h4>
2106
+
2107
+
2108
+
2109
+
2110
+
2111
+ <div class="description">
2112
+ Set the WebGl texture, not normally necessary unless multiple tile sheets are used
2113
  <br> - This may also flush the gl buffer resulting in more draw calls and worse performance
2114
+ </div>
2115
+
2116
+
2117
+
2118
+
2119
+
2120
+
2121
+
2122
+
2123
+
2124
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2125
+ <strong>Parameters:</strong>
2126
+
2127
+
2128
+ <table class="params">
2129
+ <thead>
2130
+ <tr>
2131
+
2132
+ <th>Name</th>
2133
+
2134
+
2135
+ <th>Type</th>
2136
+
2137
+
2138
+ <th>Attributes</th>
2139
+
2140
+
2141
+
2142
+ <th>Default</th>
2143
+
2144
+
2145
+ <th class="last">Description</th>
2146
+ </tr>
2147
+ </thead>
2148
+
2149
+ <tbody>
2150
+
2151
+
2152
+ <tr>
2153
+
2154
+ <td class="name"><code>texture</code></td>
2155
+
2156
+
2157
+ <td class="type">
2158
+
2159
+
2160
+ <span class="param-type">WebGLTexture</span>
2161
+
2162
+
2163
+
2164
+ </td>
2165
+
2166
+
2167
+ <td class="attributes">
2168
+
2169
+ &lt;optional><br>
2170
+
2171
+
2172
+
2173
+
2174
+
2175
+ </td>
2176
+
2177
+
2178
+
2179
+ <td class="default">
2180
+
2181
+ glTileTexture
2182
+
2183
+ </td>
2184
+
2185
+
2186
+ <td class="description last"></td>
2187
+ </tr>
2188
+
2189
+
2190
+ </tbody>
2191
+ </table>
2192
+
2193
+ </div>
2194
+
2195
+
2196
+
2197
+
2198
+
2199
+
2200
+
2201
+ <dl class="details">
2202
+
2203
+
2204
+
2205
+
2206
+
2207
+
2208
+
2209
+
2210
+
2211
+
2212
+
2213
+
2214
+
2215
+
2216
+
2217
+
2218
+
2219
+
2220
+
2221
+
2222
+
2223
+
2224
+
2225
+
2226
+
2227
+
2228
+ <div class="details-item-container">
2229
+ <dt class="tag-source">Source:</dt>
2230
+ <dd class="tag-source"><ul class="dummy"><li>
2231
+ <a href="engineWebGL.js.html">engineWebGL.js</a>, <a href="engineWebGL.js.html#line106">line 106</a>
2232
+ </li></ul></dd>
2233
+ </div>
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+ </dl>
2242
+
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+
2265
+
2266
+ </article>
2267
+
2268
+ </section>
2269
+
2270
+
2271
+
2272
+
2273
+ </div>
2274
+
2275
+ <footer class="footer" id="footer">
2276
+ <a href=https://github.com/KilledByAPixel/LittleJS>LittleJS - MIT License - Copyright 2021 Frank Force</a>
2277
+ </footer>
2278
+
2279
+ <script src="scripts/third-party/prettify.js"></script>
2280
+ <script src="scripts/third-party/lang-css.js"></script>
2281
+ <script type="text/javascript" src="scripts/misc.js"></script>
2282
+
2283
+ <script>prettyPrint();</script>
2284
+ <script src="scripts/linenumber.js"></script>
2285
+ <script src="scripts/fix-code-block.js"></script>
2286
+ <script src="scripts/fix-navbar.js"></script>
2287
+
2288
+ <script src="scripts/search.js"></script>
2289
+ <script src="scripts/third-party/fuse.js"></script>
2290
+ <script>
2291
+ var list = [{"title":"Color","link":"<a href=\"Color.html\">Color</a>"},{"title":"Color#add","link":"<a href=\"Color.html#add\">Color &rtrif; add</a>"},{"title":"Color#clamp","link":"<a href=\"Color.html#clamp\">Color &rtrif; clamp</a>"},{"title":"Color#copy","link":"<a href=\"Color.html#copy\">Color &rtrif; copy</a>"},{"title":"Color#divide","link":"<a href=\"Color.html#divide\">Color &rtrif; divide</a>"},{"title":"Color#getHSLA","link":"<a href=\"Color.html#getHSLA\">Color &rtrif; getHSLA</a>"},{"title":"Color#hex","link":"<a href=\"Color.html#hex\">Color &rtrif; hex</a>"},{"title":"Color#lerp","link":"<a href=\"Color.html#lerp\">Color &rtrif; lerp</a>"},{"title":"Color#multiply","link":"<a href=\"Color.html#multiply\">Color &rtrif; multiply</a>"},{"title":"Color#mutate","link":"<a href=\"Color.html#mutate\">Color &rtrif; mutate</a>"},{"title":"Color#rgbaInt","link":"<a href=\"Color.html#rgbaInt\">Color &rtrif; rgbaInt</a>"},{"title":"Color#scale","link":"<a href=\"Color.html#scale\">Color &rtrif; scale</a>"},{"title":"Color#setHex","link":"<a href=\"Color.html#setHex\">Color &rtrif; setHex</a>"},{"title":"Color#setHSLA","link":"<a href=\"Color.html#setHSLA\">Color &rtrif; setHSLA</a>"},{"title":"Color#subtract","link":"<a href=\"Color.html#subtract\">Color &rtrif; subtract</a>"},{"title":"Color#toString","link":"<a href=\"Color.html#toString\">Color &rtrif; toString</a>"},{"title":"EngineObject","link":"<a href=\"EngineObject.html\">EngineObject</a>"},{"title":"EngineObject#addChild","link":"<a href=\"EngineObject.html#addChild\">EngineObject &rtrif; addChild</a>"},{"title":"EngineObject#applyAcceleration","link":"<a href=\"EngineObject.html#applyAcceleration\">EngineObject &rtrif; applyAcceleration</a>"},{"title":"EngineObject#applyForce","link":"<a href=\"EngineObject.html#applyForce\">EngineObject &rtrif; applyForce</a>"},{"title":"EngineObject#collideWithObject","link":"<a href=\"EngineObject.html#collideWithObject\">EngineObject &rtrif; collideWithObject</a>"},{"title":"EngineObject#collideWithTile","link":"<a href=\"EngineObject.html#collideWithTile\">EngineObject &rtrif; collideWithTile</a>"},{"title":"EngineObject#collideWithTileRaycast","link":"<a href=\"EngineObject.html#collideWithTileRaycast\">EngineObject &rtrif; collideWithTileRaycast</a>"},{"title":"EngineObject#destroy","link":"<a href=\"EngineObject.html#destroy\">EngineObject &rtrif; destroy</a>"},{"title":"EngineObject#getAliveTime","link":"<a href=\"EngineObject.html#getAliveTime\">EngineObject &rtrif; getAliveTime</a>"},{"title":"EngineObject#getMirrorSign","link":"<a href=\"EngineObject.html#getMirrorSign\">EngineObject &rtrif; getMirrorSign</a>"},{"title":"EngineObject#removeChild","link":"<a href=\"EngineObject.html#removeChild\">EngineObject &rtrif; removeChild</a>"},{"title":"EngineObject#render","link":"<a href=\"EngineObject.html#render\">EngineObject &rtrif; render</a>"},{"title":"EngineObject#setCollision","link":"<a href=\"EngineObject.html#setCollision\">EngineObject &rtrif; setCollision</a>"},{"title":"EngineObject#update","link":"<a href=\"EngineObject.html#update\">EngineObject &rtrif; update</a>"},{"title":"FontImage","link":"<a href=\"FontImage.html\">FontImage</a>"},{"title":"FontImage#drawText","link":"<a href=\"FontImage.html#drawText\">FontImage &rtrif; drawText</a>"},{"title":"FontImage#drawTextScreen","link":"<a href=\"FontImage.html#drawTextScreen\">FontImage &rtrif; drawTextScreen</a>"},{"title":"Medal","link":"<a href=\"Medal.html\">Medal</a>"},{"title":"Medal#render","link":"<a href=\"Medal.html#render\">Medal &rtrif; render</a>"},{"title":"Medal#renderIcon","link":"<a href=\"Medal.html#renderIcon\">Medal &rtrif; renderIcon</a>"},{"title":"Medal#unlock","link":"<a href=\"Medal.html#unlock\">Medal &rtrif; unlock</a>"},{"title":"Music","link":"<a href=\"Music.html\">Music</a>"},{"title":"Music#play","link":"<a href=\"Music.html#play\">Music &rtrif; play</a>"},{"title":"Newgrounds","link":"<a href=\"Newgrounds.html\">Newgrounds</a>"},{"title":"Newgrounds#call","link":"<a href=\"Newgrounds.html#call\">Newgrounds &rtrif; call</a>"},{"title":"Newgrounds#getScores","link":"<a href=\"Newgrounds.html#getScores\">Newgrounds &rtrif; getScores</a>"},{"title":"Newgrounds#logView","link":"<a href=\"Newgrounds.html#logView\">Newgrounds &rtrif; logView</a>"},{"title":"Newgrounds#postScore","link":"<a href=\"Newgrounds.html#postScore\">Newgrounds &rtrif; postScore</a>"},{"title":"Newgrounds#unlockMedal","link":"<a href=\"Newgrounds.html#unlockMedal\">Newgrounds &rtrif; unlockMedal</a>"},{"title":"Particle","link":"<a href=\"Particle.html\">Particle</a>"},{"title":"Particle#addChild","link":"<a href=\"Particle.html#addChild\">Particle &rtrif; addChild</a>"},{"title":"Particle#applyAcceleration","link":"<a href=\"Particle.html#applyAcceleration\">Particle &rtrif; applyAcceleration</a>"},{"title":"Particle#applyForce","link":"<a href=\"Particle.html#applyForce\">Particle &rtrif; applyForce</a>"},{"title":"Particle#collideWithObject","link":"<a href=\"Particle.html#collideWithObject\">Particle &rtrif; collideWithObject</a>"},{"title":"Particle#collideWithTile","link":"<a href=\"Particle.html#collideWithTile\">Particle &rtrif; collideWithTile</a>"},{"title":"Particle#collideWithTileRaycast","link":"<a href=\"Particle.html#collideWithTileRaycast\">Particle &rtrif; collideWithTileRaycast</a>"},{"title":"Particle#destroy","link":"<a href=\"Particle.html#destroy\">Particle &rtrif; destroy</a>"},{"title":"Particle#getAliveTime","link":"<a href=\"Particle.html#getAliveTime\">Particle &rtrif; getAliveTime</a>"},{"title":"Particle#getMirrorSign","link":"<a href=\"Particle.html#getMirrorSign\">Particle &rtrif; getMirrorSign</a>"},{"title":"Particle#removeChild","link":"<a href=\"Particle.html#removeChild\">Particle &rtrif; removeChild</a>"},{"title":"Particle#render","link":"<a href=\"Particle.html#render\">Particle &rtrif; render</a>"},{"title":"Particle#setCollision","link":"<a href=\"Particle.html#setCollision\">Particle &rtrif; setCollision</a>"},{"title":"Particle#update","link":"<a href=\"Particle.html#update\">Particle &rtrif; update</a>"},{"title":"ParticleEmitter","link":"<a href=\"ParticleEmitter.html\">ParticleEmitter</a>"},{"title":"ParticleEmitter#addChild","link":"<a href=\"ParticleEmitter.html#addChild\">ParticleEmitter &rtrif; addChild</a>"},{"title":"ParticleEmitter#applyAcceleration","link":"<a href=\"ParticleEmitter.html#applyAcceleration\">ParticleEmitter &rtrif; applyAcceleration</a>"},{"title":"ParticleEmitter#applyForce","link":"<a href=\"ParticleEmitter.html#applyForce\">ParticleEmitter &rtrif; applyForce</a>"},{"title":"ParticleEmitter#collideWithObject","link":"<a href=\"ParticleEmitter.html#collideWithObject\">ParticleEmitter &rtrif; collideWithObject</a>"},{"title":"ParticleEmitter#collideWithTile","link":"<a href=\"ParticleEmitter.html#collideWithTile\">ParticleEmitter &rtrif; collideWithTile</a>"},{"title":"ParticleEmitter#collideWithTileRaycast","link":"<a href=\"ParticleEmitter.html#collideWithTileRaycast\">ParticleEmitter &rtrif; collideWithTileRaycast</a>"},{"title":"ParticleEmitter#destroy","link":"<a href=\"ParticleEmitter.html#destroy\">ParticleEmitter &rtrif; destroy</a>"},{"title":"ParticleEmitter#emitParticle","link":"<a href=\"ParticleEmitter.html#emitParticle\">ParticleEmitter &rtrif; emitParticle</a>"},{"title":"ParticleEmitter#getAliveTime","link":"<a href=\"ParticleEmitter.html#getAliveTime\">ParticleEmitter &rtrif; getAliveTime</a>"},{"title":"ParticleEmitter#getMirrorSign","link":"<a href=\"ParticleEmitter.html#getMirrorSign\">ParticleEmitter &rtrif; getMirrorSign</a>"},{"title":"ParticleEmitter#removeChild","link":"<a href=\"ParticleEmitter.html#removeChild\">ParticleEmitter &rtrif; removeChild</a>"},{"title":"ParticleEmitter#render","link":"<a href=\"ParticleEmitter.html#render\">ParticleEmitter &rtrif; render</a>"},{"title":"ParticleEmitter#setCollision","link":"<a href=\"ParticleEmitter.html#setCollision\">ParticleEmitter &rtrif; setCollision</a>"},{"title":"ParticleEmitter#update","link":"<a href=\"ParticleEmitter.html#update\">ParticleEmitter &rtrif; update</a>"},{"title":"Sound","link":"<a href=\"Sound.html\">Sound</a>"},{"title":"Sound#play","link":"<a href=\"Sound.html#play\">Sound &rtrif; play</a>"},{"title":"Sound#playNote","link":"<a href=\"Sound.html#playNote\">Sound &rtrif; playNote</a>"},{"title":"TileLayer","link":"<a href=\"TileLayer.html\">TileLayer</a>"},{"title":"TileLayer#addChild","link":"<a href=\"TileLayer.html#addChild\">TileLayer &rtrif; addChild</a>"},{"title":"TileLayer#applyAcceleration","link":"<a href=\"TileLayer.html#applyAcceleration\">TileLayer &rtrif; applyAcceleration</a>"},{"title":"TileLayer#applyForce","link":"<a href=\"TileLayer.html#applyForce\">TileLayer &rtrif; applyForce</a>"},{"title":"TileLayer#collideWithObject","link":"<a href=\"TileLayer.html#collideWithObject\">TileLayer &rtrif; collideWithObject</a>"},{"title":"TileLayer#collideWithTile","link":"<a href=\"TileLayer.html#collideWithTile\">TileLayer &rtrif; collideWithTile</a>"},{"title":"TileLayer#collideWithTileRaycast","link":"<a href=\"TileLayer.html#collideWithTileRaycast\">TileLayer &rtrif; collideWithTileRaycast</a>"},{"title":"TileLayer#destroy","link":"<a href=\"TileLayer.html#destroy\">TileLayer &rtrif; destroy</a>"},{"title":"TileLayer#drawAllTileData","link":"<a href=\"TileLayer.html#drawAllTileData\">TileLayer &rtrif; drawAllTileData</a>"},{"title":"TileLayer#drawCanvas2D","link":"<a href=\"TileLayer.html#drawCanvas2D\">TileLayer &rtrif; drawCanvas2D</a>"},{"title":"TileLayer#drawRect","link":"<a href=\"TileLayer.html#drawRect\">TileLayer &rtrif; drawRect</a>"},{"title":"TileLayer#drawTile","link":"<a href=\"TileLayer.html#drawTile\">TileLayer &rtrif; drawTile</a>"},{"title":"TileLayer#drawTileData","link":"<a href=\"TileLayer.html#drawTileData\">TileLayer &rtrif; drawTileData</a>"},{"title":"TileLayer#getAliveTime","link":"<a href=\"TileLayer.html#getAliveTime\">TileLayer &rtrif; getAliveTime</a>"},{"title":"TileLayer#getData","link":"<a href=\"TileLayer.html#getData\">TileLayer &rtrif; getData</a>"},{"title":"TileLayer#getMirrorSign","link":"<a href=\"TileLayer.html#getMirrorSign\">TileLayer &rtrif; getMirrorSign</a>"},{"title":"TileLayer#redraw","link":"<a href=\"TileLayer.html#redraw\">TileLayer &rtrif; redraw</a>"},{"title":"TileLayer#redrawEnd","link":"<a href=\"TileLayer.html#redrawEnd\">TileLayer &rtrif; redrawEnd</a>"},{"title":"TileLayer#redrawStart","link":"<a href=\"TileLayer.html#redrawStart\">TileLayer &rtrif; redrawStart</a>"},{"title":"TileLayer#removeChild","link":"<a href=\"TileLayer.html#removeChild\">TileLayer &rtrif; removeChild</a>"},{"title":"TileLayer#render","link":"<a href=\"TileLayer.html#render\">TileLayer &rtrif; render</a>"},{"title":"TileLayer#setCollision","link":"<a href=\"TileLayer.html#setCollision\">TileLayer &rtrif; setCollision</a>"},{"title":"TileLayer#setData","link":"<a href=\"TileLayer.html#setData\">TileLayer &rtrif; setData</a>"},{"title":"TileLayer#update","link":"<a href=\"TileLayer.html#update\">TileLayer &rtrif; update</a>"},{"title":"TileLayerData","link":"<a href=\"TileLayerData.html\">TileLayerData</a>"},{"title":"TileLayerData#clear","link":"<a href=\"TileLayerData.html#clear\">TileLayerData &rtrif; clear</a>"},{"title":"Timer","link":"<a href=\"Timer.html\">Timer</a>"},{"title":"Timer#active","link":"<a href=\"Timer.html#active\">Timer &rtrif; active</a>"},{"title":"Timer#elapsed","link":"<a href=\"Timer.html#elapsed\">Timer &rtrif; elapsed</a>"},{"title":"Timer#get","link":"<a href=\"Timer.html#get\">Timer &rtrif; get</a>"},{"title":"Timer#getPercent","link":"<a href=\"Timer.html#getPercent\">Timer &rtrif; getPercent</a>"},{"title":"Timer#isSet","link":"<a href=\"Timer.html#isSet\">Timer &rtrif; isSet</a>"},{"title":"Timer#set","link":"<a href=\"Timer.html#set\">Timer &rtrif; set</a>"},{"title":"Timer#toString","link":"<a href=\"Timer.html#toString\">Timer &rtrif; toString</a>"},{"title":"Timer#unset","link":"<a href=\"Timer.html#unset\">Timer &rtrif; unset</a>"},{"title":"Vector2","link":"<a href=\"Vector2.html\">Vector2</a>"},{"title":"Vector2#add","link":"<a href=\"Vector2.html#add\">Vector2 &rtrif; add</a>"},{"title":"Vector2#angle","link":"<a href=\"Vector2.html#angle\">Vector2 &rtrif; angle</a>"},{"title":"Vector2#area","link":"<a href=\"Vector2.html#area\">Vector2 &rtrif; area</a>"},{"title":"Vector2#arrayCheck","link":"<a href=\"Vector2.html#arrayCheck\">Vector2 &rtrif; arrayCheck</a>"},{"title":"Vector2#clampLength","link":"<a href=\"Vector2.html#clampLength\">Vector2 &rtrif; clampLength</a>"},{"title":"Vector2#copy","link":"<a href=\"Vector2.html#copy\">Vector2 &rtrif; copy</a>"},{"title":"Vector2#cross","link":"<a href=\"Vector2.html#cross\">Vector2 &rtrif; cross</a>"},{"title":"Vector2#direction","link":"<a href=\"Vector2.html#direction\">Vector2 &rtrif; direction</a>"},{"title":"Vector2#distance","link":"<a href=\"Vector2.html#distance\">Vector2 &rtrif; distance</a>"},{"title":"Vector2#distanceSquared","link":"<a href=\"Vector2.html#distanceSquared\">Vector2 &rtrif; distanceSquared</a>"},{"title":"Vector2#divide","link":"<a href=\"Vector2.html#divide\">Vector2 &rtrif; divide</a>"},{"title":"Vector2#dot","link":"<a href=\"Vector2.html#dot\">Vector2 &rtrif; dot</a>"},{"title":"Vector2#floor","link":"<a href=\"Vector2.html#floor\">Vector2 &rtrif; floor</a>"},{"title":"Vector2#invert","link":"<a href=\"Vector2.html#invert\">Vector2 &rtrif; invert</a>"},{"title":"Vector2#length","link":"<a href=\"Vector2.html#length\">Vector2 &rtrif; length</a>"},{"title":"Vector2#lengthSquared","link":"<a href=\"Vector2.html#lengthSquared\">Vector2 &rtrif; lengthSquared</a>"},{"title":"Vector2#lerp","link":"<a href=\"Vector2.html#lerp\">Vector2 &rtrif; lerp</a>"},{"title":"Vector2#multiply","link":"<a href=\"Vector2.html#multiply\">Vector2 &rtrif; multiply</a>"},{"title":"Vector2#normalize","link":"<a href=\"Vector2.html#normalize\">Vector2 &rtrif; normalize</a>"},{"title":"Vector2#rotate","link":"<a href=\"Vector2.html#rotate\">Vector2 &rtrif; rotate</a>"},{"title":"Vector2#scale","link":"<a href=\"Vector2.html#scale\">Vector2 &rtrif; scale</a>"},{"title":"Vector2#setAngle","link":"<a href=\"Vector2.html#setAngle\">Vector2 &rtrif; setAngle</a>"},{"title":"Vector2#subtract","link":"<a href=\"Vector2.html#subtract\">Vector2 &rtrif; subtract</a>"},{"title":"Vector2#toString","link":"<a href=\"Vector2.html#toString\">Vector2 &rtrif; toString</a>"},{"title":"Debug","link":"<a href=\"Debug.html\">Debug</a>"},{"title":"Debug.debugAABB","link":"<a href=\"Debug.html#.debugAABB\">Debug.debugAABB &rtrif; undefined</a>"},{"title":"Debug.debugCircle","link":"<a href=\"Debug.html#.debugCircle\">Debug.debugCircle &rtrif; undefined</a>"},{"title":"Debug.debugClear","link":"<a href=\"Debug.html#.debugClear\">Debug.debugClear &rtrif; undefined</a>"},{"title":"Debug.debugLine","link":"<a href=\"Debug.html#.debugLine\">Debug.debugLine &rtrif; undefined</a>"},{"title":"Debug.debugPoint","link":"<a href=\"Debug.html#.debugPoint\">Debug.debugPoint &rtrif; undefined</a>"},{"title":"Debug.debugRect","link":"<a href=\"Debug.html#.debugRect\">Debug.debugRect &rtrif; undefined</a>"},{"title":"Debug.debugSaveCanvas","link":"<a href=\"Debug.html#.debugSaveCanvas\">Debug.debugSaveCanvas &rtrif; undefined</a>"},{"title":"Debug.debugText","link":"<a href=\"Debug.html#.debugText\">Debug.debugText &rtrif; undefined</a>"},{"title":"Draw","link":"<a href=\"Draw.html\">Draw</a>"},{"title":"Draw.drawCanvas2D","link":"<a href=\"Draw.html#.drawCanvas2D\">Draw.drawCanvas2D &rtrif; undefined</a>"},{"title":"Draw.drawLine","link":"<a href=\"Draw.html#.drawLine\">Draw.drawLine &rtrif; undefined</a>"},{"title":"Draw.drawRect","link":"<a href=\"Draw.html#.drawRect\">Draw.drawRect &rtrif; undefined</a>"},{"title":"Draw.drawRectScreenSpace","link":"<a href=\"Draw.html#.drawRectScreenSpace\">Draw.drawRectScreenSpace &rtrif; undefined</a>"},{"title":"Draw.drawText","link":"<a href=\"Draw.html#.drawText\">Draw.drawText &rtrif; undefined</a>"},{"title":"Draw.drawTextScreen","link":"<a href=\"Draw.html#.drawTextScreen\">Draw.drawTextScreen &rtrif; undefined</a>"},{"title":"Draw.drawTile","link":"<a href=\"Draw.html#.drawTile\">Draw.drawTile &rtrif; undefined</a>"},{"title":"Draw.drawTileScreenSpace","link":"<a href=\"Draw.html#.drawTileScreenSpace\">Draw.drawTileScreenSpace &rtrif; undefined</a>"},{"title":"Draw.isFullscreen","link":"<a href=\"Draw.html#.isFullscreen\">Draw.isFullscreen &rtrif; undefined</a>"},{"title":"Draw.screenToWorld","link":"<a href=\"Draw.html#.screenToWorld\">Draw.screenToWorld &rtrif; undefined</a>"},{"title":"Draw.setBlendMode","link":"<a href=\"Draw.html#.setBlendMode\">Draw.setBlendMode &rtrif; undefined</a>"},{"title":"Draw.toggleFullscreen","link":"<a href=\"Draw.html#.toggleFullscreen\">Draw.toggleFullscreen &rtrif; undefined</a>"},{"title":"Draw.worldToScreen","link":"<a href=\"Draw.html#.worldToScreen\">Draw.worldToScreen &rtrif; undefined</a>"},{"title":"Input","link":"<a href=\"Input.html\">Input</a>"},{"title":"Input.clearInput","link":"<a href=\"Input.html#.clearInput\">Input.clearInput &rtrif; undefined</a>"},{"title":"Input.gamepadIsDown","link":"<a href=\"Input.html#.gamepadIsDown\">Input.gamepadIsDown &rtrif; undefined</a>"},{"title":"Input.gamepadStick","link":"<a href=\"Input.html#.gamepadStick\">Input.gamepadStick &rtrif; undefined</a>"},{"title":"Input.gamepadWasPressed","link":"<a href=\"Input.html#.gamepadWasPressed\">Input.gamepadWasPressed &rtrif; undefined</a>"},{"title":"Input.gamepadWasReleased","link":"<a href=\"Input.html#.gamepadWasReleased\">Input.gamepadWasReleased &rtrif; undefined</a>"},{"title":"Input.keyIsDown","link":"<a href=\"Input.html#.keyIsDown\">Input.keyIsDown &rtrif; undefined</a>"},{"title":"Input.keyWasPressed","link":"<a href=\"Input.html#.keyWasPressed\">Input.keyWasPressed &rtrif; undefined</a>"},{"title":"Input.keyWasReleased","link":"<a href=\"Input.html#.keyWasReleased\">Input.keyWasReleased &rtrif; undefined</a>"},{"title":"Input.vibrate","link":"<a href=\"Input.html#.vibrate\">Input.vibrate &rtrif; undefined</a>"},{"title":"Input.vibrateStop","link":"<a href=\"Input.html#.vibrateStop\">Input.vibrateStop &rtrif; undefined</a>"},{"title":"Medals","link":"<a href=\"Medals.html\">Medals</a>"},{"title":"Medals.medalsInit","link":"<a href=\"Medals.html#.medalsInit\">Medals.medalsInit &rtrif; undefined</a>"},{"title":"Random","link":"<a href=\"Random.html\">Random</a>"},{"title":"Random.rand","link":"<a href=\"Random.html#.rand\">Random.rand &rtrif; undefined</a>"},{"title":"Random.randColor","link":"<a href=\"Random.html#.randColor\">Random.randColor &rtrif; undefined</a>"},{"title":"Random.randInCircle","link":"<a href=\"Random.html#.randInCircle\">Random.randInCircle &rtrif; undefined</a>"},{"title":"Random.randInt","link":"<a href=\"Random.html#.randInt\">Random.randInt &rtrif; undefined</a>"},{"title":"Random.randSeeded","link":"<a href=\"Random.html#.randSeeded\">Random.randSeeded &rtrif; undefined</a>"},{"title":"Random.randSign","link":"<a href=\"Random.html#.randSign\">Random.randSign &rtrif; undefined</a>"},{"title":"Random.randVector","link":"<a href=\"Random.html#.randVector\">Random.randVector &rtrif; undefined</a>"},{"title":"Settings","link":"<a href=\"Settings.html\">Settings</a>"},{"title":"TileCollision","link":"<a href=\"TileCollision.html\">TileCollision</a>"},{"title":"TileCollision.getTileCollisionData","link":"<a href=\"TileCollision.html#.getTileCollisionData\">TileCollision.getTileCollisionData &rtrif; undefined</a>"},{"title":"TileCollision.initTileCollision","link":"<a href=\"TileCollision.html#.initTileCollision\">TileCollision.initTileCollision &rtrif; undefined</a>"},{"title":"TileCollision.setTileCollisionData","link":"<a href=\"TileCollision.html#.setTileCollisionData\">TileCollision.setTileCollisionData &rtrif; undefined</a>"},{"title":"TileCollision.tileCollisionRaycast","link":"<a href=\"TileCollision.html#.tileCollisionRaycast\">TileCollision.tileCollisionRaycast &rtrif; undefined</a>"},{"title":"TileCollision.tileCollisionTest","link":"<a href=\"TileCollision.html#.tileCollisionTest\">TileCollision.tileCollisionTest &rtrif; undefined</a>"},{"title":"Utilities","link":"<a href=\"Utilities.html\">Utilities</a>"},{"title":"Utilities.abs","link":"<a href=\"Utilities.html#.abs\">Utilities.abs &rtrif; undefined</a>"},{"title":"Utilities.clamp","link":"<a href=\"Utilities.html#.clamp\">Utilities.clamp &rtrif; undefined</a>"},{"title":"Utilities.formatTime","link":"<a href=\"Utilities.html#.formatTime\">Utilities.formatTime &rtrif; undefined</a>"},{"title":"Utilities.isOverlapping","link":"<a href=\"Utilities.html#.isOverlapping\">Utilities.isOverlapping &rtrif; undefined</a>"},{"title":"Utilities.lerp","link":"<a href=\"Utilities.html#.lerp\">Utilities.lerp &rtrif; undefined</a>"},{"title":"Utilities.max","link":"<a href=\"Utilities.html#.max\">Utilities.max &rtrif; undefined</a>"},{"title":"Utilities.min","link":"<a href=\"Utilities.html#.min\">Utilities.min &rtrif; undefined</a>"},{"title":"Utilities.mod","link":"<a href=\"Utilities.html#.mod\">Utilities.mod &rtrif; undefined</a>"},{"title":"Utilities.nearestPowerOfTwo","link":"<a href=\"Utilities.html#.nearestPowerOfTwo\">Utilities.nearestPowerOfTwo &rtrif; undefined</a>"},{"title":"Utilities.percent","link":"<a href=\"Utilities.html#.percent\">Utilities.percent &rtrif; undefined</a>"},{"title":"Utilities.sign","link":"<a href=\"Utilities.html#.sign\">Utilities.sign &rtrif; undefined</a>"},{"title":"Utilities.smoothStep","link":"<a href=\"Utilities.html#.smoothStep\">Utilities.smoothStep &rtrif; undefined</a>"},{"title":"Utilities.vec2","link":"<a href=\"Utilities.html#.vec2\">Utilities.vec2 &rtrif; undefined</a>"},{"title":"Utilities.wave","link":"<a href=\"Utilities.html#.wave\">Utilities.wave &rtrif; undefined</a>"},{"title":"WebGL","link":"<a href=\"WebGL.html\">WebGL</a>"},{"title":"WebGL.glCompileShader","link":"<a href=\"WebGL.html#.glCompileShader\">WebGL.glCompileShader &rtrif; undefined</a>"},{"title":"WebGL.glCopyToContext","link":"<a href=\"WebGL.html#.glCopyToContext\">WebGL.glCopyToContext &rtrif; undefined</a>"},{"title":"WebGL.glCreateBuffer","link":"<a href=\"WebGL.html#.glCreateBuffer\">WebGL.glCreateBuffer &rtrif; undefined</a>"},{"title":"WebGL.glCreateProgram","link":"<a href=\"WebGL.html#.glCreateProgram\">WebGL.glCreateProgram &rtrif; undefined</a>"},{"title":"WebGL.glCreateTexture","link":"<a href=\"WebGL.html#.glCreateTexture\">WebGL.glCreateTexture &rtrif; undefined</a>"},{"title":"WebGL.glDraw","link":"<a href=\"WebGL.html#.glDraw\">WebGL.glDraw &rtrif; undefined</a>"},{"title":"WebGL.glFlush","link":"<a href=\"WebGL.html#.glFlush\">WebGL.glFlush &rtrif; undefined</a>"},{"title":"WebGL.glSetBlendMode","link":"<a href=\"WebGL.html#.glSetBlendMode\">WebGL.glSetBlendMode &rtrif; undefined</a>"},{"title":"WebGL.glSetTexture","link":"<a href=\"WebGL.html#.glSetTexture\">WebGL.glSetTexture &rtrif; undefined</a>"},{"title":"engineFontImage","link":"<a href=\"global.html#engineFontImage\">engineFontImage</a>"},{"title":"engineInit","link":"<a href=\"global.html#engineInit\">engineInit</a>"},{"title":"engineName","link":"<a href=\"global.html#engineName\">engineName</a>"},{"title":"engineObjects","link":"<a href=\"global.html#engineObjects\">engineObjects</a>"},{"title":"engineObjectsCallback","link":"<a href=\"global.html#engineObjectsCallback\">engineObjectsCallback</a>"},{"title":"engineObjectsCollide","link":"<a href=\"global.html#engineObjectsCollide\">engineObjectsCollide</a>"},{"title":"engineObjectsDestroy","link":"<a href=\"global.html#engineObjectsDestroy\">engineObjectsDestroy</a>"},{"title":"engineObjectsUpdate","link":"<a href=\"global.html#engineObjectsUpdate\">engineObjectsUpdate</a>"},{"title":"engineVersion","link":"<a href=\"global.html#engineVersion\">engineVersion</a>"},{"title":"frame","link":"<a href=\"global.html#frame\">frame</a>"},{"title":"frameRate","link":"<a href=\"global.html#frameRate\">frameRate</a>"},{"title":"paused","link":"<a href=\"global.html#paused\">paused</a>"},{"title":"time","link":"<a href=\"global.html#time\">time</a>"},{"title":"timeDelta","link":"<a href=\"global.html#timeDelta\">timeDelta</a>"},{"title":"timeReal","link":"<a href=\"global.html#timeReal\">timeReal</a>"}];
2292
+ var options =
2293
+ setupSearch(list, options)
2294
+ </script>
2295
+
2296
+
2297
+
2298
+
2299
+
2300
+
2301
+
2302
+
2303
+
2304
+
2305
+
2306
+ </body>
2307
+
2308
+ </html>