Table of Contents

Namespace Fantas

Classes

Animation

Animation class (Move, Scale, Rotate, Fade...)

AnimationTimingFunction

Delegate used to customize timing function

AnimationTimingMode

Animation timing modes

Array

Internal Array class to help port to .NET 4

BlendMode

Blend modes operations

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

EllipseNode

Ellipse shape node

FantasActivity

Fantas Android Activity

Font

Font (TTF font on iOS/tvOS/macOS, and SpriteFont on other platforms)

Game

Main Game

GameOptions

Game Flags used on game creation object

InertiaAnimationBuilder
LabelHorizontalAlignmentMode

Label text horizontal alignment

LabelNode

Node that contains a text

LabelVerticalAlignmentMode

Label text vertical alignment

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

OutlinePosition

Outline Position Flags

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

Resource

Android Resource Designer class. Exposes the Android Resource designer assembly into the project Namespace.

Scene

Scene is where all nodes are displayed

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

ShapeNode

ShapeNode (Rectangle, Ellipse, Triangle)

SizeExtensions

RectangleF extension methods

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

SystemPlatform

Enumeration to with runtime system platform

SystemPlatformInformation

System platform information (Windows, MacOS.. )

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.

TileAdjacencyMask

Tile Adjacency Mask

TileDefinition

Tile Definition Defines a single tile that can be repeated in a tile map

TileDefinitionRotation

Tile rotation types

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

TileSetType

Tile Set arrange/geometry

Time

Get game time information

Timer

Create timer helper

TriangleNode

Triangle Node

Vector2Extensions

Vector2 extension methods