Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/build-your-own-2d-game-engine-2e
/ functions
Functions
16,774 in github.com/Apress/build-your-own-2d-game-engine-2e
⨍
Functions
16,774
◇
Types & classes
3,590
↓ 19 callers
Method
addLight
* Add a Light object to this LightRenderable's list * @method * @param {Light} l - the Light object to add
BookSourceCode/chapter12/src/engine/renderables/light_renderable.js:67
↓ 19 callers
Method
cleanUp
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/shaders/sprite_shader.js:45
↓ 19 callers
Method
getXPos
()
AdditionalMaterials/ExtraExamples/Winter-2023-ControllerAPI-Bhardwaj_DeGuia_Le/src/engine/transform.js:19
↓ 19 callers
Method
getXform
()
BookSourceCode/chapter6/6.6.sprite_pixel_collisions/src/engine/renderables/renderable.js:26
↓ 19 callers
Method
getYPos
()
AdditionalMaterials/ExtraExamples/Winter-2023-ControllerAPI-Bhardwaj_DeGuia_Le/src/engine/transform.js:22
↓ 18 callers
Method
addLight
* Add a Light object to this LightRenderable's list * @method * @param {Light} l - the Light object to add
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/renderables/light_renderable.js:67
↓ 18 callers
Method
cleanUp
* Delete the texture coordinate buffer and clean up the resources * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/shaders/sprite_shader.js:67
↓ 18 callers
Method
cleanUp
* Delete the texture coordinate buffer and clean up the resources * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/shaders/sprite_shader.js:67
↓ 18 callers
Method
cleanUp
* Delete the texture coordinate buffer and clean up the resources * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/shaders/sprite_shader.js:67
↓ 18 callers
Method
cleanUp
* Delete the texture coordinate buffer and clean up the resources * @method
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/shaders/sprite_shader.js:67
↓ 18 callers
Method
getXform
()
BookSourceCode/chapter6/6.5.general_pixel_collisions/src/engine/renderables/renderable.js:26
↓ 18 callers
Method
getXform
()
BookSourceCode/chapter6/6.4.per_pixel_collisions/src/engine/renderables/renderable.js:26
↓ 18 callers
Method
unload
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/scene.js:43
↓ 18 callers
Method
unload
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/scene.js:43
↓ 18 callers
Method
unload
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/scene.js:43
↓ 18 callers
Method
unload
* Unload all the loaded resources, * should be overriden by subclass * @method *
BookSourceCode/chapter12/src/engine/scene.js:81
↓ 18 callers
Method
unload
()
BookSourceCode/chapter10/10.2.particle_collisions/src/engine/scene.js:43
↓ 18 callers
Method
unload
()
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/scene.js:43
↓ 18 callers
Method
unload
()
BookSourceCode/chapter10/10.1.particles/src/engine/scene.js:43
↓ 18 callers
Method
unload
* Unload all the loaded resources, * should be overriden by subclass * @method *
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/scene.js:81
↓ 18 callers
Method
unload
* Unload all the loaded resources, * should be overriden by subclass * @method *
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/scene.js:81
↓ 18 callers
Method
unload
* Unload all the loaded resources, * should be overriden by subclass * @method *
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/scene.js:81
↓ 18 callers
Method
unload
* Unload all the loaded resources, * should be overriden by subclass * @method *
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/scene.js:81
↓ 17 callers
Method
cleanUp
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/shaders/sprite_shader.js:45
↓ 17 callers
Method
cleanUp
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/shaders/sprite_shader.js:45
↓ 17 callers
Method
cleanUp
()
BookSourceCode/chapter10/10.2.particle_collisions/src/engine/shaders/sprite_shader.js:45
↓ 17 callers
Method
cleanUp
()
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/shaders/sprite_shader.js:45
↓ 17 callers
Method
cleanUp
()
BookSourceCode/chapter10/10.1.particles/src/engine/shaders/sprite_shader.js:45
↓ 17 callers
Method
getInvMass
()
BookSourceCode/chapter9/9.9.physics_presets/src/engine/rigid_shapes/rigid_shape.js:43
↓ 17 callers
Method
getWCCenter
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/cameras/camera_main.js:78
↓ 17 callers
Method
getWCCenter
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/cameras/camera_main.js:78
↓ 17 callers
Method
getWCCenter
* Returns the center world coordinates for this Camera * @method * @returns {vec2} The center world coordinates
BookSourceCode/chapter12/src/engine/cameras/camera_main.js:110
↓ 17 callers
Method
getWCCenter
* Returns the center world coordinates for this Camera * @method * @returns {vec2} The center world coordinates
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/cameras/camera_main.js:110
↓ 17 callers
Method
getWCCenter
* Returns the center world coordinates for this Camera * @method * @returns {vec2} The center world coordinates
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/cameras/camera_main.js:110
↓ 17 callers
Method
getWCCenter
* Returns the center world coordinates for this Camera * @method * @returns {vec2} The center world coordinates
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/cameras/camera_main.js:110
↓ 17 callers
Method
getWCCenter
* Returns the center world coordinates for this Camera * @method * @returns {vec2} The center world coordinates
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/cameras/camera_main.js:110
↓ 17 callers
Method
size
* Returns the number of GameObjects contained in this GameObjectSet * @method * @returns {integer} the length of this set
BookSourceCode/chapter12/src/engine/game_objects/game_object_set.js:25
↓ 17 callers
Method
start
* Asynchronous method to start this scene in accordance with the GameLoop * @method
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/scene.js:33
↓ 16 callers
Method
addToSet
(light)
BookSourceCode/chapter9/9.9.physics_presets/src/engine/lights/light_set.js:18
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter8/8.7.shadow_shaders/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.4.rectangle_and_circle_collisions/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.2.circle_collisions_and_collision_info/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.9.physics_presets/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.1.rigid_shapes_and_bounds/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.3.rectangle_collisions/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.8.collision_angular_resolution/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.6.collision_position_correction/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.5.rigid_shape_movements/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
cleanUp
()
BookSourceCode/chapter9/9.7.collision_resolution/src/engine/shaders/sprite_shader.js:45
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
* Returns the inverse mass of this RigidShape * @method * @returns {float} mInvMass - the inverse mass
BookSourceCode/chapter12/src/engine/rigid_shapes/rigid_shape.js:66
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter9/9.8.collision_angular_resolution/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter10/10.2.particle_collisions/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
()
BookSourceCode/chapter10/10.1.particles/src/engine/rigid_shapes/rigid_shape.js:43
↓ 16 callers
Method
getInvMass
* Returns the inverse mass of this RigidShape * @method * @returns {float} mInvMass - the inverse mass
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/rigid_shapes/rigid_shape.js:66
↓ 16 callers
Method
getInvMass
* Returns the inverse mass of this RigidShape * @method * @returns {float} mInvMass - the inverse mass
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/rigid_shapes/rigid_shape.js:66
↓ 16 callers
Method
getInvMass
* Returns the inverse mass of this RigidShape * @method * @returns {float} mInvMass - the inverse mass
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/rigid_shapes/rigid_shape.js:66
↓ 16 callers
Method
getInvMass
* Returns the inverse mass of this RigidShape * @method * @returns {float} mInvMass - the inverse mass
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/rigid_shapes/rigid_shape.js:66
↓ 16 callers
Method
getRenderable
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/game_objects/game_object.js:32
↓ 16 callers
Method
getRenderable
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/game_objects/game_object.js:32
↓ 16 callers
Method
getRenderable
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/game_objects/game_object.js:32
↓ 16 callers
Method
getRenderable
()
BookSourceCode/chapter8/8.7.shadow_shaders/src/engine/game_objects/game_object.js:34
↓ 16 callers
Method
getXform
()
BookSourceCode/chapter5/5.4.font_support/src/engine/renderables/renderable.js:26
↓ 16 callers
Method
setColor
* Set the color of the light for this Light * @param {vec4} c - [R,G,B,A] color array
BookSourceCode/chapter12/src/engine/lights/light.js:54
↓ 16 callers
Method
unload
()
BookSourceCode/chapter8/8.7.shadow_shaders/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.4.rectangle_and_circle_collisions/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.2.circle_collisions_and_collision_info/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.9.physics_presets/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.1.rigid_shapes_and_bounds/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.3.rectangle_collisions/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.8.collision_angular_resolution/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.6.collision_position_correction/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.5.rigid_shape_movements/src/engine/scene.js:43
↓ 16 callers
Method
unload
()
BookSourceCode/chapter9/9.7.collision_resolution/src/engine/scene.js:43
↓ 15 callers
Method
getContainer
* Returns the managed `GameStateContainer`. * @method * @returns {GameStateContainer}
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/multiplayer/gamestate.js:299
↓ 15 callers
Method
getRenderable
()
BookSourceCode/chapter8/8.5.material_and_specularity/src/engine/game_objects/game_object.js:34
↓ 15 callers
Method
getWCCenter
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/cameras/camera_main.js:78
↓ 15 callers
Function
k
(a,m)
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/docs/out/scripts/prettify/prettify.js:15
↓ 15 callers
Function
k
(a,m)
AdditionalMaterials/Tutorials/scripts/prettify/prettify.js:15
↓ 15 callers
Function
k
(a,m)
AdditionalMaterials/Documentation/scripts/prettify/prettify.js:15
↓ 15 callers
Method
load
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/scene.js:42
↓ 15 callers
Method
load
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/scene.js:42
↓ 15 callers
Method
load
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/scene.js:42
↓ 15 callers
Method
load
* Load the necessary resources, * should be overriden by subclass * @method
BookSourceCode/chapter12/src/engine/scene.js:73
↓ 15 callers
Method
load
()
BookSourceCode/chapter10/10.2.particle_collisions/src/engine/scene.js:42
↓ 15 callers
Method
load
()
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/scene.js:42
↓ 15 callers
Method
load
()
BookSourceCode/chapter10/10.1.particles/src/engine/scene.js:42
↓ 15 callers
Method
load
* Load the necessary resources, * should be overriden by subclass * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/scene.js:73
↓ 15 callers
Method
load
* Load the necessary resources, * should be overriden by subclass * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/scene.js:73
↓ 15 callers
Method
load
* Load the necessary resources, * should be overriden by subclass * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/scene.js:73
↓ 15 callers
Method
load
* Load the necessary resources, * should be overriden by subclass * @method
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/scene.js:73
↓ 15 callers
Method
setColor
* Set the color of the light for this Light * @param {vec4} c - [R,G,B,A] color array
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/lights/light.js:54
↓ 15 callers
Method
setViewAndCameraMatrix
* Initializes the camera to begin drawing * @method
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/cameras/camera_main.js:190
↓ 15 callers
Method
setXPos
* Set the X world coordinate position of this Light * @method * @param {float} x - new X position
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/lights/light.js:72
↓ 14 callers
Method
cleanUp
()
BookSourceCode/chapter8/8.6.directional_and_spotlights/src/engine/shaders/sprite_shader.js:45
↓ 14 callers
Method
cleanUp
()
BookSourceCode/chapter8/8.4.normal_map_and_illumination_shaders/src/engine/shaders/sprite_shader.js:45
↓ 14 callers
Method
cleanUp
()
BookSourceCode/chapter8/8.5.material_and_specularity/src/engine/shaders/sprite_shader.js:45
← previous
next →
101–200 of 16,774, ranked by callers