A library giving greater control over game components and rendering
PseudoGame not only reimplements the game's components to look exactly as the original but also adds options to extend them. Furthermore it provides an advanced rendering system based on custom walls, that allows for all kinds of visual effects to be created.
Modules
PseudoGame.game.collision_handlers | Module containing premade collision handlers for use with the Player class |
PseudoGame.game.common | Some functions that are commonly used in the game logic |
PseudoGame.game.custom_walls | A module that overwrites the cw_ functions to modify a PolygonCollection |
PseudoGame.graphics.effects | a module with some premade visual effects |
PseudoGame.graphics.screen | Module for drawing polygon objects to the screen (by converting them to cw data which is applied on real custom walls in the right render order) |
Scripts
main | this script initializes the library |
Classes
PseudoGame.game.Background | Class representing a game's background |
PseudoGame.game.Cap | Class that represents a game's cap |
PseudoGame.game.DeathEffect | Class to create the blinking hexagonal death effects around a player |
PseudoGame.game.Game | Class that creates and manages all the game components allowing direct access to each component's polygons for transformation |
PseudoGame.game.Pivot | Class that represents a game's pivot |
PseudoGame.game.Player | Class that represents a game's player |
PseudoGame.game.Pseudo3D | Class for creating a pseudo 3d effect for a polygon collection |
PseudoGame.game.Style | Class for storing colors and some other visual settings (it does not do any weird calculations on top of them on its own! (like the normal game's styles do)) |
PseudoGame.game.Timeline | Custom timeline class (it can be used with the game object, but it's disabled by default as it doesn't support increments) |
PseudoGame.game.WallSystem | Class that handles a game's walls |
PseudoGame.graphics.Polygon | Class that represents a simple convex 2D Polygon |
PseudoGame.graphics.PolygonCollection | Class for storing multiple polygons in an efficient manner |