Module: PseudoGame.game.Pseudo3D

Class for creating a pseudo 3d effect for a polygon collection

Functions

PseudoGame.game.Pseudo3D:new (polygon_collection[, style=level_style]) the constructor for a Pseudo3D object
PseudoGame.game.Pseudo3D:update () function to refill the polygon collection with the a 3d effect (which one is specified in the style)

Fields

pseudogame.game.pseudo3d.style
pseudogame.game.pseudo3d.source_collection
pseudogame.game.pseudo3d.polygon_collection


Functions

🔗 PseudoGame.game.Pseudo3D:new (polygon_collection[, style=level_style])
the constructor for a Pseudo3D object

Parameters:

Name Type(s) Description Default value
polygon_collection PolygonCollection the collection of polygons to create a 3d effect for Not applicable
style Optional Style the style to use (also defines which 3d effect to use) level_style
🔗 PseudoGame.game.Pseudo3D:update ()
function to refill the polygon collection with the a 3d effect (which one is specified in the style)

Fields

🔗 pseudogame.game.pseudo3d.style
Name Type(s) Description
style Style the 3d effect's style
🔗 pseudogame.game.pseudo3d.source_collection
Name Type(s) Description
source_collection PolygonCollection the collection it's making a 3d effect for
🔗 pseudogame.game.pseudo3d.polygon_collection
Name Type(s) Description
polygon_collection PolygonCollection the polygons representing the 3d effect (use this for drawing)
generated by LDoc 1.5.0