Difference between revisions of "User:Cyanox"

Line 13: Line 13:
  
 
== Types ==
 
== Types ==
{{#ask: [[Category:Types]] [[parent::love.graphics]] [[Concept:Current]]
+
{{#ask: [[Category:Types]] [[parent::love.graphics]] [[Concept:CurrentTest]]
 
| headers=hide
 
| headers=hide
 
| format=template
 
| format=template
Line 25: Line 25:
 
== Functions ==
 
== Functions ==
 
=== Drawing ===
 
=== Drawing ===
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Drawing]]
+
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:CurrentTest]] [[Sub-Category::Drawing]]
 
| headers=hide
 
| headers=hide
 
| limit=2000
 
| limit=2000
Line 37: Line 37:
 
}}
 
}}
 
=== Object Creation ===
 
=== Object Creation ===
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Object Creation]]
+
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:CurrentTest]] [[Sub-Category::Object Creation]]
 
| headers=hide
 
| headers=hide
 
| limit=2000
 
| limit=2000
Line 49: Line 49:
 
}}
 
}}
 
=== Graphics State ===
 
=== Graphics State ===
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::State]]
+
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:CurrentTest]] [[Sub-Category::State]]
 
| headers=hide
 
| headers=hide
 
| limit=2000
 
| limit=2000
Line 61: Line 61:
 
}}
 
}}
 
=== Coordinate System ===
 
=== Coordinate System ===
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Coordinate System]]
+
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:CurrentTest]] [[Sub-Category::Coordinate System]]
 
| headers=hide
 
| headers=hide
 
| limit=2000
 
| limit=2000
Line 73: Line 73:
 
}}
 
}}
 
=== Window ===
 
=== Window ===
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Window]]
+
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:CurrentTest]] [[Sub-Category::Window]]
 
| headers=hide
 
| headers=hide
 
| limit=2000
 
| limit=2000
Line 85: Line 85:
 
}}
 
}}
 
== Enums ==
 
== Enums ==
{{#ask: [[Category:Enums]] [[parent::love.graphics]] [[Concept:Current]]
+
{{#ask: [[Category:Enums]] [[parent::love.graphics]] [[Concept:CurrentTest]]
 
| headers=hide
 
| headers=hide
 
| format=template
 
| format=template

Revision as of 13:01, 31 March 2013

Using this as personal SandBox mostly ;)

The primary responsibility for the love.graphics module is the drawing of lines, shapes, text, Images and other Drawable objects onto the screen. Its secondary responsibilities include loading external files (including Images and Fonts) into memory, creating specialized objects (such as ParticleSystems or Canvases) and managing screen geometry.

LÖVE's coordinate system is rooted in the upper-left corner of the screen, which is at location (0, 0). The x axis is horizontal: larger values are further to the right. The y axis is vertical: larger values are further towards the bottom.

The LÖVE coordinate system

In many cases, you draw images or shapes in terms of their upper-left corner (See the picture above).

Many of the functions are used to manipulate the graphics coordinate system, which is essentially the the way coordinates are mapped to the display. You can change the position, scale, and even rotation in this way.


Types

Functions

Drawing

Object Creation

Graphics State

Coordinate System

Window

Enums

See Also

Other Languages