Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tobspr-games/shapez.io
/ functions
Functions
2,842 in github.com/tobspr-games/shapez.io
⨍
Functions
2,842
◇
Types & classes
696
Method
renderToHTMLElement
* Renders into an html element * @param {HTMLElement} element * @param {number} w * @param {number} h
src/js/core/sprites.js:288
Method
report
()
src/js/game/hud/parts/puzzle_play_metadata.js:68
Method
requestClose
()
src/js/game/hud/parts/unlock_notification.js:128
Method
requestImportSavegame
* Asks the user to import a savegame
src/js/states/main_menu.js:249
Method
requireAll
(...args)
src/js/core/explained_result.js:31
Method
rerenderVariants
* Rerenders the variants displayed
src/js/game/hud/parts/building_placer.js:177
Method
reseed
* Re-seeds the generator * @param {number|string} seed
src/js/core/rng.js:80
Method
resetBindings
()
src/js/states/keybindings.js:171
Method
resetPuzzle
()
src/js/game/hud/parts/puzzle_editor_settings.js:71
Method
resetPuzzle
()
src/js/game/hud/parts/puzzle_play_settings.js:36
Function
resizeCanvas
(canvas, w, h, setStyle = true)
src/js/core/dpi_manager.js:85
Function
resizeCanvasAndClear
(canvas, context, w, h)
src/js/core/dpi_manager.js:106
Method
rotateBlueprint
* Attempts to rotate the current blueprint
src/js/game/hud/parts/blueprint_placer.js:165
Function
rotateDirectionalObject
(obj, rotation)
src/js/core/utils.js:637
Method
rotateInplaceFastMultipleOf90
* Rotates this vector * @param {number} angle * @returns {Vector} this vector
src/js/core/vector.js:455
Method
runBeforeMethod
* Runs before a method on a given class * @template {constructable} C the class * @template {C["prototype"]} P the prototype of said class
src/js/mods/mod_interface.js:468
Method
savedGames
()
src/js/states/main_menu.js:513
Function
scriptFail
(error)
gulp/bundle-loader.js:84
Method
serialize
()
src/js/game/shape_definition.js:109
Method
serialize
()
src/js/game/items/shape_item.js:17
Method
serialize
()
src/js/game/items/boolean_item.js:16
Method
serialize
* Serializes the pinned shapes
src/js/game/hud/parts/pinned_shapes.js:46
Method
serialize
* Serializes the waypoints
src/js/game/hud/parts/waypoints.js:72
Method
serialize
* Serializes a given raw value * @param {any} value * @abstract
src/js/savegame/serialization_data_types.js:53
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:146
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:181
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:221
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:268
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:303
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:337
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:380
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:429
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:465
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:549
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:593
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:657
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:742
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:794
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:863
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:919
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:980
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:1030
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:1098
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:1150
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:1219
Method
serialize
(value)
src/js/savegame/serialization_data_types.js:1278
Method
serializeSimple
* Creates a simple representation of the vector
src/js/core/vector.js:628
Method
serializeTile
* Serializes the vector to a string * @returns {string}
src/js/core/vector.js:621
Method
serializeTileToInt
* @returns {number}
src/js/core/vector.js:635
Method
setFullscreen
(flag)
src/js/platform/electron/wrapper.js:105
Method
setIsHoveredClass
* Actually sets the 'hovered' class * @param {boolean} isHovered
src/js/game/hud/dynamic_dom_attach.js:86
Method
setLastUpdate
* Updates the last update field so we can send the savegame to the server, * WITHOUT Saving!
src/js/savegame/savegame.js:258
Method
setLeft
* Sets the left side of the rect without scaling it * @param {number} left
src/js/core/rectangle.js:169
Method
setPan
* Sets the camera pan, every frame the camera will move by this amount * @param {Vector} pan
src/js/game/camera.js:163
Method
setSaveImportance
(importance)
src/js/game/automatic_save.js:27
Method
setSeed
* Updates the seed * @param {number} seed
src/js/core/rng.js:126
Method
setSilent
(value)
src/js/core/tracked_state.js:32
Method
setSpeed
(speed)
src/js/game/time/game_time.js:180
Method
setTileContent
* Sets the tiles content * @param {Vector} tile * @param {Entity} entity
src/js/game/map.js:214
Method
setTop
* Sets the top side of the rect without scaling it * @param {number} top
src/js/core/rectangle.js:159
Method
setUserContext
* Sets the player name for analytics * @param {string} userName
src/js/platform/analytics.js:25
Method
setUserContext
(userName)
src/js/platform/browser/google_analytics.js:16
Method
setVolume
(volume)
src/js/platform/browser/sound.js:161
Method
setupEntityComponents
(entity)
mod_examples/notification_blocks.js:136
Method
setupEntityComponents
(entity)
mod_examples/add_building_flipper.js:77
Method
setupEntityComponents
(entity)
mod_examples/add_building_basic.js:35
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/stacker.js:58
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/balancer.js:146
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/item_producer.js:34
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/storage.js:55
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/display.js:46
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/analyzer.js:59
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/constant_signal.js:58
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/miner.js:79
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/comparator.js:52
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/cutter.js:86
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/filter.js:63
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/wire.js:137
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/mixer.js:58
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/wire_tunnel.js:64
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/virtual_processor.js:179
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/block.js:38
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/reader.js:64
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/underground_belt.js:186
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/constant_producer.js:42
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/logic_gate.js:163
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/trash.js:73
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/goal_acceptor.js:42
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/transistor.js:85
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/rotater.js:113
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/painter.js:118
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/belt.js:134
Method
setupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/lever.js:51
Method
share
()
src/js/game/hud/parts/puzzle_play_metadata.js:63
Method
shouldPauseGame
* Should return false if the game should be paused * @returns {boolean}
src/js/game/hud/base_hud_part.js:64
Method
shouldPauseGame
()
src/js/game/hud/parts/settings_menu.js:71
Method
shouldPauseGame
()
src/js/game/hud/parts/modal_dialogs.js:37
Method
shouldPauseGame
()
src/js/game/hud/parts/tutorial_hints.js:35
Method
shouldPauseRendering
* Should return true if the widget has a modal dialog opened and thus * the game does not need to update / redraw * @returns {boolean}
src/js/game/hud/base_hud_part.js:56
Method
shouldPauseRendering
()
src/js/game/hud/parts/settings_menu.js:75
← previous
next →
2,601–2,700 of 2,842, ranked by callers