Shapes

Description
Download
Shapes is a useful library for XNA to generate textures of simple (or not so simple) geometric forms.
It is also helpful for detecting collisions in a 2D Game.
With the Shapes Library comes the Sampler library (v1.0). It manages many Game1.cs like sample classes in a single project.
Download here
Version
Platforms
License
Author
v2.0
  • Windows PC (tested)
  • Xbox360 (not tested)
  • Zune (not tested)
MIT License
means: free for all, but insert a copyright:
© 2009 Liquid Fire Arts

Liquid Fire Arts

Salomon Zwecker

Namespace
Description
LiquidFireArts.Wormhole.Geometry In this namespace are all drawings and shapes
LiquidFireArts.Wormhole.Misc Here are the helper classes: TextureGenerator, Brush, CollisionDetector2D, GeometryTemplates
LiquidFireArts.Sampler This namespace is for the Sampler library. In it are SampleManager and Sample.

Class Diagramm

class diagramm click to view in original size

Screenshots

The following screenshots are showing the samples coming along with the library.

Click at the images to view them in original size.

sample1 sample2 sample3 sample4 sample5

This sample shows how to create some shapes and detect collision using the CollisionDetector2D

Collision between a Shape and an animated SpriteShape

A little Editor to create a ShapeComposition with random generated shapes

Another Editor to edit LineStrips and Polygons

A small Jump'n'Run game created with shapes only

 

Features

Known Problems

Ideas for releases in the future


Sampler

Features