![]() |
Gondwana Game Engine
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop, mobile, and web platforms using SkiaSharp for graphics and NAudio for sound.
|
Pixel adjustments applied to a Tile's DrawLocation to produce its collision box. Positive values shrink/expand the collision rect relative to the visual rect. More...
Public Member Functions | |
| CollisionDetectionAdjustment (int top, int bottom, int left, int right) | |
| Initializes a new instance of the CollisionDetectionAdjustment struct with the specified edge adjustments. | |
Static Public Attributes | |
| static readonly CollisionDetectionAdjustment | None = new() |
| Represents a collision detection adjustment with no pixel offsets (all values are zero). | |
Properties | |
| int | Top [get, set] |
| Gets or sets the pixel adjustment applied to the top edge of the collision box. | |
| int | Bottom [get, set] |
| Gets or sets the pixel adjustment applied to the bottom edge of the collision box. | |
| int | Left [get, set] |
| Gets or sets the pixel adjustment applied to the left edge of the collision box. | |
| int | Right [get, set] |
| Gets or sets the pixel adjustment applied to the right edge of the collision box. | |
Pixel adjustments applied to a Tile's DrawLocation to produce its collision box. Positive values shrink/expand the collision rect relative to the visual rect.
| Gondwana.Collisions.CollisionDetectionAdjustment.CollisionDetectionAdjustment | ( | int | top, |
| int | bottom, | ||
| int | left, | ||
| int | right ) |
Initializes a new instance of the CollisionDetectionAdjustment struct with the specified edge adjustments.
| top | The pixel adjustment for the top edge. |
| bottom | The pixel adjustment for the bottom edge. |
| left | The pixel adjustment for the left edge. |
| right | The pixel adjustment for the right edge. |
|
static |
Represents a collision detection adjustment with no pixel offsets (all values are zero).
|
getset |
Gets or sets the pixel adjustment applied to the bottom edge of the collision box.
|
getset |
Gets or sets the pixel adjustment applied to the left edge of the collision box.
|
getset |
Gets or sets the pixel adjustment applied to the right edge of the collision box.
|
getset |
Gets or sets the pixel adjustment applied to the top edge of the collision box.