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
↓ 11 callers
Method
setRestitution
(r)
BookSourceCode/chapter9/9.9.physics_presets/src/engine/rigid_shapes/rigid_shape.js:62
↓ 11 callers
Method
setSize
(width, height)
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/utils/transform.js:38
↓ 11 callers
Method
setSize
(width, height)
BookSourceCode/chapter11/11.3.layer_manager/src/engine/utils/transform.js:38
↓ 11 callers
Method
size
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/game_objects/game_object_set.js:14
↓ 11 callers
Method
size
()
BookSourceCode/chapter9/9.9.physics_presets/src/engine/game_objects/game_object_set.js:14
↓ 11 callers
Method
size
* Returns the number of GameObjects contained in this GameObjectSet * @method * @returns {integer} the length of this set
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/game_objects/game_object_set.js:25
↓ 11 callers
Method
size
* Returns the number of GameObjects contained in this GameObjectSet * @method * @returns {integer} the length of this set
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/game_objects/game_object_set.js:25
↓ 11 callers
Method
size
* Returns the number of GameObjects contained in this GameObjectSet * @method * @returns {integer} the length of this set
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/game_objects/game_object_set.js:25
↓ 11 callers
Method
size
* Returns the number of GameObjects contained in this GameObjectSet * @method * @returns {integer} the length of this set
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/game_objects/game_object_set.js:25
↓ 11 callers
Function
u
(a)
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/docs/out/scripts/prettify/prettify.js:9
↓ 11 callers
Function
u
(a)
AdditionalMaterials/Tutorials/scripts/prettify/prettify.js:9
↓ 11 callers
Function
u
(a)
AdditionalMaterials/Documentation/scripts/prettify/prettify.js:9
↓ 11 callers
Method
unload
()
BookSourceCode/chapter7/7.4.multiple_cameras/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter7/7.2.camera_interpolations/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter7/7.5.mouse_input/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter7/7.1.camera_manipulations/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter7/7.3.camera_shake_and_object_oscillate/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter5/5.4.font_support/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter6/6.5.general_pixel_collisions/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter6/6.2.front_and_chase/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter6/6.1.game_objects/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter6/6.4.per_pixel_collisions/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter6/6.6.sprite_pixel_collisions/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
BookSourceCode/chapter6/6.3.bbox_and_collisions/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
AdditionalMaterials/ExtraExamples/5.5.multi-_texture_investigation/texture_renderable_with_two_textures_(5.4)/src/engine/scene.js:43
↓ 11 callers
Method
unload
()
AdditionalMaterials/ExtraExamples/Winter-2023-ControllerAPI-Bhardwaj_DeGuia_Le/src/engine/scene.js:43
↓ 10 callers
Method
_getElm
(tagElm)
BookSourceCode/chapter12/src/adventures_of_dye/util/scene_file_parser.js:31
↓ 10 callers
Method
cleanUp
()
BookSourceCode/chapter5/5.3.sprite_animate_shaders/src/engine/shaders/sprite_shader.js:45
↓ 10 callers
Method
cleanUp
()
BookSourceCode/chapter5/5.2.sprite_shaders/src/engine/shaders/sprite_shader.js:45
↓ 10 callers
Method
getCenter
()
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/cameras/camera_state.js:19
↓ 10 callers
Method
getCenter
* Returns the vec2 linear interpolation object for the center of this Camera * @method * @returns {LerpVec2} a vec2 linear inperolation obje
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/cameras/camera_state.js:35
↓ 10 callers
Method
getLightAt
(index)
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/lights/light_set.js:14
↓ 10 callers
Function
getNumControllers
()
AdditionalMaterials/ExtraExamples/Winter-2023-ControllerAPI-Bhardwaj_DeGuia_Le/src/engine/input.js:379
↓ 10 callers
Method
getPosition
()
BookSourceCode/chapter7/7.6.not_used_line_support/src/engine/utils/transform.js:18
↓ 10 callers
Method
getPosition
()
BookSourceCode/chapter8/8.1.global_ambient/src/engine/utils/transform.js:18
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter11/11.1.tiled_objects/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
* Returns the rotation of this Transform in radians * @method * @returns {float} mRotationInRad - the rotation of this Transform in radians
BookSourceCode/chapter12/src/engine/utils/transform.js:227
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.4.rectangle_and_circle_collisions/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.2.circle_collisions_and_collision_info/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.9.physics_presets/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.1.rigid_shapes_and_bounds/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.3.rectangle_collisions/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.8.collision_angular_resolution/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.6.collision_position_correction/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.5.rigid_shape_movements/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter9/9.7.collision_resolution/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter10/10.2.particle_collisions/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
()
BookSourceCode/chapter10/10.1.particles/src/engine/utils/transform.js:68
↓ 10 callers
Method
getRotationInRad
* Returns the rotation of this Transform in radians * @method * @returns {float} mRotationInRad - the rotation of this Transform in radians
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/utils/transform.js:227
↓ 10 callers
Method
getRotationInRad
* Returns the rotation of this Transform in radians * @method * @returns {float} mRotationInRad - the rotation of this Transform in radians
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/utils/transform.js:227
↓ 10 callers
Method
getRotationInRad
* Returns the rotation of this Transform in radians * @method * @returns {float} mRotationInRad - the rotation of this Transform in radians
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/utils/transform.js:227
↓ 10 callers
Method
getRotationInRad
* Returns the rotation of this Transform in radians * @method * @returns {float} mRotationInRad - the rotation of this Transform in radians
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/utils/transform.js:227
↓ 10 callers
Method
getWCCenter
()
BookSourceCode/chapter7/7.2.camera_interpolations/src/engine/cameras/camera_main.js:50
↓ 10 callers
Method
getXPos
* Returns the x world coordinate position of this Transform * @method * @returns {float} mPosition[0] - the x world coordinate position of t
BookSourceCode/chapter12/src/engine/utils/transform.js:63
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter7/7.4.multiple_cameras/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter7/7.6.not_used_line_support/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter7/7.2.camera_interpolations/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter7/7.5.mouse_input/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter7/7.1.camera_manipulations/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter7/7.3.camera_shake_and_object_oscillate/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter11/11.2.parallax_objects/src/engine/game_objects/game_object.js:20
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/game_objects/game_object.js:20
↓ 10 callers
Method
getXform
* Returns the Transform of the Renderable associated with this GameObject * @instance * @returns {Transform} the Transform of this GameObjec
BookSourceCode/chapter12/src/engine/game_objects/game_object.js:35
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.6.directional_and_spotlights/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.1.global_ambient/src/engine/renderables/renderable.js:26
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.1.global_ambient/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.4.normal_map_and_illumination_shaders/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.3.multiple_lights/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.5.material_and_specularity/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.2.simple_light_shader/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter8/8.7.shadow_shaders/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter6/6.5.general_pixel_collisions/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
BookSourceCode/chapter6/6.6.sprite_pixel_collisions/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
()
AdditionalMaterials/ExtraExamples/8.3.a.patterned-light/src/engine/game_objects/game_object.js:18
↓ 10 callers
Method
getXform
* Returns the Transform of the Renderable associated with this GameObject * @instance * @returns {Transform} the Transform of this GameObjec
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/game_objects/game_object.js:35
↓ 10 callers
Method
getXform
* Returns the Transform of the Renderable associated with this GameObject * @instance * @returns {Transform} the Transform of this GameObjec
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/game_objects/game_object.js:35
↓ 10 callers
Method
getXform
* Returns the Transform of the Renderable associated with this GameObject * @instance * @returns {Transform} the Transform of this GameObjec
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/game_objects/game_object.js:35
↓ 10 callers
Method
getXform
* Returns the Transform of the Renderable associated with this GameObject * @instance * @returns {Transform} the Transform of this GameObjec
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/game_objects/game_object.js:35
↓ 10 callers
Method
init
()
BookSourceCode/chapter11/11.3.layer_manager/src/engine/scene.js:41
↓ 10 callers
Method
init
* To initialize the level, called from loop.start(), * should be overriden by subclass * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/public/src/engine/scene.js:66
↓ 10 callers
Method
init
* To initialize the level, called from loop.start(), * should be overriden by subclass * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/squares/public/src/engine/scene.js:66
↓ 10 callers
Method
init
* To initialize the level, called from loop.start(), * should be overriden by subclass * @method
AdditionalMaterials/ExtraExamples/Winter-2024-NetworkAPI-Albright_Rigby_Taniguchi/examples/zombies/public/src/engine/scene.js:66
↓ 10 callers
Method
init
* To initialize the level, called from loop.start(), * should be overriden by subclass * @method
AdditionalMaterials/Tutorials/Tutorial-Source/src/engine/scene.js:66
↓ 10 callers
Method
load
()
BookSourceCode/chapter8/8.3.multiple_lights/src/engine/scene.js:42
↓ 10 callers
Method
load
()
BookSourceCode/chapter8/8.2.simple_light_shader/src/engine/scene.js:42
↓ 10 callers
Method
load
()
AdditionalMaterials/ExtraExamples/8.3.a.patterned-light/src/engine/scene.js:42
↓ 10 callers
Method
setAnimationSpeed
* Set how many update calls before advancing the animation of this SpriteAnimateRenderable * @method * @param {integer} tickInterval - anima
BookSourceCode/chapter12/src/engine/renderables/sprite_animate_renderable.js:123
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.4.rectangle_and_circle_collisions/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.2.circle_collisions_and_collision_info/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.1.rigid_shapes_and_bounds/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.3.rectangle_collisions/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.8.collision_angular_resolution/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.6.collision_position_correction/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.5.rigid_shape_movements/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter9/9.7.collision_resolution/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter10/10.2.particle_collisions/src/engine/lights/light.js:37
↓ 10 callers
Method
setColor
(c)
BookSourceCode/chapter10/10.3.particle_emitters/src/engine/lights/light.js:37
← previous
next →
401–500 of 16,774, ranked by callers