MCPcopy Create free account

hub / github.com/XenonLab-Studio/TerraCraft / functions

Functions129 in github.com/XenonLab-Studio/TerraCraft

Methodkeys
(self)
game/savemanager.py:118
Methodnoise2
2D Perlin simplex noise. Return a floating point value from -1 to 1 for the given x, y coordinate. The same value is always returned
libs/perlin.py:155
Methodnoise3
3D Perlin simplex noise. Return a floating point value from -1 to 1 for the given x, y, z coordinate. The same value is always return
libs/perlin.py:210
Methodnoise3
Tileable 3D noise. repeat specifies the integer interval in each dimension when the noise pattern repeats. base allows a dif
libs/perlin.py:338
Methodon_draw
Event handler for the Window.on_draw event.
game/scenes.py:185
Methodon_draw
Event handler for the Window.on_draw event. Called by pyglet to draw the canvas.
game/scenes.py:705
Methodon_draw
(self)
game/scenes.py:795
Methodon_key_press
Event handler for the Window.on_key_press event.
game/scenes.py:157
Methodon_key_press
Event handler for the Window.on_key_press event. Called when the player presses a key. See pyglet docs for key mappings. Par
game/scenes.py:603
Methodon_key_press
(self, symbol, modifiers)
game/scenes.py:791
Methodon_key_release
Event handler for the Window.on_key_release event. Called when the player releases a key. See pyglet docs for key mappings.
game/scenes.py:663
Methodon_mouse_motion
Event handler for the Window.on_mouse_motion event. Called when the player moves the mouse. Parameters ---------- x,
game/scenes.py:580
Methodon_mouse_press
Event handler for the Window.on_resize event.
game/scenes.py:174
Methodon_mouse_press
Event handler for the Window.on_mouse_press event. Called when a mouse button is pressed. See pyglet docs for button amd modifier map
game/scenes.py:546
Methodon_resize
Event handler for the Window.on_resize event.
game/scenes.py:178
Methodon_sector_received
Called when a part of the world is returned. This is not executed by the main thread. So the result have to be passed to the main thr
game/world.py:258
Methodplay_music
Play a music track, or switch to a new one. :param source: A pyglet audio Source
game/scenes.py:83
Methodprocess_entire_queue
Process the entire queue with no breaks.
game/world.py:543
Methodremove_block
Remove a block from this sector at the `position`. Returns discarded full faces in case.
game/world.py:166
Methodsend_result
(future)
game/genworld.py:152
Methodset_state
(self)
game/graphics.py:94
Methodset_volume
Set the audio volume, as a percentage of 1 to 100. :param percentage: int: The volume, as a percentage.
game/scenes.py:58
Methodunset_state
(self)
game/graphics.py:114
Methodupdate
Update the currently set Scene. This method should be scheduled to be called repeatedly by the pyglet clock. :param dt: floa
game/scenemanager.py:83
Methodupdate
(self, dt)
game/scenes.py:108
Methodupdate
(self, dt)
game/scenes.py:146
Methodupdate
This method is scheduled to be called repeatedly by the pyglet clock. Parameters ---------- dt : float T
game/scenes.py:376
Methodupdate
(self, dt)
game/scenes.py:788
Methodupdate_batch_sector
(self, sector)
game/world.py:396
← previous101–129 of 129, ranked by callers