Namespace Fantas
Classes
- Animation
Animation class (Move, Scale, Rotate, Fade...)
- CameraNode
Control which part of the scene is visible in the viewport
- CircleNode
Circle shape node
- ColorExtensions
Contains Color extensions
Implementation code took from Allegro and Troll2D: https://github.com/liballeg/allegro5/blob/master/addons/color/color.c https://github.com/viniciusjarina/troll2d/blob/master/include/troll/color.h
- CropNode
Node to Clip/Crop other nodes
- CurrentSystemPlatform
Current system platform information (Windows, MacOS.. )
- EllipseNode
Ellipse shape node
- Font
Font (TTF font on iOS/tvOS/macOS, and SpriteFont on other platforms)
- Game
Main Game
- LabelNode
Node that contains a text
- MathClamp
Contains helper methods for doing Lerp to make it easier port games from MonoGame to Fantas Some methods imported from XNA/MonoGame MathHelper https://github.com/MonoGame/MonoGame/blob/develop/MonoGame.Framework/MathHelper.cs
- MathLerp
Contains helper methods for doing Lerp to make it easier port games from MonoGame to Fantas Some methods imported from XNA/MonoGame MathHelper https://github.com/MonoGame/MonoGame/blob/develop/MonoGame.Framework/MathHelper.cs
- Node
Base Node for other Nodes
- ParticleEmitterNode
Node that emit particles (like fire, smoke, explosion)
- PointExtension
PointF method extensions
- PolygonNode
Create a polygon shape node
- RandomExtensions
Random extension methods
- RectangleExtensions
RectangleF extension methods
- RectangleNode
Rectangle/Round Rectangle shape node
- Scene
Scene is where all nodes are displayed
- ShapeNode
ShapeNode (Rectangle, Ellipse, Triangle)
- SpriteFrameNode
Frame edge using SpriteNodes
- SpriteLineNode
Create a line as a SpriteNode Drawing a Line using a Sprite can be better for performance reasons since Sprite drawing can be batched.
- SpriteNode
Node that draws a Sprite
- SpritePolylineNode
Polyline made of multiple sprite node lines
- Texture
Texture
- TextureAtlas
A set of Textures grouped You can use Texture atlas when you have a set of textures that need to be loaded together. On old devices this can help to save VRAM, since all only one texture is loaded into the GPU and the small textures are bits of the main texture atlas.
- TileDefinition
Tile Definition Defines a single tile that can be repeated in a tile map
- TileGroup
Tile Group is either a definition for one tile or a collection of Tile Group Rules with adjacency
- TileGroupRule
Rule on how the tile is placed in a tile map
- TileMapNode
Tile Map node.
- TileSet
Contains definitions and group rules to be used in a Tile map
- Time
Get game time information
- Timer
Create timer helper
- TriangleNode
Triangle Node
- Vector2Extensions
Vector2 extension methods
Enums
- AnimationTimingMode
Animation timing modes
- BlendMode
Blend modes operations
- GameOptions
Game Flags used on game creation object
- LabelHorizontalAlignmentMode
Label text horizontal alignment
- LabelVerticalAlignmentMode
Label text vertical alignment
- OutlinePosition
Outline Position Flags
- SceneScaleMode
SceneScale configure how the current Scene will be scaled when the window or view is resized. The resize could happen because the user resized the window or rotated the device
- SystemPlatform
Enumeration to with runtime system platform
- TileAdjacencyMask
Tile Adjacency Mask
- TileDefinitionRotation
Tile rotation types
- TileSetType
Tile Set arrange/geometry
Delegates
- AnimationTimingFunction
Delegate used to customize timing function