
get_logging_widget ( height = '256px', quiet_default_logger = True ) *args – A list of object implementing the load_state() method, to loadĪpp. Will also render the scene once all objects are loaded. Load the state of given game objects from disk. *args – A list of object implementing the save_state() method, to Path ( str, optional) – An explicit path to use for file. Name ( str) – If explicit path is not given, name will be used Save the state of given game objects to disk. save_state ( name, path = None, * args ) Px ( int) – The target size of the rescaled canvas in pixels.
#Spriteright hard drive windows#
This is useful for RL applications since smaller windows render faster. Scale window size so that its biggest dimension (either width or height) The shape H x W x 4 corresponding to an RGBA bitmap image. The content of the game canvas an a Numpy array with Return game canvas content as upside-down-flipped numpy array. Start the default MIDI handler with given sound object as its intrument. Parametersįoo ( function) – The handler to stop running. Interval ( float) – The interval in seconds between frame redraws. Redrawn, otherwise the call will block until the game is done. Immedately with the canvas object on which the game frames will be If the game is run in a Jupyter notebook, the call will return Integer between 10 and 100 for when the Jupyter notebook is Quality ( int) – Quality of game video compression specified as an Resource_dir ( path) – A path to the directory of the game assets. Jupylet choose the appropriate mode automatically. Script, ‘hidden’ for machine learning, or ‘auto’ for let Jupyter notebook, ‘window’ for running the game in a Python Mode ( str) – Game mode can be ‘jupyter’ for running the game in a Height ( int) – The height of the game canvas in pixels. Width ( int) – The width of the game canvas in pixels. App ( width = 512, height = 512, mode = 'auto', resource_dir = '.', quality = None, ** kwargs ) API REFERENCE Module jupylet.app Class App class jupylet.app.
